This is the main XPath and XQuery example page. The examples are currently spread over three pages: Simple examples, Complex examples and Fonto Editor 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.
Editor specific examples
The Fonto Editor specific examples page contains examples that use functions that are unique to Fonto Editor. 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.