|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Versioned Namespaces
On 15/07/2010 09:58, Andy Chambers wrote:
Hi, The usual advice is don't change namespaces ever. If you change the namespace then you have changed the name of every construct in the language so it's not a new version, it's a completely new language. (See how xslt 1 and 2 have the same namespace, as does mathml 1 2 3 ) Despite that it is regrettably common that people do use namespace changes as versioning. the simplest way to handle that in xslt is to write the main code just using one namespace (say the new one) and then handle any document in the old namespace by first processing it in a mode that uses a single modified identity template that just switches the namespace., save that result to a variable, then apply your main processing mode to this modified in memory document tree. David
This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. ________________________________________________________________________
|
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
|

Cart








