Class XmlDocument

Index

Properties

Methods

Properties

public attributes: XmlNamedNodeMap

public childNodes: XmlNodeList

public doctype: XmlDocumentType

public documentElement: XmlElement

public documentUri: string

public firstChild: IXmlNode

public implementation: XmlDomImplementation

public innerText: string

public lastChild: IXmlNode

public localName: any

public namespaceUri: any

public nextSibling: IXmlNode

public nodeName: string

public nodeType: NodeType

public nodeValue: any

public ownerDocument: XmlDocument

public parentNode: IXmlNode

public prefix: any

public previousSibling: IXmlNode

Methods

public appendChild(newChild: IXmlNode): IXmlNode

Parameters

Returns

IXmlNode

public cloneNode(deep: boolean): IXmlNode

Parameters

  • deep: boolean

Returns

IXmlNode

public createAttribute(name: string): XmlAttribute

Parameters

  • name: string

Returns

XmlAttribute

public createAttributeNS(namespaceUri: any, qualifiedName: string): XmlAttribute

Parameters

  • namespaceUri: any
  • qualifiedName: string

Returns

XmlAttribute

public createCDataSection(data: string): XmlCDataSection

Parameters

  • data: string

Returns

XmlCDataSection

public createComment(data: string): XmlComment

Parameters

  • data: string

Returns

XmlComment

public createDocumentFragment(): XmlDocumentFragment

Returns

XmlDocumentFragment

public createElement(tagName: string): XmlElement

Parameters

  • tagName: string

Returns

XmlElement

public createElementNS(namespaceUri: any, qualifiedName: string): XmlElement

Parameters

  • namespaceUri: any
  • qualifiedName: string

Returns

XmlElement

public createEntityReference(name: string): XmlEntityReference

Parameters

  • name: string

Returns

XmlEntityReference

public createProcessingInstruction(target: string, data: string): XmlProcessingInstruction

Parameters

  • target: string
  • data: string

Returns

XmlProcessingInstruction

public createTextNode(data: string): XmlText

Parameters

  • data: string

Returns

XmlText

public getElementById(elementId: string): XmlElement

Parameters

  • elementId: string

Returns

XmlElement

public getElementsByTagName(tagName: string): XmlNodeList

Parameters

  • tagName: string

Returns

XmlNodeList

public getXml(): string

Returns

string

public hasChildNodes(): boolean

Returns

boolean

public importNode(node: IXmlNode, deep: boolean): IXmlNode

Parameters

Returns

IXmlNode

public insertBefore(newChild: IXmlNode, referenceChild: IXmlNode): IXmlNode

Parameters

Returns

IXmlNode

public static loadFromFileAsync(file: IStorageFile): IAsyncOperation

Parameters

Returns

IAsyncOperation

public static loadFromFileAsync(file: IStorageFile, loadSettings: XmlLoadSettings): IAsyncOperation

Parameters

Returns

IAsyncOperation

public static loadFromUriAsync(uri: Uri): IAsyncOperation

Parameters

Returns

IAsyncOperation

public static loadFromUriAsync(uri: Uri, loadSettings: XmlLoadSettings): IAsyncOperation

Parameters

Returns

IAsyncOperation

public loadXml(xml: string)

Parameters

  • xml: string

public loadXml(xml: string, loadSettings: XmlLoadSettings)

Parameters

public normalize()

public removeChild(childNode: IXmlNode): IXmlNode

Parameters

Returns

IXmlNode

public replaceChild(newChild: IXmlNode, referenceChild: IXmlNode): IXmlNode

Parameters

Returns

IXmlNode

public saveToFileAsync(file: IStorageFile): IAsyncAction

Parameters

Returns

IAsyncAction

public selectNodes(xpath: string): XmlNodeList

Parameters

  • xpath: string

Returns

XmlNodeList

public selectNodesNS(xpath: string, namespaces: any): XmlNodeList

Parameters

  • xpath: string
  • namespaces: any

Returns

XmlNodeList

public selectSingleNode(xpath: string): IXmlNode

Parameters

  • xpath: string

Returns

IXmlNode

public selectSingleNodeNS(xpath: string, namespaces: any): IXmlNode

Parameters

  • xpath: string
  • namespaces: any

Returns

IXmlNode