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)
+ Stylus Studio Technical Forum (14621)
+ Website Feedback (249)
+ XSLT Help and Discussion (7625)
+ XQuery Help and Discussion (2016)
+ Stylus Studio FAQs (159)
- Stylus Studio Code Samples & Utilities (364)
-> + create an xml document with ex... (2)
-> + Default xml converter from com... (2)
-> + Transforming Data With XSLT (5)
-> + Error when creating pdf file (5)
-> + Got Shkespear XML Doc from web... (3)
-> + VFP 8 (2)
-> - CSV import (7)
-> ->CSV import
-> ->CSV import
-> ->CSV import
-> ->CSV import
-> ->CSV import
-> ->CSV import
-> + Generating X12 from XML (4)
-> + How to handle variable input &... (2)
-> + Grab html to xml (2)
-> + XML To X12 conversion using in... (3)
-> + XSLT mapping help required (2)
-> + convert XML to JAVA (2)
-> + Insert a carriage return or li... (3)
-> + Automatation for comparing two... (2)
-> - Filter records (1)
-> + BIT Fields (3)
-> + Restricted Mixed Content (4)
-> - Freelance Project - Mapping di... (1)
-> + flat file to xml conversion (10)
-- [1-20] [21-40] [41-60] Next
+ Stylus Studio Announcements (113)
Topic  
Postnext
Dean TidwellSubject: CSV import
Author: Dean Tidwell
Date: 24 Jun 2008 04:27 PM
I am trying the demo version of Stylus and I wanted to convert this csv file that I had to XML. I thought it would be easy, but it is giving messages that it can not convert to xml.

How do I convert this simple csv file (created from Excel) into an XML file?


DocumentSchedule.csv
Schedule of a csv file

Postnext
Tony LavinioSubject: CSV import
Author: Tony Lavinio
Date: 24 Jun 2008 05:04 PM
Well, if the field names were on the first line, it would be very
quick, as you could do
File|Open, choose the file, check the box 'open with xml converter',
and then choose the CSV converter. One of the options is to read the
labels from the first line.

But, since they are not, you'll need to create a custom converter.
File|New|Custom XML Converter
choose your input file
Then, right-click on the line that starts with 'Base' and
choose the option 'get labels from this line'.

Now when you click the green triangle to run, it will convert it to
XML.

Postnext
Dean TidwellSubject: CSV import
Author: Dean Tidwell
Date: 10 Jul 2008 10:14 AM
Thanks for the quick reply!
One thing that was needed is for Java to be installed! which it never was, so after installing Java, it seems to allow the software to do what it needs to do. I still have some issues with the conversion. I am using the professional version of the software. I am not seeing the check box 'open with xml converter',"and then choose the CSV converter."

I watched the video at the website
http://www.stylusstudio.com/videos/convert-to-xml1/convert-to-xml1.html

and yes in the Enterprise Edition, it appears to show up as an option in the video.

Do I need to reinstall the Professional edition, because maybe without having Java installed, the binary did not include the capability to "open with XML converter"?

Dean

Postnext
Tony LavinioSubject: CSV import
Author: Tony Lavinio
Date: 10 Jul 2008 07:57 PM
The XML Converters are only included in the Enterprise edition.

Postnext
Dean TidwellSubject: CSV import
Author: Dean Tidwell
Date: 14 Jul 2008 04:11 PM
Tony,
Everything work as planned now. I have an XML file from my CSV file.
-just a brief history, I uninstalled the Professional version, and installed the Enterprise edition. I then followed the steps you mentioned, (and shown in the video). The conversion went smooth and accurate, and I was able to get the XML I was looking for.

Now that I know Stylus Studio can do what I am looking to do, how do I start learning more about the software as what I am really after is a script for/inside my Autocad or Excel software/file (or batch conversion of lots of the independently created CSV files from each of those Autocad or Excel schedules)

I have a price quote of $500 dollars to create a program that can do conversions from inside AutoCad. I was thinking of options.

If you want to chime in on this post, I would appreciate it, however, I do not have anymore technical question, over this thread.

Thanks for your help,

Aloha,
Dean Tidwell




Postnext
Tony LavinioSubject: CSV import
Author: Tony Lavinio
Date: 14 Jul 2008 11:24 PM
You can script the conversions through the stylusxslt.exe or
stylusxqy.exe executables that live in the same directory that
you installed Stylus Studio into.

Or, to create programs that directly call the converters, you
would need to purchase the XML Converter licenses. For that,
see http://www.xmlconverters.com/

Posttop
Dean TidwellSubject: CSV import
Author: Dean Tidwell
Date: 17 Jul 2008 11:12 AM
Tony,

Could you explain how the first process would work?

xslt, is that a template to convert a batch group of CSV files?

(by skill level is extreme beginner)

aloha,
Dean

   
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.