XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Brian HillhouseSubject: Convert from xml to csv (or other text format)
Author: Brian Hillhouse
Date: 07 Feb 2007 10:54 AM
I am looking for a way to take XML output from a web ordering system and convert it to a text file (CSV SDF Dbase etc) that I can then feed into an existing accounts program. There is plenty of help to convert from CSV to XML but not the other way.

Posttop
Ivan PedruzziSubject: Convert from xml to csv (or other text format)
Author: Ivan Pedruzzi
Date: 07 Feb 2007 03:42 PM
Hi Brian,

Try the following:

- create a sample of the desired CSV output file.
- in the XML to XML mapping tool set as source schema your XML file and as target schema the CSV file (click "Convert to XML using Adapter")
- map fields from source to target
- set the output URL in the scenario dialog to the CSV file you would like to generate

Hope this helps
Ivan Pedruzzi
Stylus Studio Team


ImageXMLtoCSV.png


DocumenttoCSV.zip
Example Project

 
Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.