Subject: Re: [xsl] An (almost) identity stylesheet From: Michael Ludwig <mlu@xxxxxxxxxxxxx> Date: Thu, 10 Apr 2008 13:13:10 +0200 |
Using xsl:attribute with @select in a 1.0 transformation provokes a variety of reactions from processors. Xalan C++ 1.10.0 throws an error, LibXSLT 10120 ignores it, Saxon 9.0.0.2J processes @select as if allowed.
That's because it *is* allowed. When you use an XSLT 2.0 processor, you can use XSLT 2.0 syntax, even if your stylesheet specifies version="1.0".
Thanks, I didn't know that. Without giving it much thought, I was under the assumption that specifying version="1.0" would preclude 2.0 syntax. Thanks for clarifying.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] An (almost) identity styl, Michael Kay | Thread | Re: [xsl] An (almost) identity styl, bryan rasmussen |
RE: [xsl] An (almost) identity styl, Michael Kay | Date | Re: [xsl] An (almost) identity styl, bryan rasmussen |
Month |