Subject: Re: [xsl] Re: xmlns in the root element prevents transformation From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Thu, 23 Jul 2020 21:05:17 -0000 |
On 23.07.2020 22:55, Manuel Souto Pico terminolator@xxxxxxxxx wrote:I think I can answer myself.
The stylesheet needs to have the version hardcoded in the root element, at least from what I can tell, like xpath-default-namespace="urn:oasis:names:tc:xliff:document:1.2", and it must be the same version as the input XML files.
In Saxon 10 there is a command line switch and I think also an API switch to set the default XPath namespace.
http://saxonica.com/html/documentation/javadoc/net/sf/saxon/s9api/XsltCompile r.html#setDefaultElementNamespace-java.lang.String-
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Re: xmlns in the root ele, Martin Honnen martin | Thread | Re: [xsl] xmlns in the root element, Michael Kay mike@xxx |
Re: [xsl] Re: xmlns in the root ele, Martin Honnen martin | Date | Re: [xsl] xmlns in the root element, Michael Kay mike@xxx |
Month |