how to read 2 xml files and xsl file in XSLTInputHandler....

Here should go questions about transforming XML with XSLT and FOP.
JANA
Posts: 8
Joined: Wed Jan 18, 2006 9:53 am

how to read 2 xml files and xsl file in XSLTInputHandler....

Post by JANA »

Hi...

I have done some modifications in userconfig.xml file (fop/lib/userconfig).

In command prompt i have run like this:

fop -c D:\xmlpdf\fop-0.20.5-bin.tar\fop-0.20.5\conf\userconfig.xml -xml xmloutput2.xml -xsl xslfo.xsl -pdf test.pdf

but i have written a java file., in tht XSLTInputHandler method accepts only 2 parameters.
how to add my config.xml file.... plz give the solution

jana.
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Hi Jana,

I do not know exactly what you mean but ingeneral if you want to access 2 XML files from XSLT then you can do that using the document function. Or, if you want you can combine the two XML into one file using entities for instance or XInclude.

Best Regards,
George
Post Reply