[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Can this be written in a shorter form?


Subject: RE: [xsl] Can this be written in a shorter form?
From: "Lars Huttar" <lars_huttar@xxxxxxx>
Date: Wed, 7 Jan 2004 14:43:05 -0600

> 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



Current Thread