Groups | Blog | Home
all groups > flash data integration > may 2005 >

flash data integration : Writing HTML data to XML


troybara
5/17/2005 12:00:00 AM
I've been playing around with Phil's tutorial
(http://www.macromedia.com/devnet/mx/flash/articles/flashpro_asp.html) and am
trying to make a makeshit CMS out of it. Problem is whenever I try to save any
HTML data to the DB via XML & ASP nothing will save. The only stuff I can save
to the DB is plain text. I figure the HTML tags would mess up the syntax of the
XML, but is there a way to get around that? Has anyone been able to do this or
have any suggestions?
conquerors04
5/24/2005 12:00:00 AM
conquerors04
5/24/2005 12:00:00 AM
Just escape it.

example:

var tag:String = escape('<a href="http://www.macromedia.com">Click here</a>');
trace(tag);
tomeanand NO[at]SPAM hotmail.com
5/31/2005 11:36:39 AM
Hi

you can form your xml like this

<yourTags><![CDATA[<font face='verdana' size='11'>put your htmls inside the
CDATA tag</font>]]></yourTags>

what ever data you are putting inside the CDATA tag the XML wont parse it so
you will get a well formed xml

try it....

Anand
AddThis Social Bookmark Button