Thanks a lot!
Output as per requirement! Needs to do further process will need more help.
Thanks,
Shailesh
-----Original Message-----
From: Mukul Gandhi [mailto:gandhi(_dot_)mukul(_at_)gmail(_dot_)com]
Sent: Saturday, July 29, 2006 2:14 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Glossary Help
Sorry, there was a slight mistake in the following template. The correct one
is:
<xsl:template match="body">
<glossarylist>
<xsl:apply-templates select="p/i/b[not(../../text())]" />
<xsl:apply-templates select="p/i/b[../../text()]" />
<xsl:apply-templates select="p/b[not(../text())]" /> <!-- there
was a mistake here -->
<xsl:apply-templates select="p/b[../text()]" /> <!-- there was a
mistake here -->
</glossarylist>
</xsl:template>
Regards,
Mukul
http://gandhimukul.tripod.com
--~------------------------------------------------------------------
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>
--~--
--~------------------------------------------------------------------
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>
--~--