This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: How to display only certain nodes
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] How to display only certain nodes
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Thu, 14 Jun 2001 09:01:21 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> The displaying of the messages works fine, but the problem is
> that all of
> the text contained in the Topic node is getting printed out
> onto the page,
> just dumped out before the message nodes get parsed.
Try adding:
<xsl:template match="Topic/*"/>
which causes these elements to produce no output.
Or change the xsl:apply-templates at the Topic level to do
<xsl:apply-templates select="Message"/>
Mike Kay
Software AG
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list