it.sephiroth.XML2Object Documentation
Author: Alessandro Crugnola
Last Modified: 01/20/04 12:51:09
Summary
it.sephiroth.XML2Object Class:
it.sephiroth.XML2Object Methods:
version: 1.0
description:
return an object with the content of the XML translated
If a node has more than 1 child with the same name, an array is created with the children contents
The object created will have this structure:
- obj {
nodeName : {
attributes : an object containing the node attributes
data : an object containing the node contents
}
usage:
data = new XML2Object().parseXML( anXML);it.sephiroth.XML2Object Methods:
description: return the parsed Object
usage: XML2Object.parseXML( theXMLtoParse );
parameters:
returns: an Object with the contents of the passed XML
description: core of the XML2Object class
usage: Documentation not provided.
returns: Void.