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(_at_)coretech(_dot_)co(_dot_)nz>
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>
_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--
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...
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--