xsl-list
[Top] [All Lists]

Re: [xsl] An (almost) identity stylesheet

2008-04-10 04:14:06
Michael Kay schrieb:
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.

Michael

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--