Re: Pattern matching error in xsl:key

Martin Honnen <[email protected]> Sat, 5 Sep 2020 20:39:59 +0200
Newsgroups gmane.text.xml.saxon.help
Organization Liberty Development
Message-ID <[email protected]>
On 05.09.2020 19:22, Ihe Onwuka wrote:
> Not using schema aware XSLT and the values concerned are version numbers
> and should be treated as strings.

Then at least in your XSLT code you need to use

   select="'4.0'"

If you are passing the parameters from the outside I think we need to
see details of the tool (Saxon command line, which shell, oXygen, Saxon
API with Java code) to ease the task, but the previous hint by Michael
Müller-Hillebrand to declare

   as="xs:string"

is a good starting point.


_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
[email protected]
https://lists.sourceforge.net/lists/listinfo/saxon-help