Transform csv to XML
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 1
- Joined: Tue Jul 26, 2005 10:36 pm
- Location: Eau Claire, WI
Transform csv to XML
Post by smdistefano »
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
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
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
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
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service