Oxygen XML Editor
 
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Optional namespace declaration in XML document


Subject: RE: [xsl] Optional namespace declaration in XML document
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 28 Feb 2006 16:24:20 -0000

> Is there any way to have one XSLT 1.0 stylesheet handle 
> situations where the XML input has different namespace 
> declarations? 

My preferred approach to this is to write a two pass transformation. The
first part moves the data into the "correct" namespace, the second part does
the real transformation. This is much easier and cleaner than trying to
transform data which can arrive in a variety of forms.

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


Current Thread
 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor
Keywords