This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: How to display only certain nodes


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]