RE: [xsl] Error message when match=$variable

Subject: RE: [xsl] Error message when match=$variable
From: Jarno.Elovirta@xxxxxxxxx
Date: Tue, 4 Sep 2001 10:13:42 +0300
<xsl:template match="*">
<xsl:variable name="currentname" select="name()" />
&lt;<xsl:value-of select="$currentname" />&gt;<xsl:value-of select="."
/>&lt;/<xsl:value-of select="$currentname" />&gt;
<xsl:choose>
	<xsl:when test="not($german/*[name() = $currentname])">
		Please Translate
	</xsl:when>
	<xsl:otherwise>
		Already translated to <xsl:value-of
select="$german/*[name() = $currentname]" />
	</xsl:otherwise>
</xsl:choose>
</xsl:template>

Jarno

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


Current Thread