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

RE: namespace-alias for remapping nodes from the empty names

Subject: RE: namespace-alias for remapping nodes from the empty namespace
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Fri, 13 Oct 2000 14:43:28 +0100
namespace alias default namespace
> I have an XML element with no namespace declaration, say:
> 
> <foo />
> 
> Can I use the xsl:namespace-alias mechanism to map elements 
> from this empty namespace to another one in the output?
> 
> #default seems to map the *default* namespace, which is 
> different from the empty namespace...

The namespace URI for <foo> *is* the default namespace. If there are no
namespace declarations in force, the default namespace is empty, if there is
a namespace declaration xmlns="abc.uri" then the default namespace is
"abc.uri".

So yes, you can use #default.

Mike Kay


 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.