C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




Invalid characters in XML


Posted Date: 07 Jul 2008      Total Responses: 1

Posted By: saravanalakshmanan       Member Level: Bronze     Points: 1



Can any one listout the Invalid characters in XML ?

( I have found & and # )





Responses

Author: sivangari    07 Jul 2008Member Level: GoldRating:     Points: 6

HI,

The characters "&" and "<" are reserved in XML as what are called "open markup delimiters" -- that is, they are the characters recognized by XML processors as indicating that what follows is markup, not data. Hence they can't be used as plain characters.

XML provides for character references, which you can use to work around this. For "<" use the reference "<" (that's "& l t ;" for those with overzealous email clients) and "&" (that's "& a m p ;") for "<" and "&" respectively




Post Reply
You must Sign In to post a response.
Next : How we can display this output in xmlformat
Previous : xml asp.net intervie questions
Return to Discussion Forum
Post New Message
Category: XML

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design


Contact Us    Privacy Policy    Terms Of Use