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: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: 24 Oct 2004 14:24:17 +0100
>>>>> "Bruce" == Bruce D'Arcus <bdarcus@xxxxxxxxxxxxx> writes:

    Bruce> I've been sort of wondering about splitting the stylesheets
    Bruce> in my project between those that use 2.0-only features, and
    Bruce> those that are 1.0-compliant.  I didn't even know I could
    Bruce> mix-and-match stylesheet versions.

    Bruce> My thinking is that allows implementers who insist on using
    Bruce> 1.0-based processors to pre-process the content (what I am
    Bruce> doing now with 2.0 features) in their language of choice,
    Bruce> but then still use the rest of the code (which is most of
    Bruce> it really).

    Bruce> Any general suggestions on this?

Just code xsl:fallback wherever version=2.0.
-- 
Colin Paul Adams
Preston Lancashire

Current Thread