Helma logo
helma.org » Home > Stories > XML.read()

XML.read()

Reads an XML tree from file and transforms it into a HopObject.

Syntax
Xml.read(filenameString)
Xml.read(filenameString, HopObject)

If an optional HopObject is specified, the HopObject derived from the XML tree will be added to it.

Example
var obj = Xml.read("/tmp/dump.xml");
res.write(obj);
HopObject message


... comment


Page last modified on 2002-07-12 16:05 by tobi