Re: [xsl] different versions of xmlns:foo are never usable together?

Subject: Re: [xsl] different versions of xmlns:foo are never usable together?
From: andrew welch <andrew.j.welch@xxxxxxxxx>
Date: Thu, 14 Jul 2005 19:42:16 +0100
> Secondly, if you do change the namespace, my advice is not to write
> stylesheets that try to handle both versions, but rather to have a
> stylesheet that converts documents from the old namespace to the new, and
> put this stylesheet in the pipeline as a preprocessing step to the one that
> does the real transformation. The preprocessing is essentially:

You could create a copy of the 1.0 handling stylesheet and change the
namespace in the copy to the newer version, and then include them both
into a basic top level stylesheet.  That would keep both stylesheets
clean and not incur too much of a processing overhead.

Current Thread