Project

Profile

Help

-ns command line option for XQuery?

Added by Martin Honnen about 1 year ago

I am trying to process some HTML using SaxonCS 12 and --allowSyntaxExtensions:on and xquery version '4.0' to use the experimental XPath 4.0 function parse-html. As HTML elements returned by that functions are put into the XHTML namespace I thought I could benefit from Saxon's support for e.g. -ns:##html5 but it seems for query Saxon tells me Command line option -ns is not recognized.

Perhaps this is worth a feature request?

I go with e.g. *:h2 in the meantime.


Replies (1)

RE: -ns command line option for XQuery? - Added by Michael Kay 10 months ago

I have added the -ns option to the Query command (and underlying support in the s9api XQueryCompiler, StaticQueryContext, and QueryModule) for 12.3 and later releases.

    (1-1/1)

    Please register to reply