Two possibilities:

1. Use XSLT with its document() function.

http://www.w3.org/TR/xslt#document

2. If you have an XInclude-capable XML parser (or a SAX filter for
XInclude), you can use XInclude.

http://en.wikipedia.org/wiki/XInclude
http://www.w3.org/TR/xinclude/

HTH

On 27.08.2010 21:54:16 Shaki wrote:
> Hello, 
> 
> is it possible to include one .fo file into another?
> Example: 
> I want to include file address.fo into template.fo
> 
> address.fo:
> <fo:block>Name</fo:block>
> <fo:block>Address</fo:block>
> 
> template.fo:
> <fo:block>Some fo code before address part</fo:block>
> Include address.fo
> <fo:block>Some fo code after address part</fo:block>
> 
> result i want to get:
> <fo:block>Some fo code before address part</fo:block>
> <fo:block>Name</fo:block>
> <fo:block>Address</fo:block>
> <fo:block>Some fo code after address part</fo:block>
> 
> Thanks for your help and suggestions
> Shaki



Jeremias Maerki


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

Reply via email to