2 Million XML lines processing !!

Here should go questions about transforming XML with XSLT and FOP.
harikumar_23
Posts: 2
Joined: Thu Sep 19, 2013 10:04 am

2 Million XML lines processing !!

Post by harikumar_23 »

Hi,

I have a file (.txt) that contains 2 million xml lines and I want to perform XSLT 2.0 transformation on each line and direct the output to console/any other text file.

Please advice, how this could be done in Oxygen 14.0 version.
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

Re: 2 Million XML lines processing !!

Post by adrian »

Hi,

Is the input file a plain text file or an XML file? It's not clear from what you described.
You can't apply an XSLT transformation directly on a plain text file, the input has to be XML.

If the input is a text file and is well structured (comma/tab separated) you can first import it into an XML file (File > Import > Text File). Then for the imported XML you have to write an XSLT stylesheet that processes it to whatever output format you need.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply