xsl-list
[Top] [All Lists]

Re: Re: Re: Can one _generate_ namespace nodes?

2003-02-25 07:15:27
Quoth "Dimitre Novatchev" <dnovatchev(_at_)yahoo(_dot_)com>
What about the following:

...
 <xsl:template match="/">
  <newxsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
     <newxsl:text>foo</newxsl:text>
  </newxsl:stylesheet>
 </xsl:template>

Hmmmmmm. That uses a literal result element with explicit namespace 
declaration attribute to work around the limitation on <xsl:attribute>. 
Looks like it might actually do the trick... though it's just subtle 
enough that I'm not sure I want to take the time to teach it. <smile/>


______________________________________
Joe Kesselman, IBM Next-Generation Web Technologies:
XML, XSL and more.  "may'ron DaroQbe'chugh vaj bIrIQbej" 
("Put down the squeezebox and nobody gets hurt.")


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>