Subject: Re: Prevent compilation error for xsl:namespace in XSLT 1.0
From: Florent Georges <darkman_spam@xxxxxxxx>
Date: Mon, 15 Jan 2007 00:28:47 +0100 (CET)
|
David Carlisle wrote:
Hi
> you can only use version= on xsl:stylesheet in xsl 1.0, or
> xsl:version= on literal result elements.
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?
Regards,
--drkm
___________________________________________________________________________
Dicouvrez une nouvelle fagon d'obtenir des riponses ` toutes vos questions !
Profitez des connaissances, des opinions et des expiriences des internautes sur Yahoo! Questions/Riponses
http://fr.answers.yahoo.com
|