This version is out of date, covering development from v9.0.0 to v9.3.0. It is maintained here only for inbound reference links from elsewhere. It is no longer actively updated.

Jump to the current version of aTbRef

Tinderbox v9 Icon


Operator Type: 

Operator Scope of Action: 

Operator Purpose: 

Operator First Added: 

Operator Altered: 

 Function   [other Function type actions]

 Item   [operators of similar scope]

 Stream parsing   [other Stream parsing operators]




If there is no current XML object, attempts to parse the string as XML and fails if unsuccessful. If there is a current XML object, it will be reused.

Returns a specific piece of data from the XML object, determined by the path. path should be an expression or a quoted string. path is a subset of the Xpath standard.

Consider this source stream:

<book price="9.95">War and Peace</book>
<book price="4.95">No et Moi</book>
<audio price="14.95">Born To Run</book>

Examples of path:

To accord with standard XML and XPath usage, the first child of an XML node is child [1], not [0]. XML attributes are not related to Tinderbox attributes.