# Introduction

This page describes how to use Saxon as an XQuery processor, either from the command line, or from the Java API.

For details of how to set up collation URIs for use in XQuery, see Collation URIs

Saxon, since release 7.6, supports XQuery as well as XSLT.

The run-time code for both languages is identical, reflecting the fact that they have very similar semantics. The XQuery support in Saxon consists essentially of an XQuery parser (which is itself an extension of the XPath parser); the parser generates the same internal interpretable code as the XSLT processor.

The XQuery processor may be invoked either from the operating system command line, or via an API from a Java application. There is no graphical user interface provided.

Saxon is an in-memory processor. Whether you use XSLT or XQuery, Saxon is designed to process source documents that fit in memory.

Expand | Next