This is the main XPath and XQuery example page. The examples are currently spread over three pages: Simple examples, Complex examples and Fonto specific examples. More examples will be added over time.
The Complex examples page contains examples that require more specific XPath or XQuery knowledge. You will find more complex node selectors here. For example, selectors that select a common ancestor.
Fonto specific examples
The Fonto specific examples page contains examples that use functions that are unique to Fonto. These examples can therefore not be run in the playground and can not be used in other applications or programming languages that support XPath or XQuery.