xsl-list
[Top] [All Lists]

RE: Can this be written in a shorter form?

2004-01-07 13:43:05

This is part of a <xls:choose> test

<xsl:when test="$node_detlijn[$node_position]/@type = 'text' or
$node_detlijn[$node_position]/@type = 'style'">


<xsl:when test="$node_detlijn[$node_position]/@type[. = 'text' or . = 'style']" 
/>

should do the trick.


Lars


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>