[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] xsl, and different xml versions


Subject: Re: [xsl] xsl, and different xml versions
From: Jake Briggs <jakbri@xxxxxxxxxxxxxx>
Date: Fri, 15 Apr 2005 15:33:47 +1200

A simple "yes" would have sufficed.

Aron Bock wrote:

Jake, that was just an example of using modes to invoke different templates ... which happen to reside in different stylesheets. Adding a "version" attribute (as you indicate below) and branching on that value are necessary for your specific problem, but are simply clerical details wrt the general approach.

Regards,

--A

From: Jake Briggs <jakbri@xxxxxxxxxxxxxx>

Thanks for the reply. How do we know which "mode" the input file

(doc.xml) should be transformed in?
Should it not be like this :

The input file (doc.xml):
=====
<doc version="a"> ######## Note the version attribute ########
<foo/>
</doc>


_________________________________________________________________
Dont just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/



-- Named after its country of origin 'England', English is a little known dialect used by up to 1.5 billion non-Americans worldwide. Some interesting but obviously incorrect features of the language include:

- queues of people
- wonderful coloUrs
- the useful metal aluminIum
- the exotic herbs (h-urbs), basil (ba-zil) and oregano (o-re-gaa-no)
- specialiSed books called 'dictionaries' that tell you how to spell words correctly

Many people using this bizarre gutter speak also subscribe to the pagan belief that water freezes at 0 degrees and that distances should be measured in the forbidden mathematical system of base-10...


Current Thread