Class XMLTREE

Name

XMLTREE  --  Class of XML DOM tree. This class is used for manipulate XML DOM tree.

Synopsis

 XMLTree(<name>)	--> XMLTag object
 
 
 
 

Description

Class XMLTree

Attributes

<className> - Class name. Value should be "XMLTree".

Methods

DUMP Dump DOM to XML format.
GETERROR Get parse error description.
GETROOT Get DOM root tag.
PARSEFILE Parse XML file.
PARSESTRING Parse XML file contents.
SETROOT Set new root tag.
XMLTREE Constructor. Create object for manipulate XML DOM tree..
XPATH Execute XPath query.

Method XMLTREE:DUMP()

 dump([<tag>])	--> <cXML>

Method XMLTREE:GETERROR()

 getError() --> <cError>

Method XMLTREE:GETROOT()

 getRoot()	--> <oRootTag>

Method XMLTREE:PARSEFILE()

 parseFile(<filename>)

Method XMLTREE:PARSESTRING()

 parseString(<string>)

Method XMLTREE:SETROOT()

 setRoot(<tag>)

Method XMLTREE:XMLTREE()

 XMLTree(<encoding>)	--> XMLTree object

Method XMLTREE:XPATH()

 XPath(<path>,[<tag>])	--> <Result>

Example:

 f := XMLTree()
 f:parseFile( "component.xml" )
 ?? f:XPath( "/requires/*" )
 

Platforms

No dependies of platform.