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

RE: problem generating dynamic namespace declarations

Subject: RE: problem generating dynamic namespace declarations
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Tue, 18 Jul 2000 10:28:51 +0100
RE: problem generating dynamic namespace declarations
> But in this case as is the case if writing xpath valued attributes,
> this isn't quite what you want to do, as you want to generate a
> namespace declaration that isn't used in the element or 
> attribute name.

Yes, the requirement is there and I think there's no way of doing it. If you
wanted to generate, for example:

<xsl:variable name="my:var" select="3" xmlns:my="me.uri"/>

you would have to do it by generating an unwanted attribute my:dummy, for
example by writing

<axsl:variable name="my:var" select="3" my:dummy="" xmlns:my="me.uri"/>

Mike

PS: copying namespace nodes using <xsl:copy>, as per your previous reply,
isn't guaranteed to work: the effect is undefined.


 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.