[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Red Light wrote:
If a "listElement" element already is the context node then use
boolean ( .[categOrSubOrOther ='Categ']/following-sibling::listElement[categOrSubOrOther = 'Sub'] )
--
Re: [xsl] need a help with following siblings
Subject: Re: [xsl] need a help with following siblings From: Martin Honnen <Martin.Honnen@xxxxxx> Date: Wed, 16 Mar 2011 13:06:48 +0100 |
Red Light wrote:
one last thing if i may if have to include my test inside a loop for each will i have to change something ( right now it give false for every row)
<xsl:for-each select="/doc/content/element/element_content/data/items/listElement"> <fo:block> <xsl:value-of select="boolean ( listElement[categOrSubOrOther ='Categ']/following-sibling::listElement[categOrSubOrOther = 'Sub'] )"></xsl:value-of> </fo:block>
</xsl:for-each>
If a "listElement" element already is the context node then use
boolean ( .[categOrSubOrOther ='Categ']/following-sibling::listElement[categOrSubOrOther = 'Sub'] )
--
Martin Honnen http://msmvps.com/blogs/martin_honnen/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] need a help with followin, Red Light | Thread | Re: [xsl] need a help with followin, Red Light |
Re: [xsl] need a help with followin, Red Light | Date | Re: [xsl] need a help with followin, Red Light |
Month |