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:[email protected]]
> Sent: Wednesday, September 1, 2010 12:54
> To: [email protected]
> 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: [email protected]
> For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to