Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

newbie:how to handle <,>,& in XML?

Status
Not open for further replies.

eramgarden

Programmer
Aug 27, 2003
279
0
0
US

I've inherited an ASP page with XML in it.

When we have &quot;<&quot;, &quot;>&quot;, &quot;&&quot; in text, it replaces it with &quot;[&quot;,&quot;]&quot; and &quot;+&quot; and then it saves it...

But I do want &quot;>&quot;,&quot;<&quot; and &quot;&&quot; to show up in the text, dont want them to be replaced with any other chars..

How can I do that??
 
looks like the forum converted the entity name to the character, which is expected...

here ya go, again

Replace:
<
With
& lt; (added the space between & and l so it wouldn't get converted))
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top