Object | +-XMLNode public class XMLNode extends Object
An XML document is represented in Flash by the XML class. Each element of the hierarchical document is represented by an XMLNode object.
hasXMLSocket (capabilities.hasXMLSocket property)
|
Modifiers |
Property |
Description |
|---|---|---|
|
|
An object containing all of the attributes of the specified XML instance. |
|
|
|
childNodes:Array [read-only] |
An array of the specified XML object's children. |
|
|
firstChild:XMLNode [read-only] |
Evaluates the specified XML object and references the first child in the parent node's child list. |
|
|
An XMLNode value that references the last child in the node's child list. |
|
|
|
nextSibling:XMLNode [read-only] |
An XMLNode value that references the next sibling in the parent node's child list. |
|
|
A string representing the node name of the XML object. |
|
|
|
A nodeType value, either 1 for an XML element or 3 for a text node. |
|
|
|
The node value of the XML object. |
|
|
|
parentNode:XMLNode [read-only] |
An XMLNode value that references the parent node of the specified XML object, or returns null if the node has no parent. |
|
|
previousSibling:XMLNode [read-only] |
An XMLNode value that references the previous sibling in the parent node's child list. |
Properties inherited from class Object
|
constructor (Object.constructor property), __proto__ (Object.__proto__ property), prototype (Object.prototype property), __resolve (Object.__resolve property) |
|
Modifiers |
Signature |
Description |
|---|---|---|
|
|
appendChild(newChild:XMLNode) : Void |
Appends the specified node to the XML object's child list. |
|
|
Constructs and returns a new XML node of the same type, name, value, and attributes as the specified XML object. |
|
|
|
hasChildNodes() : Boolean |
Specifies whether or not the XML object has child nodes. |
|
|
insertBefore(newChild:XMLNode, insertPoint:XMLNode) : Void |
Inserts a newChild node into the XML object's child list, before the insertPoint node. |
|
|
removeNode() : Void |
Removes the specified XML object from its parent. |
|
|
Evaluates the specified XML object, constructs a textual representation of the XML structure, including the node, children, and attributes, and returns the result as a string. |
Methods inherited from class Object