xsl-list
[Top] [All Lists]

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

2005-07-14 11:42:16
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.

--~------------------------------------------------------------------
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>