xsl-list
[Top] [All Lists]

RE: Optional namespace declaration in XML document

2006-02-28 09:24:20
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/



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>