Subject: Re: [xsl] problem getting "every" expression to work From: Martin Honnen <Martin.Honnen@xxxxxx> Date: Mon, 20 Jul 2009 19:56:09 +0200 |
Beginner here! I've been trying to use the "every" expression, but I can't seem to get it right. I put an example below and I'm hoping someone can help. I'm trying to do one thing when the element <container> is encoded for every c02[not(@level)] but something else when some of the c02[not(@level)] do not have <container> encoded. The example XSL code below is currently processing both of the <c01> in the example XML, even though the second <c01> has a <c02> with no <container> encoded.
<xsl:template c01[@level='series']> <xsl:when test="c02[not(@level)][every $i in did satisfies $i/container]">
Martin Honnen http://msmvps.com/blogs/martin_honnen/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] problem getting "every" expre, Joyce Celeste Chapma | Thread | RE: [xsl] problem getting "every" e, Michael Kay |
[xsl] problem getting "every" expre, Joyce Celeste Chapma | Date | Re: [xsl] question on support of st, Manfred Staudinger |
Month |