Re: XSLT: conditional output, or l10n issues

Subject: Re: XSLT: conditional output, or l10n issues
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 19 May 1999 17:11:23 +0100 (BST)

<xsl:stylesheet 
  xmlns:xsl="http://www.w3.org/XSL/Transform/1.0";
  result-ns="">

<xsl:param-variable name="lang" expr="'de'"/>

<xsl:template match="*[lang($lang)]">
  <xsl:apply-templates/>
</xsl:template>

<xsl:template match="*[@xml:lang and not(lang($lang))]">
</xsl:template>


</xsl:stylesheet>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread