Subject: Re: [xsl] Xsl stylesheet version =1 with saxon 9.x From: "Michael Kay mike@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Thu, 7 Mar 2019 16:33:54 -0000 |
> On 7 Mar 2019, at 16:27, Michael Kay mike@xxxxxxxxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: > > The effect of having version="1.0" is that the stylesheet runs in "backwards compatibility mode", meaning that some constructs behave as described in XSLT 1.0 / XPath 1.0 rather than as defined in 2.0/3.0. For example, xsl:value-of applied to a sequence of several nodes displays the first in 1.0 mode, but throws an error in 2.0 / 3.0 mode. > Correction. xsl:value-of in 2.0 displays all the nodes. I was thinking of the string() function: in 1.0 this displays the first node, while in 2.0 it throws an error. My memory of 1.0 is getting rusty - it's almost 20 years old, after all! Michael Kay Saxonica
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Xsl stylesheet version =1, Michael Kay mike@xxx | Thread | Re: [xsl] Xsl stylesheet version =1, Vasu Chakkera vasucv |
Re: [xsl] Xsl stylesheet version =1, Michael Kay mike@xxx | Date | Re: [xsl] Xsl stylesheet version =1, Vasu Chakkera vasucv |
Month |