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

XmlNodeSet Object Description

XmlNodeSet is a specialisation of the JavaScript 'Array' class. Instances of this class are returned from calls to XmlGeneric.select(). Instances of this class are also returned from calls to XmlGeneric.xpath() where the evaluated XPath expression yields a node set.

As well as the standard Array methods - this class also supports the select() and xpath() methods in common with elements in the tree.

This behaviour allows an XPath query to be performed on, say, the root of a tree to yield a set of nodes. This set can then be further refined to applying a more detailed query on the results.

Methods

XmlNodeSet.select() Execute an XPath 1.0 exression
XmlNodeSet.xpath() Execute an XPath 1.0 exression
XmlNodeSet.toString() Return string equivalent of the XmlNodeSet
Whitebeam release 1.3.36
(loadtime : 31ms)