Re: [xsl] XSLT 2.0 *and* XSLT 1.0 validation -- how to?

Subject: Re: [xsl] XSLT 2.0 *and* XSLT 1.0 validation -- how to?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 25 Oct 2004 11:58:39 +0100
> I don't see the value in perpetuating something that has such
> small utility.

there's a lot of utility in not gratuitously breaking things. I have
a few hundred thousand lines of xsl 1.0 stylesheets. If I want to
consider switching to an xsl 2 processor at some point (for example if the
1.0 processor stops being supported due to old age) then anything that
increases the chance that the stylesheets work  unchanged on the new
processor is a good thing. 

When you are porting over a stylesheet to 2.0 and find that a 10 line
funky Xpath that you don't really understand, but you found in the
excellent xsl-faq at dpawson.co.uk fails to work, then you will
appreciate being able to stick version="1.0" on that template and
getting on with life rather than having to understand the Xpath well
enough to rewrite it in a form that avoids Xpath2 type errors.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread