MACROMEDIA FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE Reference page 197

Server-side actionscript language reference
Table of Contents

Advertisement

trace("rootNode Node namespaceURI: " + rootNode.namespaceURI);
// Output: [empty string]
var simpleNode = xmlDoc.childNodes[0].childNodes[0];
trace("simpleNode Node namespaceURI: " + simpleNode.namespaceURI);
// Output: ... http://www.w3.org/2001/12/soap-envelope
var innerNode = xmlDoc.childNodes[0].childNodes[0].childNodes[0];
trace("innerNode Node namespaceURI: " + innerNode.namespaceURI);
// Output: ... http://www.w3.org/2001/12/soap-envelope
}
XML.nextSibling
Availability
Flash Media Server 2.
Usage
my_xml.nextSibling
Description
Property (read-only); an XMLNode value that references the next sibling in the parent node's
child list. This property is
cannot be used to manipulate child nodes; use the
methods to manipulate child nodes.
removeNode()
Example
The following example is an excerpt from the example for the
shows how you can use the
object's child nodes.
for (var aNode = rootNode.firstChild; aNode != null; aNode =
aNode.nextSibling) {
trace(aNode);
}
In Flash Media Server, the output of
file and Application inspector.
See also
XML.appendChild(), XML.insertBefore(),
if the node does not have a next sibling node. This property
null
property to loop through an XMLNode
XML.nextSibling
trace()
,
appendChild()
insertBefore()
XML.firstChild
statements appears in the application log
XML.removeNode()
, and
property. It
XML class
197

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash media server 2

Table of Contents