Helle Joeri,
<xsl:when test="$node_detlijn[$node_position]/@type = 'text' or
$node_detlijn[$node_position]/@type = 'style'">
I need to test if the attribute type = "style" or "text".
As far as I know, the syntax must be like your working solution:
test="$A='A' or $A='B' or $A='C'" <- The usual way
I don't think it is possible to group the right sides of the equations:
test="$A=('A' or 'B' or 'C')" <- Not possible
I have not tried this, but I seem to remember having seen on this list, that
it is not possible.
If you have many tests (more than just two), perhaps it would be shorter if
you make a variable with a short name that contains
$node_detlijn[$node_position]/@type.
Regards,
Ragulf :)
_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
http://join.msn.com/?page=features/virus
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list