[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: How I could produce xml 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|