XmlDocument

Return to Introduction  Previous page  Next page

Returned by the system.xml.loadDocument(filename) or system.xml.createDocument() functions.

 

Properties

 

firstChild

Returns the first child of this node as an XmlNode.

nextSibling

Returns the next sibling node of this node as an XmlNode.

parent

Returns the parent node of this node as an XmlNode.

 

Methods

 

selectSingle(query)

Uses the query string as an XSL pattern query and returns an XmlNode if found, or null if not found.

save(filename)

Saves the document to the given filename.

addChild(name)

Adds a new node at the top level of the document with the given name, and returns it's XmlNode.

 

Examples

 

See the system.xml description for a full XML example.

 

See Also

 

Script Reference



Copyright ©2004 Worldweaver Ltd. DX Studio Home