Subject: [xsl] shortest way to write this xsl:if statement From: henry human <henry_human@xxxxxxxx> Date: Fri, 15 Jun 2012 12:54:21 +0100 (BST) |
Hello The following if statement is too long if try it as in the sample bellow. How could be shorter? The if - logic to create a for-each loop: ---------------- xsl:if D4/G100/6id or D4/G100/9id or D4/G100/12id or D4/G100/6id15 or D4/G100/45id or D4/G100/22id, D4/G100/10id or D4/G100/19id is 'A' or 'B' or 'C', or 'D' or 'F' The Sample: <xsl:if test="D4/G100/6id = 'A' OR test="D4/G100/6id = 'B' OR test="D4/G100/6id = 'C' OR test="D4/G100/9id = 'A' OR test="D4/G100/9id = 'B' .....> <xsl:for-each select=" ......"> ... </xsl:for-each> </xsl:if> --------------- kind regards hh
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] [ANN] Saxon-CE 1.0 (XSLT , Michael Kay | Thread | Re: [xsl] shortest way to write thi, G. Ken Holman |
Re: [xsl] [ANN] Saxon-CE 1.0 (XSLT , Philip Fearon | Date | Re: [xsl] shortest way to write thi, G. Ken Holman |
Month |