There is still one question :
I do this test in a <xsl:template match="FICHE"> tag, when I call this
template, I do a sort :
<xsl:apply-templates select="FICHE">
<xsl:sort select="SOUSTHEME" />
</xsl:apply-templates>
Do this test :
<xsl:if test="SOUSTHEME != following-sibling :: SOUSTHEME[1]">
<xsl:attribute name="break-after">page</xsl:attribute>
</xsl:if>
take the sorted data or the original XML datas ?
In other words, should I do a first transformation to sort my data in
order to be able to do this test correctly ?
I think I should cause the result is not what I expected... I just need a
confirmation, or maybe a way for me not to do 2 XSLT transformation.
Thanks, all of that is really interesting.
Simon
Oleg Tkachenko wrote:
> Nope, SOUSTHEME != following-sibling::SOUSTHEME is true if and only if
> all follwing SOUSTHEME siblings have the same string value as SOUSTHEME
> children of current node.
Wrong guess. SOUSTHEME != following-sibling::SOUSTHEME is true is there is
at
least one following sibling SOUSTHEME, which string value is not equal to
SOUSTHEME string value.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]