This article is part of the [[XQuery|XQuery Portal]]. It lists extensions and optimizations that are specific to the BaseX XQuery processor.
=Suffixes=
In BaseX, files with the suffixes {{Code|xq}}, {{Code|xqm}}, {{Code|xqy}}, {{Code|xql}}, {{Code|xqu}} and {{Code|xquery}} are treated as XQuery files. By default, {{Code|xq}} is used and recommended as suffix for main modules and {{Code|xqm}} is used for library modules, but the actual module type will be dynamically detected if the file is opened and parsed.
=Option Declarations=