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 December 16th, 2003, 04:39 AM
Registered User
 
Join Date: Dec 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to escape special characters?

Hi,

how can I escape a "new line character" in XML like we escape new line(\n) in Java.

thanks!

 
Old December 16th, 2003, 07:10 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 147
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to armmarti
Default

Quote:
quote:Originally posted by reddygaru
 Hi,

how can I escape a "new line character" in XML like we escape new line(\n) in Java.

thanks!

Hi,

"#x0A;"

Regards,
Armen
 
Old December 16th, 2003, 07:13 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 147
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to armmarti
Default

Again... The ampersand disappeared... Please put an ampersand symbol before '#'





Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL vs ASP.NET..escape characters haunting Quick209 ASP.NET 2.0 Basics 0 May 17th, 2006 03:26 PM
XML escape characters ACE2084 XML 0 September 9th, 2005 03:12 PM
storing special special characters in nvarchar... ACE2084 SQL Server 2000 2 February 9th, 2005 11:45 AM
special characters lian_a Classic ASP Basics 3 June 23rd, 2004 05:16 AM





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