Subject: Re: [xsl] applying templates to all but ... From: Bruce D'Arcus <bdarcus@xxxxxxxxxxxxx> Date: Sat, 25 Sep 2004 21:08:30 -0400 |
So if I have five in the list, and I want all of the first four that are present in the config file to be applied first, and the last (article) only, well, last (because it is the fallback)? I use the same syntax?
"all" or "any" ?
If you have [1] then only one will be used, the first one
for which their is a hit (using the fact that xslt2 sequences are
ordered, the order of strings in the sequence controls which you try first)
If you mean that you want _all_ of the first four to be applied if
elements with all those attributes are there then you'd need a different
syntax.
<xsl:variable name="refclass-partInSerial" select="('article-newspaper','legal case','bill','article')"/>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] applying templates to all, David Carlisle | Thread | [xsl] Re: xsl-list Digest 24 Sep 20, David Carlisle |
RE: [xsl] Javascript and XSLT, Michael Kay | Date | RE: [xsl] Javascript and XSLT, Jen Jiang |
Month |