I'd use Ant instead of Cocoon for this. I've blogged a couple of
techniques that might help:

http://www.wallandbinkley.com/quaedam/?p=63 (for doing the XSL
processing)

http://www.wallandbinkley.com/quaedam/?p=99 (for posting the output into
eXist)

Peter

 

-----Original Message-----
From: thomas908 [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 26, 2007 4:46 AM
To: [email protected]
Subject: Process multiple XML files


Please help me find a solution to this problem. The requirement I have
is something like this:

1. We have, as an input, XML files ranging from 20-400MB which we need
to process.
2. A series of XSLTs (12 in number) need to be applied on these XMLs to
process them (XML to XML transformation). Output of first XSLT will be
input of second, output of second will be input of third and so on.
3. These XMLs need to be imported in an XML Database (eXist)

We have to automate this process.
I have written some Java code, which does the following 1. Applies XSLs
on XML 2. Stores the processed XMLs in eXist database

But for big XMLs I keep on getting OutOfMemory Exceptions. Is there a
better approach to do this?
Will Cocoon be of any use in this?
--
View this message in context:
http://www.nabble.com/Process-multiple-XML-files-tf4696518.html#a1342478
7
Sent from the Cocoon - Users mailing list archive at Nabble.com.


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