Subject: Re: [xsl] xsl, and different xml versions From: Jake Briggs <jakbri@xxxxxxxxxxxxxx> Date: Fri, 15 Apr 2005 15:33:47 +1200 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] xsl, and different xml ve, Aron Bock | Thread | RE: [xsl] xsl, and different xml ve, Aron Bock |
Re: [xsl] xsl, and different xml ve, Aron Bock | Date | Re: [xsl] Trouble with position!, omprakash . v |
Month |