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

Re: Can one _generate_ namespace nodes?

Subject: Re: Can one _generate_ namespace nodes?
From: Joseph Kesselman <keshlam@xxxxxxxxxx>
Date: Mon, 24 Feb 2003 10:02:22 -0500
xslt switching
Quoth the distinguished Mr. Kay:
>In XSLT 2.0 there is an <xsl:namespace> instruction designed to fill
>this gap.

Ah. So it's a known hole, being fixed. I can live with that.

>In XSLT 1.0 the usual circumvention is to create an RTF containing the
>required namespace node, and then copy it (which requires xx:node-set):

Since this is a pedagogical example, I'd rather avoid extensions, even 
widely supported ones.

So it looks like <xsl:element/> may be my best alternative. Or starting 
with aliases, and switching to <xsl:element> later in the article, to 
illustrate both solutions.


Many thanks, everyone. Just needed to be sure I wasn't missing anything 
obvious before I went ahead and published!

(BTW, current plan is for the article, or article series, to go into 
DeveloperWorks. Not yet sure what the publication date(s) will be.)

______________________________________
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.