Amick, Eric
Wed, 01 Sep 2010 10:11:57 -0700
Could it be that you need to include a definition for the fo namespace prefix in the file you are including? It's not overly clear from the standard if that is necessary.
Eric Amick Systems Engineer II Legislative Computer Systems > -----Original Message----- > From: Shaki [mailto:shak...@gmail.com] > Sent: Wednesday, September 1, 2010 12:54 > To: fop-users@xmlgraphics.apache.org > Subject: Re: How to include .fo file into another .fo > > 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 --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org