This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Error message when match=$variable
- To: xsl-list at lists dot mulberrytech dot com
- Subject: RE: [xsl] Error message when match=$variable
- From: Jarno dot Elovirta at nokia dot com
- Date: Tue, 4 Sep 2001 10:13:42 +0300
- Reply-To: xsl-list at lists dot mulberrytech dot com
<xsl:template match="*">
<xsl:variable name="currentname" select="name()" />
<<xsl:value-of select="$currentname" />><xsl:value-of select="."
/></<xsl:value-of select="$currentname" />>
<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