xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Smethurst, Michael" <Michael.Smethu...@gee.co.uk>
Subject RE: internal linking between separate page-sequences
Date Mon, 07 Jan 2002 11:56:25 GMT
for the purposes of this stripped down file i'm not using generate-id() at

[i was using it to generate ids based on nodes in the source xml tree but i
stripped it out (and replaced it with the WORD "generated_id" to signify
that i would in practice generate the id in the xslt) cos i wanted the xsl
file to work with ANY xml document.]

My problem is not with using generate-id(). If you look at the source file i
posted, "generated_id" is seen twice: once in the first page-sequence as the
value of the attribute 'internal-destination', and once in the second page
sequence as the value of the attribute 'id'.

So it is unique throughout the xml document (only one node has the id

I think i've confused matters by using the WORD "generated_id"; try
substituting "lala" or "test" or "biscuit"

<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:simple-page-master master-name="A4">
<fo:region-body margin-bottom="20mm"/>
<fo:region-after extent="20mm"/>
<fo:page-sequence country="uk" language="en" initial-page-number="1"
<fo:static-content flow-name="xsl-region-after">
<fo:flow flow-name="xsl-region-body">
<fo:basic-link internal-destination="biscuit">Link: Key
<fo:page-sequence country="uk" language="en" master-name="A4">
<fo:static-content flow-name="xsl-region-after">
<fo:block>Something else</fo:block>
<fo:flow flow-name="xsl-region-body">
<fo:block id="biscuit">Destination: Key Questions</fo:block>

View raw message