Welcome to WebmasterWorld Guest from

Forum Moderators: httpwebwitch

Message Too Old, No Replies

Links in XML

Is it possible using CDATA

11:44 am on May 29, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 15, 2002
posts: 971
votes: 0

I'm bringing a chunk of text from an XML doc into a website in Flash.

So it's basically say an article that has a few links in it.

Is it possible to simply import this test with <a href=""> tags around the links and have them work -- is that more of a Flash question, or can this be done on the XML side?

Thanks for helping.

1:18 pm on May 29, 2008 (gmt 0)

Moderator This Forum from CA 

WebmasterWorld Administrator httpwebwitch is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 29, 2003
votes: 0

yes - get your markup snuggled in CDATA and it will validate even if your content has some unclosed <BR> et al.

Flash has a very nice built-in XML parser. And AFAIK you can have HTML links in the content, and Flash will render them as clickable hyperlinks. Or, they did the last time I tried (Flash and I have drifted apart since the release of MX)

Sounds like you are on the right track.