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
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
chris steinigSubject: Ok, I can programatically convert from arbitrary flat file formats to XML, can I do the reverse?
Author: chris steinig
Date: 09 Oct 2009 04:47 PM
Originally Posted: 09 Oct 2009 04:46 PM
Ok, I can programatically convert from arbitrary flat file formats to XML, can I do the reverse?

In my previous question I asked whether I could use the DataDirect API and .conv files to programatically go from a predefined flat file format to XML ( http://www.stylusstudio.com/SSDN/default.asp?action=9&read=8777&fid=23 ). Now, I need to do the reverse as well. We deliver files to our customers and need to be able to do so in a flat file format they've described to us (encapsulated in a .conv file). Can we convert an XML file to an arbitrary flat file?

Posttop
(Deleted User) Subject: Ok, I can programatically convert from arbitrary flat file formats to XML, can I do the reverse?
Author: (Deleted User)
Date: 29 Oct 2009 01:43 PM
If you use a conversion defined through a .conv file you cannot go back from XML to flat file, unless you write an XSLT stylesheet to generate it piece by piece.
If you are using a "standard" converter, it's enough to convert the XML document into another XML following the proper schema, then feed it into the same converter engine.

Alberto

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 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.