If you want to check the value of attribute
Given the subject line of this thread and the original posted input
example it's clear that's what the original poster wanted to do.
<xsl:when
test="id_mensajesforos/@seleccionado='si'">
Yes that would work, if teh current node was the parent of
id_mensajesforos and is equivalent to what the original poster showed
<xsl:when test="id_mensajesforos[(_at_)seleccionado='si']">
Your reply
You SHOULD CLOSE THE SQUARE BRACKET AND THEN PUT THE =
sign and THEN THE VALUE YOU WANNA CHECH FOR IN SINGLE
QUOTES.
appeared to be saying that there is something wrong with this syntax,
which is not so.
David
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list