JadeXMLDocument Methods
The methods defined in the JadeXMLDocument class are summarized in the following table.
Method | Description |
---|---|
addComment | Creates and adds a comment |
addCommentObject | Adds a comment object |
addDocumentType | Creates and adds a document type |
addDocumentTypeObject | Adds a document type object |
addElement | Creates and adds an element |
addElementNS | Creates and adds an element with a namespace |
addElementObject | Adds an element object |
addElementObjectNS | Adds an element object with a namespace |
addProcessingInstruction | Creates and adds a processing instruction |
addProcessingInstructionObject | Adds a processing instruction object |
findElementByNameNS | Returns an element with the specified namespace URI and local name |
findElementByTagName | Returns an element with the specified tag name |
findElementsByNameNS | Fills an array with all elements in the document with the specified namespace URI and local name |
findElementsByTagName | Fills an array with all elements in the document with the specified tag name |
getElementByTagName | Returns the first element with the specified tag name |
getElementByTagNameNS | Returns the first element with the specified namespace URI and local name |
getElementsByTagName | Fills an array with all elements in the document with the specified tag name |
getElementsByTagNameNS | Fills an array with all elements in the document with the specified namespace URI and local name |
parseFile | Parses an XML document file |
parseString | Parses an XML document string |
setFileEncoding | Sets the file kind and unicodeBOM to be used |
writeToFile | Writes the XML representation of the document to a file |