JadeXMLElement Class

The JadeXMLElement class represents an XML element in a document tree. An element can have attributes, child nodes, and textual content. For an example of using methods defined in the JadeXMLElement class to create an XML document, see "Creating XML Tree Documents", in Chapter 12 of the JADE Developer’s Reference.

As the getAllElementsByTagNameNS and getAllElementsByTagName methods scan sequentially to locate all requested elements, they always return requested elements in document sequence. To improve performance, you can use the findAllElementsByNameNS and findAllElementsByTagName methods to retrieve elements more directly through a collection, using the collection sequence. JADE fully supports the use of a mixture of the document and collection sequence methods to locate the requested elements. The find methods may locate the elements in a different sequence from the get methods.

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.

For details about the properties and methods defined in the JadeXMLElement class, see "JadeXMLElement Properties" and "JadeXMLElement Methods", in the following sections.

JadeXMLNode

(None)