iTP Active Transaction Pages (iTP ATP) Programmer's Guide
XML for ATP Add-On Module
iTP Active Transaction Pages (iTP ATP) Programmer’s Guide—522292-002
5-17
DOMDocument Object
Table 5-5 specifies the common methods of the DOMDocument object.
parseError Returns an XMLDOMParseError Object that contains
information about the last parsing error.
preserveWhiteSpace Specifies true if default processing preserves white space;
false otherwise.
validateOnParse Indicates whether the parser should validate this document.
Table 5-5. DOMDocument Object Methods
Method Description
createAttribute Creates an attribute node (XMLDOMAttribute Object) of the
given name.
createCDATASection Creates a CDATA Section node (XMLDOMCDATASection
Object) whose value is the specified string.
createComment Creates a Comment node (XMLDOMComment Object) given
the specified string.
createDocumentFragment Creates an empty document fragment node
(XMLDOMDocumentFragment Object).
createElement Creates an element of the type specified.
createEntityReference Creates an entity reference node (XMLDOMEntityReference
Object).
createNode Creates a node using the supplied type, name, and namespace.
createProcessingInstruction Creates a processing instruction node
(XMLDOMProcessingInstruction Object) given the specified
name and data string.
createTextNode Creates a text node (XMLDOMText Object) given the
specified string.
getElementsByTagName Returns an XMLDOM node list (XMLDOMNodeList Object)
of all the elements with a given tag name.
load Loads an XML document from the specified location.
loadXML Loads an XML document using the supplied string.
nodeFromID Returns the node whose ID attribute matches the supplied
value.
save Saves an XML document to the specified location.
Table 5-4. DOMDocument Object Properties (page 2 of 2)
Property Description