RE: [xsl] How to display only certain nodes

Subject: RE: [xsl] How to display only certain nodes
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Thu, 14 Jun 2001 09:01:21 +0100
> 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


Current Thread