previous next
XQ2XQX Stylesheet
The transform to XQueryX provided by the xq2xqx.xsl stylesheet is surprisingly complicated
- Abbreviated XPath syntax such as // is not supported, so must be expanded to /descendant-or-self::node()/.
- Direct element constructors are supported but text nodes are not so an
XQuery of <abc>xyz</abc> has to be encoded as <abc>{"xyz"}</abc>
- Many other small or not so small deviations from the XQuery grammar.