xsl-list
[Top] [All Lists]

RE: [xsl] Target Namespace in XML breaks XSL transform

2006-03-24 12:37:02
 
This is a huge stylesheet and there are three different 
stylesheets I'd have
to modify, so to do this MANY changes will have to be made. I need the
target namespace in my XML document if I want to validate it. 
Is there any
way around modifying all my XSLs?

Move to XSLT 2.0 where you can specify xpath-default-namespace.

Or write a preprocessing stylesheet that renames every element to be in the
null namespace.

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>