Pass the file name(s) (and path) of the external XML document(s) to the XSLT 
using parameters and use the document() function, one for each parameter. It 
will read the file(s) and produce variables that contains an XML documents that 
are accessible to both templates and XPath functions.
-- 
Charles Knell
[EMAIL PROTECTED] - email



-----Original Message-----
From:     Gosselin, Michael <[EMAIL PROTECTED]>
Sent:     Wed, 15 Mar 2006 11:25:11 -0500
To:       [email protected]
Subject:  Referencing multiple XML files using FOP

Hello,

My question is rather simple, and probably documented somewhere, but not
where I can find it easily.

Currently, we have a process to build PDF and PCL files using FOP.  We take
an XML file, run it with a format file (XSLT) and produce output.

However, we will need to change the formatting so that we can take input
from two XML files and format with them.

Now, my resource on this has just gone on vacation for a week, so I need the
help of the rest of the world.  How do I set up the XSL file to look for the
different XML files I will be using?  He showed me once, but it didn't stick
in my brain.

We have FOP for Unix, version 0.20.  Due to confidentiality rules and
certain email filters, I am not allowed to post any XML file or the XSL
code.  I also have EditiX as an editor, so I can see things (sort of)
visually when I test.

Thanks for your help with this.

Michael Gosselin
Athena Diagnostics, Inc.
(508) 756-2886 x3708
(800) 394-4493 x3708



---------------------------------------------------------------------
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