Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XML
|
XML General XML discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XML section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 11th, 2003, 11:05 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 231
Thanks: 0
Thanked 0 Times in 0 Posts
Default XML and non displayable ASCII characters

Is it considered legal to include non displayable characters in the node content?

For example, the ASCII character 0 can not be represented on the screen

Regards
Owain Williams
__________________
Regards
Owain Williams
 
Old June 12th, 2003, 03:47 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

As far as I know you can only have characters 0x9 (tab), 0xA (new line) and 0xD (return) below the character 0x20 (space).

--

Joe
 
Old June 12th, 2003, 04:58 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
Default

Joe is spot-on. See http://www.w3.org/TR/REC-xml#charsets. I guess you could store the char codes as integers instead and do some translation in your program...





Similar Threads
Thread Thread Starter Forum Replies Last Post
French Characters in XML mansharma_s XML 5 February 9th, 2007 07:38 AM
inserting XML/ASCII data into SQL using VB.net outcast1881 Other Programming Languages 0 July 20th, 2006 07:39 AM
XML vs. special characters brko C# 1 January 23rd, 2006 11:05 AM
XML escape characters ACE2084 XML 0 September 9th, 2005 03:12 PM
Unrecognised XML characters crmpicco XML 3 May 20th, 2005 07:12 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.