<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: ActionScript 2 &#8211; XML CDATA returns undefined, or htmlText doesn&#8217;t work!</title>
	<atom:link href="http://www.psyked.co.uk/actionscript/actionscript-2-xml-cdata-returns-undefined-or-htmltext-doesnt-work.htm/feed" rel="self" type="application/rss+xml" />
	<link>http://www.psyked.co.uk/actionscript/actionscript-2-xml-cdata-returns-undefined-or-htmltext-doesnt-work.htm</link>
	<description>it's easy once you know how.</description>
	<lastBuildDate>Wed, 21 Jul 2010 13:54:17 +0100</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: greg</title>
		<link>http://www.psyked.co.uk/actionscript/actionscript-2-xml-cdata-returns-undefined-or-htmltext-doesnt-work.htm/comment-page-1#comment-7039</link>
		<dc:creator>greg</dc:creator>
		<pubDate>Wed, 28 Apr 2010 07:05:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.psyked.co.uk/?p=291#comment-7039</guid>
		<description>is it not possible to save a sample fla file. i am not that advanced and could follow how to build this in much better if there would be a fla file with sample xml.

thanks</description>
		<content:encoded><![CDATA[<p>is it not possible to save a sample fla file. i am not that advanced and could follow how to build this in much better if there would be a fla file with sample xml.</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lokesh</title>
		<link>http://www.psyked.co.uk/actionscript/actionscript-2-xml-cdata-returns-undefined-or-htmltext-doesnt-work.htm/comment-page-1#comment-6375</link>
		<dc:creator>Lokesh</dc:creator>
		<pubDate>Wed, 02 Dec 2009 17:04:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.psyked.co.uk/?p=291#comment-6375</guid>
		<description>Hi All,

Thank you all for useful information on CDATA. 

I need some help on CDATA; my issue may sound little strange. However, I badly need your response and inputs with this.

I am developing a desktop application using Flash, basically a xml based rapid authoring tool. I am using MDM zinc to access the windows api.

In this application, I need to save the data that user has created and read it. If user has entered the text something like this -

&quot;&quot;

while reading the content, I should be able to display the text including the  tags. 

But unfortunately, I am not able to do this in Flash, the CDTAT tags are being removed.

Could anybody tell how I can achieve this in Flash.

Thanks a lot in advance.</description>
		<content:encoded><![CDATA[<p>Hi All,</p>
<p>Thank you all for useful information on CDATA. </p>
<p>I need some help on CDATA; my issue may sound little strange. However, I badly need your response and inputs with this.</p>
<p>I am developing a desktop application using Flash, basically a xml based rapid authoring tool. I am using MDM zinc to access the windows api.</p>
<p>In this application, I need to save the data that user has created and read it. If user has entered the text something like this -</p>
<p>&#8220;&#8221;</p>
<p>while reading the content, I should be able to display the text including the  tags. </p>
<p>But unfortunately, I am not able to do this in Flash, the CDTAT tags are being removed.</p>
<p>Could anybody tell how I can achieve this in Flash.</p>
<p>Thanks a lot in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Taylor</title>
		<link>http://www.psyked.co.uk/actionscript/actionscript-2-xml-cdata-returns-undefined-or-htmltext-doesnt-work.htm/comment-page-1#comment-6316</link>
		<dc:creator>Robert Taylor</dc:creator>
		<pubDate>Wed, 25 Nov 2009 15:32:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.psyked.co.uk/?p=291#comment-6316</guid>
		<description>Thanks for taking the time to write this, and all those who offered their comments.

Much saved work! THANKS!</description>
		<content:encoded><![CDATA[<p>Thanks for taking the time to write this, and all those who offered their comments.</p>
<p>Much saved work! THANKS!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard lalancette</title>
		<link>http://www.psyked.co.uk/actionscript/actionscript-2-xml-cdata-returns-undefined-or-htmltext-doesnt-work.htm/comment-page-1#comment-4708</link>
		<dc:creator>Richard lalancette</dc:creator>
		<pubDate>Fri, 26 Jun 2009 19:19:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.psyked.co.uk/?p=291#comment-4708</guid>
		<description>Thanks for this article. Saved me quite some trouble :)</description>
		<content:encoded><![CDATA[<p>Thanks for this article. Saved me quite some trouble <img src='http://www.psyked.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zrk</title>
		<link>http://www.psyked.co.uk/actionscript/actionscript-2-xml-cdata-returns-undefined-or-htmltext-doesnt-work.htm/comment-page-1#comment-4203</link>
		<dc:creator>zrk</dc:creator>
		<pubDate>Tue, 21 Apr 2009 16:27:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.psyked.co.uk/?p=291#comment-4203</guid>
		<description>Wordpress ‘fixed’ my code as well. I&#039;ll try again. (Just remove the spaces after the ampersands and before the semicolons):

.split(&quot;amp ;&quot;).join(&quot;&quot;).split(&quot;&amp; amp ;lt ;&quot;).join(&quot;&lt;&quot;).split(&quot;&amp; lt ;&quot;).join(&quot;&quot;).split(&quot;&amp; gt ;&quot;).join(&quot;&gt;&quot;).split(&quot;&amp; amp ;quot ;&quot;).join(&quot;\&quot;&quot;).split(&quot;&amp; quot ;&quot;).join(&quot;\&quot;&quot;).split(&quot;&amp; apos ;&quot;).join(&quot;\&#039;&quot;)

As an example of an additional problem I was experiencing, Flash was saving the HTML code: “&lt;” as “&amp; amp ;lt ;”.</description>
		<content:encoded><![CDATA[<p>WordPress ‘fixed’ my code as well. I&#8217;ll try again. (Just remove the spaces after the ampersands and before the semicolons):</p>
<p>.split(&#8220;amp ;&#8221;).join(&#8220;&#8221;).split(&#8220;&amp; amp ;lt ;&#8221;).join(&#8220;&lt;&#8221;).split(&#8220;&amp; lt ;&#8221;).join(&#8220;&#8221;).split(&#8220;&amp; gt ;&#8221;).join(&#8220;&gt;&#8221;).split(&#8220;&amp; amp ;quot ;&#8221;).join(&#8220;\&#8221;").split(&#8220;&amp; quot ;&#8221;).join(&#8220;\&#8221;").split(&#8220;&amp; apos ;&#8221;).join(&#8220;\&#8217;&#8221;)</p>
<p>As an example of an additional problem I was experiencing, Flash was saving the HTML code: “&lt;” as “&amp; amp ;lt ;”.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zrk</title>
		<link>http://www.psyked.co.uk/actionscript/actionscript-2-xml-cdata-returns-undefined-or-htmltext-doesnt-work.htm/comment-page-1#comment-4202</link>
		<dc:creator>zrk</dc:creator>
		<pubDate>Tue, 21 Apr 2009 16:20:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.psyked.co.uk/?p=291#comment-4202</guid>
		<description>This only half worked on the CDATA I was reading from XML. I had to use the following split/join sequence to get all of the embedded entity codes converted to character data, and thus let the htmltext display properly when loading the CDATA:

.split(&quot;amp;&quot;).join(&quot;&quot;).split(&quot;&lt;&quot;).join(&quot;&lt;&quot;).split(&quot;&lt;&quot;).join(&quot;&quot;).split(&quot;&gt;&quot;).join(&quot;&gt;&quot;).split(&quot;&quot;&quot;).join(&quot;\&quot;&quot;).split(&quot;&quot;&quot;).join(&quot;\&quot;&quot;).split(&quot;&apos;&quot;).join(&quot;\&#039;&quot;)

As an example of an additional problem I was experiencing, Flash was saving the HTML code: &quot;&lt;&quot; as &quot;&lt;&quot;. Now it&#039;s all happy.</description>
		<content:encoded><![CDATA[<p>This only half worked on the CDATA I was reading from XML. I had to use the following split/join sequence to get all of the embedded entity codes converted to character data, and thus let the htmltext display properly when loading the CDATA:</p>
<p>.split(&#8220;amp;&#8221;).join(&#8220;&#8221;).split(&#8220;&amp;lt;&#8221;).join(&#8220;&lt;&#8221;).split(&#8220;&lt;&#8221;).join(&#8220;&#8221;).split(&#8220;&gt;&#8221;).join(&#8220;&gt;&#8221;).split(&#8220;&amp;quot;&#8221;).join(&#8220;\&#8221;").split(&#8220;&quot;&#8221;).join(&#8220;\&#8221;").split(&#8220;&apos;&#8221;).join(&#8220;\&#8217;&#8221;)</p>
<p>As an example of an additional problem I was experiencing, Flash was saving the HTML code: &#8220;&lt;&#8221; as &#8220;&lt;&#8221;. Now it&#8217;s all happy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: flysi</title>
		<link>http://www.psyked.co.uk/actionscript/actionscript-2-xml-cdata-returns-undefined-or-htmltext-doesnt-work.htm/comment-page-1#comment-2821</link>
		<dc:creator>flysi</dc:creator>
		<pubDate>Thu, 15 Jan 2009 03:08:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.psyked.co.uk/?p=291#comment-2821</guid>
		<description>Figured it out. I&#039;m a tool. I had been defining a text format someplace else that was overriding my text definition, and thus resetting my html formatting. Good example that once again reiterates the argument for keeping all your code in one place (as opposed to being sloppy and in a hurry like I was).</description>
		<content:encoded><![CDATA[<p>Figured it out. I&#8217;m a tool. I had been defining a text format someplace else that was overriding my text definition, and thus resetting my html formatting. Good example that once again reiterates the argument for keeping all your code in one place (as opposed to being sloppy and in a hurry like I was).</p>
]]></content:encoded>
	</item>
</channel>
</rss>
