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>
--~--