Re: [Gestalt-users] [ gestalt-Bugs-1563054 ] gexslt:transformation() and namespace bindings
Status: Alpha
Brought to you by:
colin-adams
From: Florent G. <dar...@ya...> - 2006-09-25 23:33:57
|
"SourceForge.net" wrote: > Fixed and comitted to CVS Yes, it works, thanks. But I found a strange behaviour in modifying the use case, related to @use-when. If you change: <xsl:template name="main"> <xsl:sequence select=" gexslt:transformation('#test', doc(''))"/> </xsl:template> in: <xsl:template name="main" use-when=" function-available('gexslt:transformation')"> <main available="true"> <xsl:sequence select=" gexslt:transformation('#test', doc(''))"/> </main> </xsl:template> <xsl:template name="main" use-when=" not(function-available('gexslt:transformation'))"> <main available="false"> <xsl:sequence select=" gexslt:transformation('#test', doc(''))"/> </main> </xsl:template> the last template rule will be compiled and will run correctly. So the function is available, and works fine, but seems to not be in the static context (as if it was registered too late in the context library). HTH. Regards, --drkm ___________________________________________________________________________ Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. http://fr.answers.yahoo.com |