Whitebeam Object Definition

Site Map
 
Home
 
Application Guide
Reference
  Installation
  Configuration
  XML Markup
  JavaScript Classes
  ROM
  Templates
  Environment
  Dev Process
  Tools
  External Links
  Example libraries
Community
Contact Whitebeam
To-Do
Download
Credits
Licence
Whitebeam Users
 
 
 

Whitebeam Object Definition

Method Description

XmlGeneric.select()

Execute an XPath 1.0 exression

See Also

XmlGeneric.xpath()

Syntax

XmlGeneric.XmlNodeSet = XmlGeneric.select(xpathExr)

Parameters

The 'XmlGeneric.select' method takes 1 parameter:

Name Type/Value Range/Length Description
xpathExrstring  Required. XPath 1.0 exression

Results

The 'XmlGeneric.select' method returns structure:

Type/Value Range/Length Description
struct XmlGeneric.XmlNodeSet see definition

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.

This specific method should be used where the desired result is expected to be a node set. The method evaluates the XPath expression and always results in an instance of XmlNodeSet. If the Xpath result is not a node set the return set is simply empty.

If you want to evaluate a generic XPath expression - with access to all the possible return types use XmlGeneric.xpath()

Whitebeam release 1.3.36
(loadtime : 14ms)