[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

fop - internal link

Subject: fop - internal link
From: "Hesselberth, Jan" <Jan.Hesselberth@xxxxxxxxxxxxxxxxxx>
Date: Wed, 28 Nov 2001 11:11:12 -0000
fop fo basic link
I have the following .fo output.

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master master-name="A4" page-height="21cm"
page-width="29.7cm"  margin-top="1cm" margin-bottom="2cm" margin-left="1cm"
margin-right="1cm">
<fo:region-body margin-top="1cm"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-name="A4">
<fo:flow flow-name="xsl-region-body">
<fo:block space-before="5pt" space-after="5pt">Summary of
Accounts</fo:block>
<fo:block></fo:block>
<fo:table>
<fo:table-column column-width="3cm"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell>
<fo:block font-family="sans-serif" font-size="10pt"
space-before.optimum="5pt"  space-after.optimum="5pt"><fo:basic-link
internal-destination="ACC1"
color="blue">70171234</fo:basic-link></fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell>
<fo:block font-family="sans-serif" font-size="10pt"
space-before.optimum="5pt"  space-after.optimum="5pt"><fo:basic-link
internal-destination="ACC3"
color="blue">70171235</fo:basic-link></fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
<fo:block id="ACC1" break-before="page" space-before="5pt"
space-after="5pt">Account  Details</fo:block>
<fo:table space-after="10pt" border-after-style="solid"
border-after-width="1pt">
<fo:table-column column-width="2.5cm"/>
<fo:table-body>
</fo:table-body>
</fo:table>
<fo:block id="ACC3" break-before="page" space-before="5pt"
space-after="5pt">Account  Details</fo:block>
<fo:table space-after="10pt" border-after-style="solid"
border-after-width="1pt">
<fo:table-column column-width="2.5cm"/>
<fo:table-body>
</fo:table-body>
</fo:table>
</fo:flow>
</fo:page-sequence>
</fo:root>

When I process it with fop I get the error: 
FOP 0.20.1
using SAX parser org.apache.xerces.parsers.SAXParser
building formatting object tree
setting up fonts
 [1] [2ERROR: The id "ACC3" already exists in this document

Can anyone tell me what I am doing wrong?

Regards
	Jan





-------------------------------------------------------------------------- 
CONFIDENTIALITY 
The information contained in this e-mail and any files transmitted with it 
is private and confidential. It is intended for the named addressee only. 
If you are not the intended addressee you are prohibited from 
storing, copying or using the information in any way. 
If you received this e-mail due to a transmission error please notify the 
sender immediately. No liability is accepted by Northern Rock 
for any losses caused by viruses contracted during transit 
over the Internet or present in any receiving system. 
This e-mail is not intended to create legally binding commitments on 
behalf of Northern Rock plc, nor do its contents reflect the corporate 
views or policies of Northern Rock plc. 
-------------------------------------------------------------------------- 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.