all groups > flash data integration > march 2005 >
You're in the

flash data integration

group:

html <a> tags in an xml file


html <a> tags in an xml file greg brant
3/18/2005 1:55:40 PM
flash data integration: hi,

im using the xml class to import and pars an xml file.
my client wants to be able to have links (<a htref> tags) in the text.

iv tried just sticking one in there and seting the text field to render as
html, however the xml parse stops parsing the text node whne it gets to the
<a tag.

any ideas how i might go about this.

thanks

greg

Re: html <a> tags in an xml file Dan Defenbaugh
3/18/2005 5:55:14 PM
Put the html text portion inside CDATA tags...?

http://www.w3schools.com/xml/xml_cdata.asp


[quoted text, click to view]
Re: html <a> tags in an xml file kgui
3/21/2005 12:20:42 PM
I use HTML commands into my XML files, using &amp;lt;br&amp;gt; for <br> or
&amp;lt;b&amp;gt; <b>, start BOLD. You need to use UUENCODED strings en and a
textField capable of displaying HTML So < is &amp;lt; And > &amp;gt; In XML
for example <slideshow title='Navitronic'>&amp;lt;b&amp;gt;1. 'Navitronic' -
display &amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;More text.</slideshow> Succes,
Pieter
AddThis Social Bookmark Button