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
Luka StolyarovSubject: Converting text to XML issue
Author: Luka Stolyarov
Date: 12 May 2010 02:56 PM
Hello. I'have recently discovered Stylus Studio and am still actively learning it. Here's the problem I have. I have a cvs file in this format:

Filing Type,STATE TAX LIEN:Action Type,STATE TAX LIEN:Volume or Book,4779:Filing Date,03/08/2010:Debtor,Debtor's Name:Debtor Amount,157 followed by and end of line character.

If I import it right now and convert it to XML, the commas are being interpreted correctly and so does the end of line. However, the : are ignored. Is there a way for me to specify how to define the comma as a delimiter between key and value and : as a delimiter between key>value pairs.

Thanks!
Luka

Postnext
Tony LavinioSubject: Converting text to XML issue
Author: Tony Lavinio
Date: 13 May 2010 11:56 AM
Try using the Custom XML Converters, and setting the Region->Component Separator to ':'.

The key=value setting would be perfect, except your data appears to be value=key :(.

Posttop
Luka StolyarovSubject: Converting text to XML issue
Author: Luka Stolyarov
Date: 13 May 2010 01:30 PM
I will give it a shot. Thank you!

 
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.