Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XSL / for-each: where 2 values are matched...

Status
Not open for further replies.

rjonesX

Technical User
Jun 18, 2001
56
0
0
US
Basically, I am using xsl and xml to run the entire dynamic content of a site, for most pages the content is separated by a ...

xsl:for-each order-by="+lname" select="info/article[type$eq$'News']"

I want to find a way so that I can have two values matched, not only does the type node need to have the value of News, but the status node needs to equal Urgent, or Current, or Archive...

Any ideas?

does it involve xsl:if or what?

thanks a bunch

russ
 
Have you tried:

select="info/article[type$eq$'News'||type$eq$'Urgent']"
etc.




Regards,

Oliver Talens
*****************************
Abyss I.T. Solutions
Mathildastraat 36B
4901 HC Oosterhout


tel: +31 (0)162-439809
fax: +31 (0)162-439882
O.Talens@Abyss.nl
*****************************
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top