|
Subject: [xsl] adding multiple variables to a complex condition From: Eric Smith <Eric.Smith@xxxxxxxxxxxx> Date: Sat, 8 Dec 2001 22:12:23 +0100 |
What is a good way to add other variables like output2 .. $outputn
to this conditional?
<xsl:template name= "conditional">
<xsl:choose>
<xsl:when test="
$output='all'
or
(
(ancestor::*|@*)[name()= $output] or
contains(@include,$output) or
contains(@exclusive,$output) and
not(contains(@reject,$output)) and
not(@exclusive and not(contains(@exclusive,$output))) and
not(@reject = 'all')
)
">yes</xsl:when>
</xsl:choose>
</xsl:template>
--
Eric Smith - currently using xalan and xsltproc - what a difference speed makes - and fop on linux
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] get base URI of a node, Michael Kay | Thread | Re: [xsl] adding multiple variables, Garrick Besterwitch |
| [xsl] get base URI of a node, Jean-Marc Vanel | Date | Re: [xsl] adding multiple variables, Garrick Besterwitch |
| Month |