[xsl] copy and translate an element and its children

Subject: [xsl] copy and translate an element and its children
From: "Matthew L. Avizinis" <mla@xxxxxxxxx>
Date: Thu, 03 Jul 2003 14:14:57 -0400
Hello,
I am currently using
<xsl:variable name="short-title">
<xsl:for-each select="title/node()">
<xsl:if test="not(position()=1)">
<xsl:copy-of select="."/>
</xsl:if>
</xsl:for-each>
</xsl:variable>
This copies all nodes unchanged. However, what I'd now like to be able to do is create the same variable but with the contents of each node copied translated to uppercase. Is there an elegant way to do this?
thanks,
Matthew L. Avizinis



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



Current Thread