fop-users  

Re: How to include .fo file into another .fo

Shaki
Wed, 01 Sep 2010 09:54:28 -0700

Chris Bowditch <bowditch_chris <at> hotmail.com> writes:

> 
> You are using relative paths in the reference. Did you try specifying a 
> full file URL, e.g. href="file:///c:/mydir/2.fo"
> 
> Chris
> 


I tried full file URL, received same error message:
[Fatal Error] Error attempting to parse XML file

I think the problem is not with the location of the file but with the content of
file.

If i change XInclude parse parameter from parse="xml" to parse="text", it works
and includes whole file 2.fo as text.



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org