Home >
Online Product Documentation >
Table of Contents >
Examples of Specifying Positions
Examples of Specifying Positions
The following query finds the first and fourth
author elements:
The next query finds the first, the third through the fifth, and the last
author elements:
The XPath processor removes duplicate values. For the previous query, if there are only five elements in the collection, the query returns only one copy of the fifth element.
The next example finds all
author elements in which the first
degree is a Ph.D.: