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>
--~--