HTML tags in XML

Trevor DeVore lists at
Tue Mar 21 12:43:36 EST 2006

On Mar 21, 2006, at 9:34 AM, Mark Wieder wrote:

> Trevor-
> Tuesday, March 21, 2006, 8:12:11 AM, you wrote:
>> You need to escape ", ', <, and < when entering data into an XML
>> node.  I can't remember if RevXML has any handlers for this or if you
>> just have to do it by hand.  For an example of the escape characters
>> just do a Google search for "xml escape characters".
> I think urlEncode() will do the trick here.

I don't think this will work in this case.  For example, urlEncod 
("<p>hi</p>") would give you:


When what you really want is:


Trevor DeVore
Blue Mango Learning Systems -
trevor at

More information about the Use-livecode mailing list