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 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Archie CampbellSubject: Converting .TXT to XML - How can I use the .conv file
Author: Archie Campbell
Date: 13 Oct 2006 05:30 PM
Sorry, I should have created a new topic for this.

Converting TXT to XML

I tried one and it produced a .conv file.

I am not sure what to do with it.

Am I able to use it in my Cold Fusion program in a manner similar to how I use a .XLS file in the CF Function XmlTransform?


The source file has one Name=Value pair per line
eg City=Portland
State=OR
The destination file is XML
<City>Portland</City>
<State>OR</State>


Thanks

Postnext
Ivan PedruzziSubject: Converting .TXT to XML - How can I use the .conv file
Author: Ivan Pedruzzi
Date: 13 Oct 2006 07:04 PM
Archie

Please read chapter 17 in the Stylus Studio documentation.

As I mentioned before you will need to investigate how to call Java from CF to use the Stylus Studio Converters

Ivan Pedruzzi
Stylus Studio Team

Posttop
Archie CampbellSubject: Converting .TXT to XML - How can I use the .conv file
Author: Archie Campbell
Date: 13 Oct 2006 08:34 PM
Yes, that is a handy chapter to read.
Thanks for the suggestions.

Given that my Cold Fusion experience is limited and my Java experience even more so, for now I am going to stick with "simple".
"Simple" seems to be that which XSLT can do.
Cold Fusion had the XmlTransform function that takes two files, an XML and a XSLT and produces a new XML file.
Stylus Studio does a nice job of simplifying this process for me.

So, it seems that my use of StylusStudio will be limited to XML to XML conversion.

Yeah? Have I "got it" finally?

I cannot use just XSLT to convert XML to EDI formats.
I cannot use just XSLT to convert Text CSV to XML formats.

Thanks
Archie

 
Topic Page 1 2 3 4 5 6 7 8 9 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.