xsl-list
[Top] [All Lists]

AW: How to filter records with the same element?

2003-08-05 03:27:47
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(_at_)lists(_dot_)mulberrytech(_dot_)com
Betreff:        [xsl] 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



<Prev in Thread] Current Thread [Next in Thread>
  • AW: How to filter records with the same element?, Markus Abt <=