xsl-list
[Top] [All Lists]

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

2004-10-24 06:24:17
"Bruce" == Bruce D'Arcus <bdarcus(_at_)myrealbox(_dot_)com> 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


<Prev in Thread] Current Thread [Next in Thread>