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
Conferences Close Tree View
- Stylus Studio Feature Requests (1192)
-> - jump to source location does n... (1)
-> + Close Project? (2)
-> - Eclipse-Style Tabs for source ... (1)
-> + Semantic Studio: More than Sim... (4)
-> + xml to xml ,apping (2)
-> + XSD Description in Mapper View (4)
-> - XSLT Editor Window - Template ... (1)
-> + Convert directory tree to XML (2)
-> - Convert from xml to csv (or ot... (2)
-> ->Convert from xml to csv (...
-> + Find Dialog Typo (2)
-> + Edit : Go To Parent in XML edi... (2)
-> - Processing has been cancelled (1)
-> + xsl:sort bug in xsl:apply-temp... (2)
-> - suppress creation of empty tar... (1)
-> - Why Stylus Studio doesn't supp... (1)
-> + Hyphen (Dash) in XML Comment E... (8)
-> + XML Difference Documents - Can... (3)
-> - Persistent tree view collapse ... (1)
-> + Web Services HTTP Custom Heade... (5)
-> + Option to pretty-print preview... (2)
-- Previous [241-260] [261-280] [281-300] Next
+ Stylus Studio Technical Forum (14621)
+ Website Feedback (249)
+ XSLT Help and Discussion (7625)
+ XQuery Help and Discussion (2017)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
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

   
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.