MDW implements name space agnostic XPath language. So far the language supports a subset of the standard XPath language.
Examples of valid MDW XPath expressions include:
/Book/Chapter/Section Book/Chapter[@title='The World is Flat'] //Order/*[OrderType='N'] /Order/@idThe following table summarizes the syntax:
* | Matches any element name |
// | Recursive Descent |
@attribute_name | Matches attribute of the given name |
@* | Matches any attribute name |
[@attribute_name='value'] | Attribute value filter |
[child_tag_name='value'] | Child value filter |
/Order[OrderType="N"]
or /Order[OrderType=N]
).
The initial slash is optional when the expression is applied to an entire document, which is the case most of times.