xsl-list
[Top] [All Lists]

RE: [xsl] Prevent compilation error for xsl:namespace in XSLT 1.0

2007-01-14 16:40:42

  Mmh, ok, thanks.  So to use xsl:namespace within an XSLT 
1.0 stylesheet, without changing the the 
xsl:stylsheet/@version to '2.0'
(to prevent errors due to compatibility mode), the only way 
is to use an external stylesheet file with 
xsl:stylsheet/@version = '2.0', defining just the named 
template using the xsl:namespace?


Either that, or put xsl:version on a containing literal result element,
which of course is not always possible or convenient (that's why we
generalized the rules in 2.0).

Michael Kay
http://www.saxonica.com/


--~------------------------------------------------------------------
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>
--~--