Escape them to "<" and ">" (excluding the surrounding quotes.
">" is ususally safe even unescaped in most contexts.
Sometimes it becomes necessary to escape the quotes and the apostrophe
characters -- accordingly -- with """ and "'"
Another character to escape almost always is the ampersand character
itself -- this is escaped as "&"
Cheers,
Dimitre Novatchev
"Steven.Xu" <St******@discussions.microsoft.comwrote in message
news:DE**********************************@microsof t.com...
hi everybody,
i am useing some classes which in System.Xml to deal with xml document.
what
can i do if the document include "<" or ">"?
Thanks.