| addNamespace(Object) | Adds a namespace to the set of in-scope namespaces for the XML object. |
| appendChild(Object) | Appends the specified child to the end of the object’s properties. |
| attribute(String) | Returns the attribute associated with this XML object that is identified by the specified name. |
| attributes() | Returns an XMList of the attributes in this XML Object. |
| child(Object) | Returns the children of the XML object based on the specified property name. |
| childIndex() | Identifies the zero-based index of this XML object within the context of its parent, or -1 if this object has no parent. |
| children() | Returns an XMLList containing the children of this XML object, maintaing the sequence in which they appear. |
| comments() | Returns the properties of the XML object that contain comments. |
| contains(XML) | Returns true if this XML object contains the specified XML object, false otherwise. |
| copy() | Returns a copy of the this XML object including duplicate copies of the entire tree of nodes. |
| static defaultSettings() | Returns a new Object with the following properties set to the default values: ignoreComments, ignoreProcessingInstructions, ignoreWhitespace, prettyIndent, and prettyPrinting. |
| descendants() | Returns all descendents of the XML object. |
| descendants(String) | Returns all descendents of the XML object that have the specified name parameter. |
| elements() | Returns a list of all of the elements of the XML object. |
| elements(Object) | Returns a list of the elements of the XML object using the specified name to constrain the list. |
| hasComplexContent() | Returns a Boolean value indicating whether this XML object contains complex content. |
| hasOwnProperty(String) | Returns a Boolean value indicating whether this object has the property specified by prop. |
| hasSimpleContent() | Returns a Boolean value indicating whether this XML object contains simple content. |
| inScopeNamespaces() | Returns an Array of Namespace objects representing the namespaces in scope for this XML object in the context of its parent. |
| insertChildAfter(Object, Object) | Inserts the specified child2 after the specified child1 in this XML object and returns this XML object. |
| insertChildBefore(Object, Object) | Inserts the specified child2 before the specified child1 in this XML object and returns this XML object. |
| length() | Returns a value of 1 for XML objects. |
| localName() | Returns the local name portion of the qualified name of the XML object. |
| name() | Returns the qualified name for the XML object. |
| namespace() | Returns the namespace associated with the qualified name of this XML object. |
| namespace(String) | Returns the namespace that matches the specified prefix and that is in scope for the XML object. |
| namespaceDeclarations() | Returns an Array of namespace declarations associated with the XML Obnject in the context of its parent. |
| nodeKind() | Returns the type of the XML object, such as text, comment, processing-instruction, or attribute. |
| normalize() | Merges adjacent text nodes and eliminates and eliminates empty text nodes for this XML object and all its descendents. |
| parent() | Returns the parent of the XML object or null if the XML object does not have a parent. |
| prependChild(Object) | Inserts the specified child into this XML object prior to its existing XML properties and then returns this XML object. |
| processingInstructions() | Returns an XMLList containing all the children of this XML object that are processing-instructions. |
| processingInstructions(String) | Returns an XMLList containing all the children of this XML object that are processing-instructions with the specified name. |
| propertyIsEnumerable(String) | Returns a Boolean indicating whether the specified property will be included in the set of properties iterated over when this XML object is used in a for..in statement. |
| removeNamespace(Namespace) | Removes the specified namespace from the in scope namespaces of this object and all its descendents, then returns a copy of this XML object. |
| replace(String, Object) | Replaces the XML properties of this XML object specified by propertyName with value and returns this updated XML object. |
| setChildren(Object) | Replaces the XML properties of this XML object with a new set of XML properties from value. |
| setLocalName(String) | Replaces the local name of this XML object with a string constructed from the specified name. |
| setName(String) | Replaces the name of this XML object with a QName or AttributeName constructed from the specified name. |
| setNamespace(Namespace) | Replaces the namespace associated with the name of this XML object with the specified namespace. |
| static setSettings() | Restores the default settings for the following XML properties: - XML.ignoreComments = true
- XML.ignoreProcessingInstructions = true
- XML.ignoreWhitespace = true
- XML.prettyIndent = 2
- XML.prettyPrinting = true
|
| static setSettings(Object) | Updates the collection of global XML properties: ignoreComments, ignoreProcessingInstructions, ignoreWhitespace, prettyPrinting, prettyIndent, and prettyPrinting. |
| static settings() | Returns the collection of global XML properties: ignoreComments, ignoreProcessingInstructions, ignoreWhitespace, prettyPrinting, prettyIndent, and prettyPrinting. |
| text() | Returns an XMLList containing all XML properties of this XML object that represent XML text nodes. |
| toString() | Returns the String representation of the XML object. |
| toXMLString() | Returns a XML-encoded String representation of the XML object, including tag and attributed delimiters. |
| valueOf() | Returns this XML object. |