Yes im still having this problem as we speak. A previous post said to
use unicode and just use xhtml straight in the tags without even using
CDATA but I am still unable to get it working correctly.
Mike Boutin
Juicy Studios
Merrill, Jason wrote:
Searched Google, no dice, when the chattyfig servers were down again, I
turned to Flexcoders, no luck either. Anyone who has experience with
Xpath, I hope you can help.
Problem overview: using Xpath, HTML tags inside of XML does not render,
even with CDATA tags applied.
Problem detail: I am using xfactorstudios' Xpath classes to bring in XML
node data which contains text and HTML tags to display in a Flash text
area component in the Flash 7 player. Here is a snippet of the XML:
<welcome>
<introduction title="Welcome">
<text><![CDATA[Welcome to the <a href='http://www.fda.gov/cdrh/'>Center
for Devices of Radiological Health</a>. More text...]]></text>
</introduction>
</welcome>
The text area component IS set to HTML=true, but when it renders, it
shows the text plus the HTML:
Welcome to the <a href='http://www.fda.gov/cdrh/'>Center for Devices
of Radiological Health</a>. More text...
Does the same thing with a regular dynamic text field. If I hard code
the same string directly in the .fla, it renders properly in the text
field and/or component. The string from XPath returns, interestingly
enough, looks like this:
Welcome to the <a
href='http://www.fda.gov/cdrh/'>Center for Devices of
Radiological Health</a>. More text...
Not sure why Xpath is changing the string from "</a>". to "</a>",
but Flash doesn't like it obviously. Anyone come across this before and
have a solution?
Jason Merrill | E-Learning Solutions | icfconsulting.com
NOTICE:
This message is for the designated recipient only and may contain privileged or
confidential information. If you have received it in error, please notify the
sender immediately and delete the original. Any other use of this e-mail by you
is prohibited.
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders