xsl-list
[Top] [All Lists]

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

2007-01-15 01:16:48
From: Florent Georges <darkman_spam(_at_)yahoo(_dot_)fr>
Michael Kay wrote:

> 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).

  Yes, I think the external module is the best solution.

  And to prevent compilation error with processors don't
supporting the namespace axis, I think a use-when with
element-available('xsl:namespace') will be enough (because
this can only arise with XSLT 2.0 processors)?

Support for the namespace axis is another matter. Xsl:namespace will be available for all XSLT 2.0 processors.

_________________________________________________________________
MSN Hotmail is evolving ? check out the new Windows Live Mail http://ideas.live.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>
--~--