Escape Codes

Special escape characters which if entered literally will break you app.config or web.config

Escape CodeTextValue
&lt; < less than
&gt; > greater than
&amp; & ampersand
&apos; ' apostrophe
&quot; " quotation mark

I will add more as I find more

Published Monday, April 27, 2009 12:08 AM by cstepaniuk
Filed under: ,

Comments

# re: Escape Codes

Monday, April 27, 2009 8:02 AM by CW2

en.wikipedia.org/.../List_of_XML_and_HTML_character_entity_references

# re: Escape Codes

Monday, April 27, 2009 2:13 PM by E Newton

Using an XMLWriter will prevent that sort of thing from happening.

Leave a Comment

(required) 
(required) 
(optional)
(required)