HTML tags in XML

Mark Wieder mwieder at ahsoftware.net
Wed Mar 22 00:50:36 EST 2006


Trevor-

Tuesday, March 21, 2006, 11:19:29 AM, you wrote:

> On Mar 21, 2006, at 11:10 AM, Mark Wieder wrote:
>> Yes and no. As long as you have the data stored properly encoded then
>> you should be able to decode it on the way out:
>>
>> set the htmlText of field "grunt" to urlDecode(xmlData)

> Oh, I see what you are getting at.  Yeah, that would work but  
> wouldn't this only work if the XML was only used in Rev.  Wouldn't it
> cause problems for other software that tried to read your XML document?

Yes, I should think so. It would have to decode it back. I've been
assuming this was just for rev data, but if you're going outside the
sandbox then you'd need to stick with what the DTD says. Ken's CDATA
approach would probably be the best way to deal with it in that case.

-- 
-Mark Wieder
 mwieder at ahsoftware.net




More information about the use-livecode mailing list