Hi,
the task is to identify semantically identical elements where some additional attributes do not match.
The XSL-transformation should find a node NAME which @id attribute matches to another NAME/@id in the document tree and additionally a specific further conditions holds (@cid's shouldn't be the same). For that I would like to refer to the node selected in the "following" axes, but I do not know how to refer to this "current-following" node. <xsl:if test="./NAME/@cid=following::NAME/@cid">
and now I would liek to refer to the current and the selected following node for further checks like <!--[CURRENT@id != CURRENTFOLLOWING-@id]" --> ....
</xsl:if>
the task is to identify semantically identical elements where some additional attributes do not match.
The XSL-transformation should find a node NAME which @id attribute matches to another NAME/@id in the document tree and additionally a specific further conditions holds (@cid's shouldn't be the same). For that I would like to refer to the node selected in the "following" axes, but I do not know how to refer to this "current-following" node. <xsl:if test="./NAME/@cid=following::NAME/@cid">
and now I would liek to refer to the current and the selected following node for further checks like <!--[CURRENT@id != CURRENTFOLLOWING-@id]" --> ....
</xsl:if>