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