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

RE: xslt 2.0 xsl:copy copy-namespaces

Subject: RE: xslt 2.0 xsl:copy copy-namespaces
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Sun, 12 Jun 2005 17:35:11 +0100
xslt strip namespace
> Surely it's a common enough requirement? Strip namespaces 
> comes up here
> often enough.
> Omitted for purist reasons? Not requested?

If one tried to design an instruction that does a "copy this tree putting
all elements and attributes in the null namespace", you would quickly want
to extend it to put elements and attributes in a different namespace, to map
namespace A to namespace B, to apply to elements but not attributes, to
change the elements into attributes while you're about it, and so on. All
this and more can already be achieved using the identity template with
variations.
> 
> (Do you agree about the header variances wrt your xslt 1.0 book Mike?
> Heck of a usability difference)

Yes, the lack of alphabetical running heads in the book is a big mistake. I
spotted it at the page proof stage and was told it was too late to correct
it. The root cause, I think, was that the editorial and production processes
at Wiley's weren't well enough coordinated.

Michael Kay
http://www.saxonica.com/

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.