
ADOBE FLASH MEDIA INTERACTIVE SERVER
Server-Side ActionScript Language Reference
115
Method summary
XML.parentNode Read-only; an XMLNode value that references the parent node of the specified XML object or
returns null if the node has no parent.
XML.prefix Read-only; the prefix portion of the XML node name.
XML.previousSibling Read-only; an XMLNode value that references the previous sibling in the parent node’s child
list.
XML.status A number indicating whether an XML document was successfully parsed into an XML object.
XML.xmlDecl Specifies information about a document’s XML declaration.
Method Description
XML.addRequestHeader()() Adds or changes HTTP request headers (such as Content-Type or SOAPAction) that are sent
with POST actions.
XML.appendChild() Appends the specified node to the XML object’s child list.
XML.cloneNode() Constructs and returns a new XMLNode object of the same type, name, Administration
Console value, and attributes as the specified XML object.
XML.createElement() Creates a new XML element with the name specified in the name parameter.
XML.createTextNode() Creates a new XML text node with the specified text.
XML.getBytesLoaded() Returns the number of bytes loaded (streamed) for the specified XML document.
XML.getBytesTotal() Returns the size of the XML document, in bytes.
XML.getNamespaceForPrefix() Returns the namespace URI that is associated with the specified prefix for the node.
XML.getPrefixForNamespace() Returns the prefix that is associated with the specified namespace URI for the node.
XML.hasChildNodes() Returns true if the specified XML object has child nodes; otherwise, false.
XML.insertBefore() Inserts a new child node into the XML object’s child list, before the specified node.
XML.load() Loads an XML document from a File object or from a URL over HTTP, and replaces the contents
of the specified XML object with the XML data.
XML.parseXML() Parses the XML text specified in the source parameter and populates the specified XML
object with the resulting XML tree.
XML.removeNode() Removes the specified XML object from its parent and deletes all descendants of the node.
XML.send() Encodes the specified XML object into an XML document and sends it to the specified URL by
using the POST method in a browser.
XML.sendAndLoad() Encodes the specified XML object into an XML document, sends it to the specified URL by
using the HTTP POST method, downloads the server’s response, and loads it into the specified
object.
XML.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.
Property Description
Commenti su questo manuale