previous | start | next

XPath Syntax Summary

Syntax Element Purpose Example
name Matches an element item
/ Separates elements /items/item
[n] Selects a value from a set /items/item[1]
@name Matches an attribute price/@currency
* Matches anything /items/*[1]
count Counts matches count(/items/item)
name The name of a match name(/items/*[1])

previous | start | next