Subject: Re: Grouping elements using XSLT
From: Chad Chelius <cchelius@xxxxxxxxxxxxxxx>
Date: Wed, 5 Jul 2006 14:29:38 -0400
|
Thanks Makul,
That did the trick!
On Jul 5, 2006, at 12:24 PM, Mukul Gandhi wrote:
Please change the code to:
<xsl:template match="/author">
<authors>
<xsl:for-each select="FirstName">
<author>
<authorFName><xsl:value-of select="." /></authorFName>
<authorLName><xsl:value-of
select="following-sibling::LastName[1]" /></authorLName>
</author>
</xsl:for-each>
</authors>
</xsl:template>
Regards,
Mukul
|