I’m using CDATA to display text in a textfield that has “render text as html” selected, but it’s not rendering the html tags within the CDATA.
here’s the xml code:
<pic>
<image>images/01_img.jpg</image>
<description title="Title 1" price="$$$$$">
<![CDATA[2007, acrylic on canvas,<br>20" x 40"</br>]]>
</description>
<thumbnail>thumbs/01_thb.jpg</thumbnail>
</pic>
I’m not 100% sure that my AS is correct for the path to the CDATA. I have this…
legend.txtLegend.facts.text = description[p].firstChild.nodeValue;
Could someone possibly point out why the html tags are not being rendered and also tell me if the path I have to the CDATA is correct. It works, but I wanted to make sure it was correct.
thanks for the help.