|
Home > Online Product Documentation > Table of Contents > Obtaining All Elements of a Particular Name Obtaining All Elements of a Particular NameSometimes you want all like-named elements regardless of where they are in a document. In this case, you do not need to start at the root node and navigate to the elements you want.
For example, the following query returns all
The double forward slash (//) at the beginning of a query instructs the XPath processor to start at the root node and search the entire document. In other words, the XPath processor searches all descendants of the root node.
If you perform this query on
|

Cart

