B2B Data Transformation
- B2B Data Transformation 10.4.0
- All Products
XPath Expression
| Description
|
---|---|
nodename
| Selects all child nodes of the given name in the context.
|
. (dot)
| Selects current node.
|
..
| Selects parent of current node.
|
@
| Selects attribute.
|
/
| Selects from root node or child of current node if preceded by node. When the path starts with a slash ( / ) it represents an absolute path to an element.
|
//
| Selects nodes anywhere in the document or descendants of current node if preceded by node.
|
XPath Expression
| Result
|
---|---|
/bookstore
| Selects the root bookstore node.
|
bookstore/book
| Selects book nodes that are children of all bookstore nodes.
|
//book
| Selects the book nodes in the document in all locations.
|
bookstore//book
| Selects all book nodes that are descendants of the bookstore nodes.
|
/bookstore/*
| Selects all child nodes of bookstore root element.
|
//*
| Returns a sequence of all elements in the document.
|