xsl-list
[Top] [All Lists]

Re: [xsl] Grouping elements using XSLT

2006-07-05 11:26:51
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


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>