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

Re: How I could produce xml without xmlns:* ???

Subject: Re: How I could produce xml without xmlns:* ???
From: Joseph Kesselman <keshlam@xxxxxxxxxx>
Date: Mon, 13 Jan 2003 09:38:15 -0500
create node without xmlns
To suppress namespace declarations, your stylesheet needs to (a) not copy 
any namespace nodes to the output document, and (b) not generate any 
namespaced elements or attributes (since serializers will generally create 
the appropriate declarations automatically.)

The latter may mean you can't use normal copy-element-to-output processing 
at all, but instead must use xsl:element to explicitly create new elements 
with the appropriate (non-prefixed!) names.

Note that this is generally Very Much The Wrong Thing To Do. You may want 
to think again about whether suppressing the use of namespaces in your 
output document is really a good idea.

______________________________________
Joe Kesselman  / IBM Research


 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.