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

Subject: RE: [xsl] Target Namespace in XML breaks XSL transform
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 24 Mar 2006 19:34:10 -0000
> 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/

Current Thread