it.sephiroth.XML2Object Documentation

Author: Alessandro Crugnola
Last Modified: 01/20/04 12:51:09


Summary

it.sephiroth.XML2Object Class:

- description

it.sephiroth.XML2Object Methods:

- public parseXML
- private translateXML


it.sephiroth.XML2Object class

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:

public parseXML

description: return the parsed Object

usage: XML2Object.parseXML( theXMLtoParse );

parameters:

returns: an Object with the contents of the passed XML

private translateXML

description: core of the XML2Object class

usage: Documentation not provided.

returns: Void.




generated with AS2docGenerator beta 0.5