Flash 8 Documentation |
|||
| ActionScript 2.0 Language Reference > ActionScript classes > XMLNode | |||
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.
Availability: ActionScript 1.0; Flash Player 5
|
Modifiers |
Property |
Description |
|---|---|---|
|
|
attributes |
An object containing all of the attributes of the specified XML instance. |
|
|
childNodes |
An array of the specified XML object's children. |
|
|
firstChild |
Evaluates the specified XML object and references the first child in the parent node's child list. |
|
|
lastChild |
An XMLNode value that references the last child in the node's child list. |
|
|
localName |
The local name portion of the XML node's name. |
|
|
namespaceURI |
If the XML node has a prefix, |
|
|
nextSibling |
An XMLNode value that references the next sibling in the parent node's child list. |
|
|
nodeName |
A string representing the node name of the XML object. |
|
|
nodeType |
A |
|
|
nodeValue |
The node value of the XML object. |
|
|
parentNode |
An XMLNode value that references the parent node of the specified XML object, or returns |
|
|
prefix |
The prefix portion of the XML node name. |
|
|
previousSibling |
An XMLNode value that references the previous sibling in the parent node's child list. |
Properties inherited from class Object
|
Signature |
Description |
|---|---|
|
XMLNode |
The XMLNode constructor lets you instantiate an XML node based on a string specifying its contents and on a number representing its node type. |
|
Modifiers |
Signature |
Description |
|---|---|---|
|
|
appendChild |
Appends the specified node to the XML object's child list. |
|
|
cloneNode |
Constructs and returns a new XML node of the same type, name, value, and attributes as the specified XML object. |
|
|
getNamespaceForPrefix |
Returns the namespace URI that is associated with the specified prefix for the node. |
|
|
getPrefixForNamespace |
Returns the prefix that is associated with the specified namespace URI for the node. |
|
|
hasChildNodes |
Specifies whether or not the XML object has child nodes. |
|
|
insertBefore |
Inserts a |
|
|
removeNode |
Removes the specified XML object from its parent. |
|
|
toString |
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 addProperty, hasOwnProperty, isPropertyEnumerable, isPrototypeOf, registerClass, toString, unwatch, valueOf, watch
Version 8
RSS feed | Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flash/8/main/00002883.html
Comments
davidcolquhoun said on Apr 14, 2007 at 3:57 PM :