xsl-list
[Top] [All Lists]

RE: [xsl] switching between multiple languages in XSL

2006-06-28 02:12:19
We couldn't find a way to do this using <xsl:import> as we 
can't have a certain one included based on a condition

If you have generic code in common.xsl, and specialized code in en.xsl and
fr.xsl, you don't want to try conditionally importing en.xsl or fr.xsl into
common.xsl. Instead, choose en.xsl or fr.xsl as the entry point to the
transformation, and let each of these import common.xsl.

Michael Kay
http://www.saxonica.com/


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