[xsl] Re: Re: Re: Can one _generate_ namespace nodes?

Subject: [xsl] Re: Re: Re: Can one _generate_ namespace nodes?
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Tue, 25 Feb 2003 21:07:01 +0100
"Joseph Kesselman" <keshlam@xxxxxxxxxx> wrote in message
> Quoth "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
> >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/>

Yes, this is the simplest possible way to do the job. All other ways involve
some kind of a trick -- e.g. copying artificial attributes.


Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL

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

Current Thread