RE: [xsl] switching between multiple languages in XSL

Subject: RE: [xsl] switching between multiple languages in XSL
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 28 Jun 2006 10:10:34 +0100
> 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/

Current Thread