Class XPathParser
Object
|
+--XPathParser
- class
XPathParser
This is XPathParser class for extracting XML nodesets by xpath.
Defined in XPathParser.js
XPathParser
XPathParser(<String> xmlFile, <String> xml)
Constructs a new instance of XPathParser class.
Parameters:
xmlFile - The XML file to load from.
xml - The XML to use, optional. If not specified the XML will be loaded using xmlFile parameter.
apply
Object apply(<String> query)
Selects a list of nodes matching the XPath expression.
Parameters:
query - The XPath expression.
Returns:
The list of nodes matching the XPath expression.
init
XPathParser init(<String> xmlFile, <String> xml)
Parameters:
xmlFile - The XML file to load from.
xml - The XML to use, optional. If not specified the XML will be loaded using xmlFile parameter.
Returns:
XPathParser object instance itself.
www.troika-asp.com
Documentation generated on Sun Jun 15 17:59:32 2008