Subject: AW: How to filter records with the same element?
From: Markus Abt <abt@xxxxxxxx>
Date: Tue, 5 Aug 2003 12:27:47 +0200
|
Hello Joseph,
if by "XML output" you mean XML input to the stylesheet, try
<xsl:apply-templates select="b2[text()='NorthLib' or text()='SouthLib']"/>
Regards,
Markus
__________________________
Markus Abt
Comet Computer GmbH
http://www.comet.de
----------
Von: Joseph Tan
Gesendet: Montag, 4. August 2003 19:56
An: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
Betreff: How to filter records with the same element?
XML output:
<b2>OnlineLib</b2>
<b2>LibWebSite</b2>
<b2>NorthLib</b2>
<b2>SouthLib</b2>
I would like to display only if it's either/and "NorthLib" or "SouthLib". Do not display "OnlineLib" and "LibWebSite".
Thanks!
Joseph
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|