ok thanks guys
--- On Wed, 3/16/11, Martin Honnen <Martin(_dot_)Honnen(_at_)gmx(_dot_)de>
wrote:
From: Martin Honnen <Martin(_dot_)Honnen(_at_)gmx(_dot_)de>
Subject: Re: [xsl] need a help with following siblings
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Date: Wednesday, March 16, 2011, 12:06 PM
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/
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--