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

Re: FO cross references

Subject: Re: FO cross references
From: Elena Pierazzo <pierazzo@xxxxxxxxxxxxx>
Date: Mon, 14 Mar 2005 10:54:02 +0100
fo block language
Hi Markus (and others that take care about me),

I found the error: simplyfing the text and the styelesheet in order to send a sample, I found an error in my text: I used a wrong attribute (@type ="CDATA" instead of @target="IDREF") elsewhere. Correcting it it worked... I'm sorry.

Your help was fondamental, thank you a lot.
Elena

Markus Abt wrote:

Hi Elena,



Hi Markus,

thank you for your instructions.
The fofile.xml seems to be correct as I get:

<fo:block language="it" margin-left="3pt" font-size="10pt" space-after="4pt" space-before="4pt" id="N4008BE" hyphenate="true">Per i componeneti cfr. la sezione img

(p. <fo:page-number-citation ref-id="img"/>).

</fo:block>

and

<fo:block id="img" font-style="italic" font-size="14pt" space-before="20pt" space-after="12pt"/>
<fo:table>
...
</fo:table>


Have you searched for id="img" in the FO document?
Maybe it is not unique.

Modify the fo:block in the FO to be non-empty, i.e.
<fo:block id="img" ... >bla bla</fo:block>
Then try step 2 (fop -fo ...) again.



But when I try the second step I get:
E The process ended with code : 2 The error was : [ERROR] file:/C:/documenti/MAG/mag_2_0/Documentazione/Reference2.xml_xslt:10428:50 page-number-citation must contain "ref-id"


Could also be a Fop bug...



I'm using FOP inside oXygen 5.1. The version of Xalan is 2.5.1, no idea of the FOP version (I've looked everywhere...)


fop -v

I do not use oXygen.

If nothing helps, you may construct a minimalistic FO document with
only the required parts to convert the FO to PDF and mail it directly
to me (or post it to the list if it is not to big).

Markus

__________________________
Markus Abt
Comet Computer GmbH
http://www.comet.de





-- Elena Pierazzo Dipartimento Studi Italianistici Via del Collegio Ricci 10 56126 Pisa tel. +39 0502215056

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.