# Grammar Explorer

These pages present the various QT grammars as a navigable web of pages with links back to the occurrences in the spec where productions are referenced.

On each grammar page, clicking on links on the “right hand side” side a production will navigate within the grammar page. Clicking on the production name on the left hand side will take you to a detail page about that production. The detail pages show where the nonterminal occurs in the grammar and where it is referenced in the specifications.

## Current grammars

- XPath 4.0
- XQuery 4.0
- XSLT 4.0 patterns

## Old grammars

These pages are constructed from the grammars and documents associated with XPath 3.1, XQuery 3.1, and XSLT 3.0. They’re imperfect because the grammar file uses some features that Norm hasn’t reverse engineered. And might never.

- XPath 3.1
- XQuery 3.1
- XPath 3.0
- XQuery 3.0
- XSLT 3.0 patterns