Subject:csv to xml conversion - structure hierarchy xml Author:(Deleted User) Date:23 Feb 2006 01:15 PM
Hi, Nicola. Here are two approaches that might help simplify your task:
- Create an XSLT scenario, using the XML document resulting from the conversion from CSV as the source. Once you are satisfied with the output, you can generate Java code from the XSLT and use that Java as part of a conversion application.
- You can execute the XSLT from the command line, as described in the following SSDN forum thread:
As to your other question: yes, 30+ minutes seems like a long time to convert 4meg of CSV to XML. If you can provide the file, we can take a look. (You can send it to stylus-field-report at progress dot com.) Also, be aware that a 4meg CSV will swell considerably (to over 50meg, perhaps) when converted to XML.