Re: [xep-support] Merge XML files before generating PDF

From: Dan Ochs <>
Date: Tue Jan 23 2007 - 07:23:44 PST

You could have a master "map" file that acts as a table of contents
that references all of the documents you want to assemble and how you
want to assemble them. Then you could use the document() function to
retrieve the XML and process it. The XML assembly and fo creation
could be done as one step, but it's easier to debug if it is done as
two. If you are looking for a more specific solution, you will have
to post more information and sample XML documents.

Dan Ochs
Principal Consultant, Wrycan, Inc.

On 1/23/07, Stralka, Mark [JANUS] <> wrote:
> Hi,
> We have the requirement to combine several XML documents into one large XML
> document before generating a PDF. Can any please provide a good example of
> how to combine several XML files into one larger XML document using DOM,
> Sax, or any other java XML technology? Ideally, these XML documents will be
> pulled down from URLs, not just the file system.
> Thank you
> Mark Stralka
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service
Received on Tue Jan 23 07:35:06 2007

This archive was generated by hypermail 2.1.8 : Tue Jan 23 2007 - 07:35:07 PST