03.05.2013 Views

ActionScript 2.0 Language Reference - Adobe Help and Support

ActionScript 2.0 Language Reference - Adobe Help and Support

ActionScript 2.0 Language Reference - Adobe Help and Support

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

XMLNode<br />

Object<br />

|<br />

+-XMLNode<br />

public class XMLNode<br />

extends Object<br />

An XML document is represented in Flash by the XML class. Each element of the hierarchical<br />

document is represented by an XMLNode object.<br />

Availability: <strong>ActionScript</strong> 1.0; Flash Player 5<br />

See also<br />

XML<br />

Property summary<br />

Modifiers Property Description<br />

attributes:Object An object containing all of the attributes of the<br />

specified XML instance.<br />

childNodes:Array<br />

[read-only]<br />

firstChild:XMLNode<br />

[read-only]<br />

lastChild:XMLNode<br />

[read-only]<br />

localName:String<br />

[read-only]<br />

namespaceURI:String<br />

[read-only]<br />

nextSibling:XMLNode<br />

[read-only]<br />

An array of the specified XML object's children.<br />

Evaluates the specified XML object <strong>and</strong><br />

references the first child in the parent node's child<br />

list.<br />

An XMLNode value that references the last child in<br />

the node's child list.<br />

The local name portion of the XML node's name.<br />

If the XML node has a prefix, namespaceURI is the<br />

value of the xmlns declaration for that prefix (the<br />

URI), which is typically called the namespace URI.<br />

An XMLNode value that references the next<br />

sibling in the parent node's child list.<br />

nodeName:String A string representing the node name of the XML<br />

object.<br />

nodeType:Number<br />

[read-only]<br />

A nodeType value, either 1 for an XML element or 3<br />

for a text node.<br />

nodeValue:String The node value of the XML object.<br />

XMLNode 1335

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!