I have an xsl-fo document having multiple <page-sequences>
. Every second <page-sequences>
element has the attribute id="end"
. When I reference these IDs with ref-id="end"
, how do I know which element is retrieved? Can I reference the next element having that ID?
Example (my question can be seen again in the comment):
<fo:page-sequence id="end">
...........
</fo:page-sequence>
<fo:page-sequence>
...........
<fo:page-number-citation-last ref-id="end"/>
<!-- unfortunately, the previous element having id="ref" has been thus referenced -->
<!-- how could I reference the next element? -->
...........
</fo:page-sequence>
<fo:page-sequence id="end">
...........
</fo:page-sequence>