Libraries
Xmldom Source Code
 previous   up   next 

Types
xmlNode
Interface type to represent XML nodes.
xmlBaseNode
Base implementation type for xmlNode.
xmlText
xmlNode implementation type representing text content.
xmlElement
xmlNode implementation type representing an XML element.
xmlContainer
xmlNode implementation type representing an XML element with subnodes.

xmlNode

const type: xmlNode

Interface type to represent XML nodes.


xmlBaseNode

const type: xmlBaseNode

Base implementation type for xmlNode.


xmlText

const type: xmlText

xmlNode implementation type representing text content.


xmlElement

const type: xmlElement

xmlNode implementation type representing an XML element.


xmlContainer

const type: xmlContainer

xmlNode implementation type representing an XML element with subnodes.


Function Summary
string
getAttrValue (in xmlNode: aNode, in string: attrName)
Get the value of a specified attribute.
attrHashType
getAttributes (in xmlNode: aNode)
Get the attributes of a node as hash table.
array xmlNode
getSubNodes (in xmlNode: aNode)
Get the sub-nodes of a given node.
string
getContent (in xmlNode: aNode)
Get the content of a given node.
xmlNode
readXml (inout file: inFile)
Read an XML file.
xmlNode
readXml (in string: xmlStri)
Read XML data from a string.

Function Detail

getAttrValue

const func string: getAttrValue (in xmlNode: aNode, in string: attrName)

Get the value of a specified attribute.


getAttributes

const func attrHashType: getAttributes (in xmlNode: aNode)

Get the attributes of a node as hash table.


getSubNodes

const func array xmlNode: getSubNodes (in xmlNode: aNode)

Get the sub-nodes of a given node.


getContent

const func string: getContent (in xmlNode: aNode)

Get the content of a given node.


readXml

const func xmlNode: readXml (inout file: inFile)

Read an XML file.

Returns:
an xmlNode containing the contents of the XML file.

readXml

const func xmlNode: readXml (in string: xmlStri)

Read XML data from a string.

Returns:
an xmlNode containing the contents of the XML string.


 previous   up   next