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)
-> + Connect to Informix DB 7.31.FD... (2)
-> + Unable to download stylus stud... (5)
-> + conversion CSV to XML (2)
-> + Please help to create a XSL to... (2)
-> + Stylus Studio 2009 unresponsiv... (3)
-> + Stylus Studio 2009 and IBM Jav... (2)
-> - separate one record to two lin... (3)
-> ->separate one record to tw...
-> ->separate one record to tw...
-> + error when running xquery comm... (6)
-> + Convert ebcdic-cp-us to utf-8 (8)
-> - hi urgent plz (1)
-> + Java compile problem (7)
-> + How to set pattern match on th... (3)
-> + Adobe Illustrator CS4 xml not ... (3)
-> + validating XSD with W3c stand... (2)
-> + Count function with condition ... (2)
-> + [Context] variable (4)
-> + Batch process HTML to XML docu... (2)
-> + Need help with adding logiic ... (2)
-> - BUG when editing File Types (1)
-> + Is Stylus Studio XML authoring... (2)
-- Previous [841-860] [861-880] [881-900] Next
+ 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
Fairy LeeSubject: separate one record to two lines by special character 0C
Author: Fairy Lee
Date: 10 Feb 2009 12:57 PM
I have some records that are separated into two lines, so the first line is ended by 0C and the second line is ended by 0D 0A. It reports the following error when converting this ASCII file into XML:
"Can't encode 0xc in text"
What can I do for this issue?

Thanks in advance!

Postnext
Minollo I.Subject: separate one record to two lines by special character 0C
Author: Minollo I.
Date: 10 Feb 2009 03:03 PM
0xC is not a valid character for an XML document (http://www.w3.org/TR/REC-xml/#charsets); if your XML document contains a 0xC character, then that's not a well-formed XML document, and an XML parser will not be able to parse it. You will need to filter out that character before it reaches the XML parser.

Posttop
Tony LavinioSubject: separate one record to two lines by special character 0C
Author: Tony Lavinio
Date: 11 Feb 2009 11:02 AM
If you're using Custom XML Converters, either try adding it to
the "Toss Characters" property as '\f' or adding it to the "Left
Padding" or "Right Padding" properties, if it is inside some
delimiters.

   
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.