Open sputnick-dev opened 6 years ago
Saxon doesn't provide a command line switch to use pure XPath but as XPath is a subset of XQuery it can evaluate XPath expressions as XQuery. To use pure XPath you would need to write Java code using Saxon saxonica.com/html/documentation/xpath-api/s9api-xpath.html – Martin Honnen Apr 2 at 22:00
From https://stackoverflow.com/a/49615317/465183
As far as I could judge from reading the Perl code the --xpath argument is feed to net.sf.saxon.Query as XQuery. I don't think a command line use of Saxon allows pure XPath evaluation. Martin Honnen