[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Can this be written in a shorter form?
Helle Joeri,
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|