Options
All
  • Public
  • Public/Protected
  • All
Menu

Class XmlNode

Represents an XML node.

Hierarchy

  • XmlNode

Index

Constructors

constructor

  • Parameters

    Returns XmlNode

Properties

Readonly children

children: Stringable[]

Methods

addAttribute

  • addAttribute(name: string, value: any): XmlNode
  • Parameters

    • name: string
    • value: any

    Returns XmlNode

addChildNode

  • Parameters

    Returns XmlNode

removeAttribute

  • removeAttribute(name: string): XmlNode
  • Parameters

    • name: string

    Returns XmlNode

toString

  • toString(): string
  • Returns string

withName

  • Parameters

    • name: string

    Returns XmlNode