Working with xqDoc documents

The following features should be borne in mind:

Function names may be referenced in XQuery in a number of different styles. For example:

Most xqDoc implementations return these as coded, rather than normalising them to a standard form. This can make finding cross-references more complex.

Some implementations allow their library modules to be used without explicit import module statements.

If these imports are not listed in the generated xqDoc, it can be difficult to resolve some names. This suggests an xqDoc generator needs information about the target platform both for its grammar and its static context.