XmlDocument

Overview

Location

 

constructor

 

constructor(aNode: XObject)

 

XmlDocument(XObject aNode)

 

init(_ aNode: XObject)

 

XmlDocument(XObject aNode)

Parameters:

  • aNode:

AddChild

 

method AddChild(Node: XmlNode)

 

void AddChild(XmlNode Node)

 

func AddChild(_ Node: XmlNode)

 

void AddChild(XmlNode Node)

Parameters:

  • Node:

ChildCount    (declared in XmlNode)

 

property ChildCount: Int32 read;

 

Int32 ChildCount { get; }

 

var ChildCount: Int32 { get{} }

 

Int32 ChildCount { __get; }

ChildNodes    (declared in XmlNode)

 

property ChildNodes: array of XmlNode read;

 

XmlNode[] ChildNodes { get; }

 

var ChildNodes: XmlNode... { get{} }

 

XmlNode[] ChildNodes { __get; }

CreateAttribute (String): XmlAttribute

 

method CreateAttribute(Name: String): XmlAttribute

 

XmlAttribute CreateAttribute(String Name)

 

func CreateAttribute(_ Name: String) -> XmlAttribute

 

XmlAttribute CreateAttribute(String Name)

Parameters:

  • Name:

CreateAttribute (String, String): XmlAttribute

 

method CreateAttribute(QualifiedName: String; NamespaceUri: String): XmlAttribute

 

XmlAttribute CreateAttribute(String QualifiedName, String NamespaceUri)

 

func CreateAttribute(_ QualifiedName: String, _ NamespaceUri: String) -> XmlAttribute

 

XmlAttribute CreateAttribute(String QualifiedName, String NamespaceUri)

Parameters:

  • QualifiedName:
  • NamespaceUri:

CreateCDataSection

 

method CreateCDataSection(Data: String): XmlCDataSection

 

XmlCDataSection CreateCDataSection(String Data)

 

func CreateCDataSection(_ Data: String) -> XmlCDataSection

 

XmlCDataSection CreateCDataSection(String Data)

Parameters:

  • Data:

CreateComment

 

method CreateComment(Data: String): XmlComment

 

XmlComment CreateComment(String Data)

 

func CreateComment(_ Data: String) -> XmlComment

 

XmlComment CreateComment(String Data)

Parameters:

  • Data:

CreateCompatibleNode  protected    (declared in XmlNode)

 

class method CreateCompatibleNode(Node: XNode): XmlNode

 

static XmlNode CreateCompatibleNode(XNode Node)

 

static func CreateCompatibleNode(_ Node: XNode) -> XmlNode

 

static XmlNode CreateCompatibleNode(XNode Node)

Parameters:

  • Node:

CreateDocument

 

class method CreateDocument: not nullable XmlDocument

 

static XmlDocument! CreateDocument()

 

static func CreateDocument() -> XmlDocument

 

static XmlDocument! CreateDocument()

CreateElement (String): XmlElement

 

method CreateElement(Name: String): XmlElement

 

XmlElement CreateElement(String Name)

 

func CreateElement(_ Name: String) -> XmlElement

 

XmlElement CreateElement(String Name)

Parameters:

  • Name:

CreateElement (String, String): XmlElement

 

method CreateElement(QualifiedName: String; NamespaceUri: String): XmlElement

 

XmlElement CreateElement(String QualifiedName, String NamespaceUri)

 

func CreateElement(_ QualifiedName: String, _ NamespaceUri: String) -> XmlElement

 

XmlElement CreateElement(String QualifiedName, String NamespaceUri)

Parameters:

  • QualifiedName:
  • NamespaceUri:

CreateProcessingInstruction

 

method CreateProcessingInstruction(Target: String; Data: String): XmlProcessingInstruction

 

XmlProcessingInstruction CreateProcessingInstruction(String Target, String Data)

 

func CreateProcessingInstruction(_ Target: String, _ Data: String) -> XmlProcessingInstruction

 

XmlProcessingInstruction CreateProcessingInstruction(String Target, String Data)

Parameters:

  • Target:
  • Data:

CreateTextNode

 

method CreateTextNode(Data: String): XmlText

 

XmlText CreateTextNode(String Data)

 

func CreateTextNode(_ Data: String) -> XmlText

 

XmlText CreateTextNode(String Data)

Parameters:

  • Data:

CreateXmlNs

 

method CreateXmlNs(Prefix: String; NamespaceUri: String): XmlAttribute

 

XmlAttribute CreateXmlNs(String Prefix, String NamespaceUri)

 

func CreateXmlNs(_ Prefix: String, _ NamespaceUri: String) -> XmlAttribute

 

XmlAttribute CreateXmlNs(String Prefix, String NamespaceUri)

Parameters:

  • Prefix:
  • NamespaceUri:

Document    (declared in XmlNode)

 

property Document: XmlDocument read;

 

XmlDocument Document { get; }

 

var Document: XmlDocument { get{} }

 

XmlDocument Document { __get; }

DocumentElement

 

property DocumentElement: XmlElement read;

 

XmlElement DocumentElement { get; }

 

var DocumentElement: XmlElement { get{} }

 

XmlElement DocumentElement { __get; }

DocumentType

 

property DocumentType: XmlDocumentType read;

 

XmlDocumentType DocumentType { get; }

 

var DocumentType: XmlDocumentType { get{} }

 

XmlDocumentType DocumentType { __get; }

Element

 

property Element[Name: String]: XmlElement read;

 

XmlElement Element[String Name] { get; }

 

subscript Element(_ Name: String) -> XmlElement { get{} }

 

XmlElement Element[String Name] { __get; }

Equals    (declared in XmlNode)

 

method Equals(obj: Object): Boolean

 

Boolean Equals(Object obj)

 

func Equals(_ obj: Object) -> Boolean

 

Boolean Equals(Object obj)

Parameters:

  • obj:

FirstChild    (declared in XmlNode)

 

property FirstChild: XmlNode read;

 

XmlNode FirstChild { get; }

 

var FirstChild: XmlNode { get{} }

 

XmlNode FirstChild { __get; }

FromBinary

 

class method FromBinary(aBinary: Binary): not nullable XmlDocument

 

static XmlDocument! FromBinary(Binary aBinary)

 

static func FromBinary(_ aBinary: Binary) -> XmlDocument

 

static XmlDocument! FromBinary(Binary aBinary)

Parameters:

  • aBinary:

FromFile

 

class method FromFile(aFile: File): not nullable XmlDocument

 

static XmlDocument! FromFile(File aFile)

 

static func FromFile(_ aFile: File) -> XmlDocument

 

static XmlDocument! FromFile(File aFile)

Parameters:

  • aFile:

FromString

 

class method FromString(aString: String): not nullable XmlDocument

 

static XmlDocument! FromString(String aString)

 

static func FromString(_ aString: String) -> XmlDocument

 

static XmlDocument! FromString(String aString)

Parameters:

  • aString:

GetElementsByTagName (String): array of XmlElement

 

method GetElementsByTagName(Name: String): array of XmlElement

 

XmlElement[] GetElementsByTagName(String Name)

 

func GetElementsByTagName(_ Name: String) -> XmlElement...

 

XmlElement[] GetElementsByTagName(String Name)

Parameters:

  • Name:

GetElementsByTagName (String, String): array of XmlElement

 

method GetElementsByTagName(LocalName: String; NamespaceUri: String): array of XmlElement

 

XmlElement[] GetElementsByTagName(String LocalName, String NamespaceUri)

 

func GetElementsByTagName(_ LocalName: String, _ NamespaceUri: String) -> XmlElement...

 

XmlElement[] GetElementsByTagName(String LocalName, String NamespaceUri)

Parameters:

  • LocalName:
  • NamespaceUri:

Item    (declared in XmlNode)

 

property Item[Index: Int32]: XmlNode read;

 

XmlNode Item[Int32 Index] { get; }

 

subscript Item(_ Index: Int32) -> XmlNode { get{} }

 

XmlNode Item[Int32 Index] { __get; }

LastChild    (declared in XmlNode)

 

property LastChild: XmlNode read;

 

XmlNode LastChild { get; }

 

var LastChild: XmlNode { get{} }

 

XmlNode LastChild { __get; }

LocalName    (declared in XmlNode)

 

property LocalName: String read;

 

String LocalName { get; }

 

var LocalName: String { get{} }

 

String LocalName { __get; }

Name    (declared in XmlNode)

 

property Name: String read;

 

String Name { get; }

 

var Name: String { get{} }

 

String Name { __get; }

NextSibling    (declared in XmlNode)

 

property NextSibling: XmlNode read;

 

XmlNode NextSibling { get; }

 

var NextSibling: XmlNode { get{} }

 

XmlNode NextSibling { __get; }

Node  protected    (declared in XmlNode)

 

property Node: XObject read;

 

XObject Node { get; }

 

var Node: XObject { get{} }

 

XObject Node { __get; }

NodeType

 

property NodeType: XmlNodeType read;

 

XmlNodeType NodeType { get; }

 

var NodeType: XmlNodeType { get{} }

 

XmlNodeType NodeType { __get; }

OwnerDocument    (declared in XmlNode)

 

property OwnerDocument: XmlDocument read;

 

XmlDocument OwnerDocument { get; }

 

var OwnerDocument: XmlDocument { get{} }

 

XmlDocument OwnerDocument { __get; }

Parent    (declared in XmlNode)

 

property Parent: XmlNode read;

 

XmlNode Parent { get; }

 

var Parent: XmlNode { get{} }

 

XmlNode Parent { __get; }

PreviousSibling    (declared in XmlNode)

 

property PreviousSibling: XmlNode read;

 

XmlNode PreviousSibling { get; }

 

var PreviousSibling: XmlNode { get{} }

 

XmlNode PreviousSibling { __get; }

RemoveChild

 

method RemoveChild(Node: XmlNode)

 

void RemoveChild(XmlNode Node)

 

func RemoveChild(_ Node: XmlNode)

 

void RemoveChild(XmlNode Node)

Parameters:

  • Node:

ReplaceChild

 

method ReplaceChild(Node: XmlNode; WithNode: XmlNode)

 

void ReplaceChild(XmlNode Node, XmlNode WithNode)

 

func ReplaceChild(_ Node: XmlNode, _ WithNode: XmlNode)

 

void ReplaceChild(XmlNode Node, XmlNode WithNode)

Parameters:

  • Node:
  • WithNode:

Save (File)

 

method Save(aFile: File)

 

void Save(File aFile)

 

func Save(_ aFile: File)

 

void Save(File aFile)

Parameters:

  • aFile:

 

method Save(aFile: File; Version: String; Encoding: String; Standalone: Boolean)

 

void Save(File aFile, String Version, String Encoding, Boolean Standalone)

 

func Save(_ aFile: File, _ Version: String, _ Encoding: String, _ Standalone: Boolean)

 

void Save(File aFile, String Version, String Encoding, Boolean Standalone)

Parameters:

  • aFile:
  • Version:
  • Encoding:
  • Standalone:

 

method Save(aFile: File; XmlDeclaration: XmlDocumentDeclaration)

 

void Save(File aFile, XmlDocumentDeclaration XmlDeclaration)

 

func Save(_ aFile: File, _ XmlDeclaration: XmlDocumentDeclaration)

 

void Save(File aFile, XmlDocumentDeclaration XmlDeclaration)

Parameters:

  • aFile:
  • XmlDeclaration:

ToString    (declared in XmlNode)

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

Value    (declared in XmlNode)

 

property Value: String read write;

 

String Value { get; set; }

 

var Value: String { get{} set{} }

 

String Value { __get; __set; }

 

ChildCount    (declared in XmlNode)

 

property ChildCount: Int32 read;

 

Int32 ChildCount { get; }

 

var ChildCount: Int32 { get{} }

 

Int32 ChildCount { __get; }

ChildNodes    (declared in XmlNode)

 

property ChildNodes: array of XmlNode read;

 

XmlNode[] ChildNodes { get; }

 

var ChildNodes: XmlNode... { get{} }

 

XmlNode[] ChildNodes { __get; }

Document    (declared in XmlNode)

 

property Document: XmlDocument read;

 

XmlDocument Document { get; }

 

var Document: XmlDocument { get{} }

 

XmlDocument Document { __get; }

DocumentElement

 

property DocumentElement: XmlElement read;

 

XmlElement DocumentElement { get; }

 

var DocumentElement: XmlElement { get{} }

 

XmlElement DocumentElement { __get; }

DocumentType

 

property DocumentType: XmlDocumentType read;

 

XmlDocumentType DocumentType { get; }

 

var DocumentType: XmlDocumentType { get{} }

 

XmlDocumentType DocumentType { __get; }

Element

 

property Element[Name: String]: XmlElement read;

 

XmlElement Element[String Name] { get; }

 

subscript Element(_ Name: String) -> XmlElement { get{} }

 

XmlElement Element[String Name] { __get; }

FirstChild    (declared in XmlNode)

 

property FirstChild: XmlNode read;

 

XmlNode FirstChild { get; }

 

var FirstChild: XmlNode { get{} }

 

XmlNode FirstChild { __get; }

Item    (declared in XmlNode)

 

property Item[Index: Int32]: XmlNode read;

 

XmlNode Item[Int32 Index] { get; }

 

subscript Item(_ Index: Int32) -> XmlNode { get{} }

 

XmlNode Item[Int32 Index] { __get; }

LastChild    (declared in XmlNode)

 

property LastChild: XmlNode read;

 

XmlNode LastChild { get; }

 

var LastChild: XmlNode { get{} }

 

XmlNode LastChild { __get; }

LocalName    (declared in XmlNode)

 

property LocalName: String read;

 

String LocalName { get; }

 

var LocalName: String { get{} }

 

String LocalName { __get; }

Name    (declared in XmlNode)

 

property Name: String read;

 

String Name { get; }

 

var Name: String { get{} }

 

String Name { __get; }

NextSibling    (declared in XmlNode)

 

property NextSibling: XmlNode read;

 

XmlNode NextSibling { get; }

 

var NextSibling: XmlNode { get{} }

 

XmlNode NextSibling { __get; }

Node  protected    (declared in XmlNode)

 

property Node: XObject read;

 

XObject Node { get; }

 

var Node: XObject { get{} }

 

XObject Node { __get; }

NodeType

 

property NodeType: XmlNodeType read;

 

XmlNodeType NodeType { get; }

 

var NodeType: XmlNodeType { get{} }

 

XmlNodeType NodeType { __get; }

OwnerDocument    (declared in XmlNode)

 

property OwnerDocument: XmlDocument read;

 

XmlDocument OwnerDocument { get; }

 

var OwnerDocument: XmlDocument { get{} }

 

XmlDocument OwnerDocument { __get; }

Parent    (declared in XmlNode)

 

property Parent: XmlNode read;

 

XmlNode Parent { get; }

 

var Parent: XmlNode { get{} }

 

XmlNode Parent { __get; }

PreviousSibling    (declared in XmlNode)

 

property PreviousSibling: XmlNode read;

 

XmlNode PreviousSibling { get; }

 

var PreviousSibling: XmlNode { get{} }

 

XmlNode PreviousSibling { __get; }

Value    (declared in XmlNode)

 

property Value: String read write;

 

String Value { get; set; }

 

var Value: String { get{} set{} }

 

String Value { __get; __set; }

 

CreateCompatibleNode  protected    (declared in XmlNode)

 

class method CreateCompatibleNode(Node: XNode): XmlNode

 

static XmlNode CreateCompatibleNode(XNode Node)

 

static func CreateCompatibleNode(_ Node: XNode) -> XmlNode

 

static XmlNode CreateCompatibleNode(XNode Node)

Parameters:

  • Node:

CreateDocument

 

class method CreateDocument: not nullable XmlDocument

 

static XmlDocument! CreateDocument()

 

static func CreateDocument() -> XmlDocument

 

static XmlDocument! CreateDocument()

FromBinary

 

class method FromBinary(aBinary: Binary): not nullable XmlDocument

 

static XmlDocument! FromBinary(Binary aBinary)

 

static func FromBinary(_ aBinary: Binary) -> XmlDocument

 

static XmlDocument! FromBinary(Binary aBinary)

Parameters:

  • aBinary:

FromFile

 

class method FromFile(aFile: File): not nullable XmlDocument

 

static XmlDocument! FromFile(File aFile)

 

static func FromFile(_ aFile: File) -> XmlDocument

 

static XmlDocument! FromFile(File aFile)

Parameters:

  • aFile:

FromString

 

class method FromString(aString: String): not nullable XmlDocument

 

static XmlDocument! FromString(String aString)

 

static func FromString(_ aString: String) -> XmlDocument

 

static XmlDocument! FromString(String aString)

Parameters:

  • aString:

 

constructor

 

constructor(aNode: XObject)

 

XmlDocument(XObject aNode)

 

init(_ aNode: XObject)

 

XmlDocument(XObject aNode)

Parameters:

  • aNode:

AddChild

 

method AddChild(Node: XmlNode)

 

void AddChild(XmlNode Node)

 

func AddChild(_ Node: XmlNode)

 

void AddChild(XmlNode Node)

Parameters:

  • Node:

CreateAttribute (String): XmlAttribute

 

method CreateAttribute(Name: String): XmlAttribute

 

XmlAttribute CreateAttribute(String Name)

 

func CreateAttribute(_ Name: String) -> XmlAttribute

 

XmlAttribute CreateAttribute(String Name)

Parameters:

  • Name:

CreateAttribute (String, String): XmlAttribute

 

method CreateAttribute(QualifiedName: String; NamespaceUri: String): XmlAttribute

 

XmlAttribute CreateAttribute(String QualifiedName, String NamespaceUri)

 

func CreateAttribute(_ QualifiedName: String, _ NamespaceUri: String) -> XmlAttribute

 

XmlAttribute CreateAttribute(String QualifiedName, String NamespaceUri)

Parameters:

  • QualifiedName:
  • NamespaceUri:

CreateCDataSection

 

method CreateCDataSection(Data: String): XmlCDataSection

 

XmlCDataSection CreateCDataSection(String Data)

 

func CreateCDataSection(_ Data: String) -> XmlCDataSection

 

XmlCDataSection CreateCDataSection(String Data)

Parameters:

  • Data:

CreateComment

 

method CreateComment(Data: String): XmlComment

 

XmlComment CreateComment(String Data)

 

func CreateComment(_ Data: String) -> XmlComment

 

XmlComment CreateComment(String Data)

Parameters:

  • Data:

CreateElement (String): XmlElement

 

method CreateElement(Name: String): XmlElement

 

XmlElement CreateElement(String Name)

 

func CreateElement(_ Name: String) -> XmlElement

 

XmlElement CreateElement(String Name)

Parameters:

  • Name:

CreateElement (String, String): XmlElement

 

method CreateElement(QualifiedName: String; NamespaceUri: String): XmlElement

 

XmlElement CreateElement(String QualifiedName, String NamespaceUri)

 

func CreateElement(_ QualifiedName: String, _ NamespaceUri: String) -> XmlElement

 

XmlElement CreateElement(String QualifiedName, String NamespaceUri)

Parameters:

  • QualifiedName:
  • NamespaceUri:

CreateProcessingInstruction

 

method CreateProcessingInstruction(Target: String; Data: String): XmlProcessingInstruction

 

XmlProcessingInstruction CreateProcessingInstruction(String Target, String Data)

 

func CreateProcessingInstruction(_ Target: String, _ Data: String) -> XmlProcessingInstruction

 

XmlProcessingInstruction CreateProcessingInstruction(String Target, String Data)

Parameters:

  • Target:
  • Data:

CreateTextNode

 

method CreateTextNode(Data: String): XmlText

 

XmlText CreateTextNode(String Data)

 

func CreateTextNode(_ Data: String) -> XmlText

 

XmlText CreateTextNode(String Data)

Parameters:

  • Data:

CreateXmlNs

 

method CreateXmlNs(Prefix: String; NamespaceUri: String): XmlAttribute

 

XmlAttribute CreateXmlNs(String Prefix, String NamespaceUri)

 

func CreateXmlNs(_ Prefix: String, _ NamespaceUri: String) -> XmlAttribute

 

XmlAttribute CreateXmlNs(String Prefix, String NamespaceUri)

Parameters:

  • Prefix:
  • NamespaceUri:

Equals    (declared in XmlNode)

 

method Equals(obj: Object): Boolean

 

Boolean Equals(Object obj)

 

func Equals(_ obj: Object) -> Boolean

 

Boolean Equals(Object obj)

Parameters:

  • obj:

GetElementsByTagName (String): array of XmlElement

 

method GetElementsByTagName(Name: String): array of XmlElement

 

XmlElement[] GetElementsByTagName(String Name)

 

func GetElementsByTagName(_ Name: String) -> XmlElement...

 

XmlElement[] GetElementsByTagName(String Name)

Parameters:

  • Name:

GetElementsByTagName (String, String): array of XmlElement

 

method GetElementsByTagName(LocalName: String; NamespaceUri: String): array of XmlElement

 

XmlElement[] GetElementsByTagName(String LocalName, String NamespaceUri)

 

func GetElementsByTagName(_ LocalName: String, _ NamespaceUri: String) -> XmlElement...

 

XmlElement[] GetElementsByTagName(String LocalName, String NamespaceUri)

Parameters:

  • LocalName:
  • NamespaceUri:

RemoveChild

 

method RemoveChild(Node: XmlNode)

 

void RemoveChild(XmlNode Node)

 

func RemoveChild(_ Node: XmlNode)

 

void RemoveChild(XmlNode Node)

Parameters:

  • Node:

ReplaceChild

 

method ReplaceChild(Node: XmlNode; WithNode: XmlNode)

 

void ReplaceChild(XmlNode Node, XmlNode WithNode)

 

func ReplaceChild(_ Node: XmlNode, _ WithNode: XmlNode)

 

void ReplaceChild(XmlNode Node, XmlNode WithNode)

Parameters:

  • Node:
  • WithNode:

Save (File)

 

method Save(aFile: File)

 

void Save(File aFile)

 

func Save(_ aFile: File)

 

void Save(File aFile)

Parameters:

  • aFile:

 

method Save(aFile: File; Version: String; Encoding: String; Standalone: Boolean)

 

void Save(File aFile, String Version, String Encoding, Boolean Standalone)

 

func Save(_ aFile: File, _ Version: String, _ Encoding: String, _ Standalone: Boolean)

 

void Save(File aFile, String Version, String Encoding, Boolean Standalone)

Parameters:

  • aFile:
  • Version:
  • Encoding:
  • Standalone:

 

method Save(aFile: File; XmlDeclaration: XmlDocumentDeclaration)

 

void Save(File aFile, XmlDocumentDeclaration XmlDeclaration)

 

func Save(_ aFile: File, _ XmlDeclaration: XmlDocumentDeclaration)

 

void Save(File aFile, XmlDocumentDeclaration XmlDeclaration)

Parameters:

  • aFile:
  • XmlDeclaration:

ToString    (declared in XmlNode)

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()