[Home] [By Thread] [By Date] [Recent Entries]

Subject: RE: 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
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member