I am new to this and have a question. I know I can use the import functionality to convert a csv file to XML. What I want to know is can I get the xslt generated for that import and use it again later outside the IDE or will I have to create it myself? Is there a way to create this transform without doing it by hand?
I need to do 2 things. First, I have a csv input file which has a few hundred records in csv format. I want to transform it into an xml file which duplicates the csv file.
Second, I need to generate a xml doc for each record/row in the csv file.
Any direction would be appreciated.
Sal
Transform csv to XML
-
- Posts: 1
- Joined: Tue Jul 26, 2005 10:36 pm
- Location: Eau Claire, WI
Hi Sal,
There is a sample stylesheet I posted some time ago that converts tab delimited files to XML, you can use that with a couple of changes outside of oXygen. Note that you need an XSLT 2.0 processor like Saxon 8.4 for instance.
http://www.oxygenxml.com/forum/ftopic977.html
Best Regards,
George
There is a sample stylesheet I posted some time ago that converts tab delimited files to XML, you can use that with a couple of changes outside of oXygen. Note that you need an XSLT 2.0 processor like Saxon 8.4 for instance.
http://www.oxygenxml.com/forum/ftopic977.html
Best Regards,
George