# XML ActionScript Class

This class implements an XML object.

## The Methods of the Class

addRequestHeader()

  Change the HTTP header

appendChild()

  Append a child node to this node

cloneNode()

  Copy a node

createElement()

  Create an element for a node

createTextNode()

  Create a text node

getBytesLoaded()

getBytesTotal()

  Return the size of the XML source

hasChildNodes()

  Return is this node has any children

insertBefore()

  Insert a node before this node

load()

  Load a XML message in memory

parseXML()

  Parse an XML document

removeNode()

  Remove a node

send()

  Send the node through the network

sendAndLoad()

  Send a node, and get the result using the network

toString()

  Convert the node and it's children to a string

## The Properties of the XML Class

contentType

  The MIME type

attributes

  Returns an array of the attributes of a node

childNodes

  Returns an array of the children of a node

xmlDecl

  Specify document's declaration

docTypeDecl

  Get a string version of a document's declaration

firstChild

  Returns the first child node

ignoreWhite

  If set, blank nodes are deleted

lastChild
  Returns the last child node

loaded

  A flag that signifies whether a file was loaded

nextSibling

  Returns the next child node

nodeName

  Returns the name of the node

nodeType

  Returns the type of a node

nodeValue

  Contains the text for a text node type

parentNode

  Returns this node's parent

status

  Returns the status code from parsing the XML document

previousSibling

  Returns the child node before this one

## XML Class Conformance

Class Name | Conformance
--- | ---
addRequestHeader() | This method is unimplemented
appendChild() | This method is unimplemented
cloneNode() | This method is unimplemented
createElement() | This method is unimplemented
createTextNode() | This method is unimplemented
getBytesLoaded() | This method is unimplemented
getBytesTotal() | This method is unimplemented
hasChildNodes() | This method is implemented
insertBefore() | This method is unimplemented
load() | This method is implemented
parseXML() | This method is implemented
removeNode() | This method is unimplemented
send() | This method is unimplemented
sendAndLoad() | This method is unimplemented
toString() | This method is unimplemented
contentType | This property is unimplemented
attributes | This property is implemented
childNodes | This property is implemented
xmlDecl | This property is unimplemented
docTypeDecl | This property is unimplemented
firstChild | This property is implemented
ignoreWhite | This property is unimplemented
lastChild | This property is unimplemented
loaded | This property is implemented
nextSibling | This property is unimplemented
nodeName | This property is unimplemented
nodeType | This property is implemented
nodeValue | This property is unimplemented
onData | This event handler is implemented
onLoad | This event handler is implemented
parentNode | This event handler is implemented
status | This event handler is unimplemented
previousSibling | This event handler is unimplemented