[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Re: Re: Can one _generate_ namespace nodes?
"Joseph Kesselman" <keshlam@xxxxxxxxxx> wrote in message news:OFAE3EAC25.E1215AC5-ON85256CD8.004D468A-85256CD8.004E5301@xxxxxxxxxxxxx > 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. ===== Cheers, Dimitre Novatchev. http://fxsl.sourceforge.net/ -- the home of FXSL XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|