|
Whitebeam Template Reference Documentation
|
XmlNodeSet Template
xpath()
Execute an XPath 1.0 exression
See Also
XmlGeneric.select() Syntax
MetaData Object = rb.XmlNodeSet.xpath(xpathExr)
Parameters
The 'xpath' method takes 1 parameter:
Results
The 'xpath' method returns a JavaScript object containing arbitrary attributes (Meta Value):
Type/Value | Range/Length | Description |
MetaData |
  | |
Remarks Execute an XPath 1.0 exression, using the
selected XmlGeneric as the initial context node for the query. See the
XPath Tutorial for examples of how to use this method,
and for a primer on XPath syntax. An XPath expression can result in one of a number of types - depending on the expression. This
method creates an appropriate JavaScript value to represent the XPath result as follows: XPath Result | JavaScript Type |
---|
boolean | boolean | string | String | number | Number | node set | instance of
XmlNodeSet. |
|
|
(loadtime : 60ms) |