[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Can one _generate_ namespace nodes?

Subject: Can one _generate_ namespace nodes?
From: Joseph Kesselman <keshlam@xxxxxxxxxx>
Date: Mon, 24 Feb 2003 10:02:22 -0500
joe kesselman
>My fallback is to just add a placebo attribute to the result document 
element:

That would probably work... but I'm not sure it *should* work. XSLT says 
pretty explicitly that you're allowed to add irrelevant attributes to xsl: 
elements.. IF they are in a namespace OTHER than XSLT's own namespace.

I'd much prefer a guaranteed-portable solution... or a clear consensus 
that there isn't one, so we can consider encouraging XSLT 2.0 to address 
this.

(BTW, in case folks haven't guessed, this ties into the "stylesheets to 
render stylesheets" thread as well. I'm in final editing of an article 
which provides a sorta-interesting example of doing that, and -- purely 
for aesthetic reasons -- I'm interested in cleaning up its output. I may 
yet resort to <xsl:element>... but I'd really rather not, for pedagogical 
purposes.)

______________________________________
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.