JadeXMLDocument Class
The
The properties defined in the JadeXMLDocument class are summarized in the following table.
Property | Description |
---|---|
|
Document type of the document |
|
End-of-line separator for output |
|
Indentation string for output |
|
Specifies whether extra whitespace is discarded |
|
Specifies whether the XML declaration is output |
|
Root element of the document |
The methods defined in the
Method | Description |
---|---|
|
Creates and adds a comment |
|
Adds a comment object |
|
Creates and adds a document type |
|
Adds a document type object |
|
Creates and adds an element |
|
Creates and adds an element with a namespace URI |
|
Adds an element object |
|
Adds an element object with a namespace URI |
|
Creates and adds a processing instruction |
|
Adds a processing instruction object |
|
Returns an element with the specified namespace URI and local name |
|
Returns an element with the specified tag name |
|
Fills an array with all elements in the document with the specified namespace URI and local name |
|
Fills an array with all elements in the document with the specified tag name |
|
Returns the first element with the specified tag name |
|
Returns the first element with the specified namespace URI and local name |
|
Fills an array with all elements in the document with the specified tag name |
|
Fills an array with all elements in the document with the specified namespace URI and local name |
|
Parses an XML document file |
|
Parses an XML document string |
|
Writes the XML representation of the document to a file |
For details, see "
As the
The collection sequence methods provide a performance boost only if a localName or tagName parameter value is explicitly specified in the calling parameters. If you specify "*" in the localName or tagName parameter, the access method reverts to the functionality and performance of the document sequence methods to locate the requested elements.