Including HTML as the value of an XML node

View: New views
2 Messages — Rating Filter:   Alert me  

Including HTML as the value of an XML node

by Russel Madere :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I searched the archives and could not find a solution.  If there is one and I missed it, I apologize.

I have a Flash app that read XML and includes the value of the node into a text box as HTML.  The Flash works fine with plain text but breaks when I include HTML tags.  My research indicates that it is the HTML tags embedded in the XML.  

Here is a sample: http://www.washingtonartillery.org/csa/news.xml
The application: http://www.washingtonartillery.org/csa/index.html

The first 2 articles work fine, but the third just displays "As a member of ".  

How can I escape the tags?  This is the last programatic step I need to figure out.

Russel

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:3:198
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/3
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:3
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.3
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Parent Message unknown RE: Including HTML as the value of an XML node

by Damien McKenna-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> I have a Flash app that read XML and includes the value of
> the node into a text box as HTML.  The Flash works fine with
> plain text but breaks when I include HTML tags.  My research
> indicates that it is the HTML tags embedded in the XML.  

Could you do some processing within the Flash UI that replaces e.g.
*word* with <strong>word</strong>, some sort of simplified formatting
syntax?  Its not a perfect solution but it might be workable.

--
Damien McKenna - Web Developer - Damien.McKenna@...
The Limu Company - http://www.thelimucompany.com/ - 407-804-1014
#include <stdjoke.h>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how to get a fax number that sends and receives faxes using your current email address
http://www.houseoffusion.com/banners/view.cfm?bannerid=64

Message: http://www.houseoffusion.com/lists.cfm/link=i:3:199
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/3
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:3
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.3
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54