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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Rich Text Editor ---> XML, ASP and CDATA

Status
Not open for further replies.

gifster83

Programmer
Jul 12, 2005
1
GB
I am tryin to get some text form a rich text editor and feed it through to XML using ASP and then use ASP to put it display it as html (has to be ASP for copyright reasons).

It needs to be able to handle entities(!"£$%^&*) and so on but also understand and display <b>Bold Text</b> and so on, I now that CDATA works for handling!"£$%^&*() but doesn't work with <b>bold</b> or <i>italic</i> text, and it justs displays the tags on screen. Without CDATA it completely ignores the tags. :-S

I am a bit lost now... Help!!!
 
(!"£$%^&*) all these are valid XML except the '&'. Do a string replace in ASP for '&' with '&amp;'

Jon

"Asteroids do not concern me, Admiral. I want that ship, not excuses.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top