Page 1 of 1

2 Million XML lines processing !!

Posted: Fri Nov 15, 2013 9:49 am
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.

Re: 2 Million XML lines processing !!

Posted: Fri Nov 15, 2013 12:17 pm
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