XPathResult

This object is available to unprivileged JavaScript. It implements the following interfaces:

Constants

short ANY_TYPE = 0
short NUMBER_TYPE = 1
short STRING_TYPE = 2
short BOOLEAN_TYPE = 3
short UNORDERED_NODE_ITERATOR_TYPE = 4
short ORDERED_NODE_ITERATOR_TYPE = 5
short UNORDERED_NODE_SNAPSHOT_TYPE = 6
short ORDERED_NODE_SNAPSHOT_TYPE = 7
short ANY_UNORDERED_NODE_TYPE = 8
short FIRST_ORDERED_NODE_TYPE = 9

Properties

readonly boolean booleanValue

readonly boolean invalidIteratorState

readonly double numberValue

readonly short resultType

readonly Node singleNodeValue

readonly int snapshotLength

readonly String stringValue


Methods

Node iterateNext ( ) Node snapshotItem ( int index )

Node iterateNext ( )


Node snapshotItem ( int index )

Arguments:
index

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com