<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/tags/cdata</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Mon, 20 May 2013 08:15:56 GMT</pubDate>
<item>
<title>(PHP) Fix CDATA blocks in XML files after reformatting with Tidy - iroybot</title>
<link>http://snipplr.com/view/69689/fix-cdata-blocks-in-xml-files-after-reformatting-with-tidy/</link>
<description><![CDATA[ <p>For some reason tidy inserts new lines before/after </p> ]]></description>
<pubDate>Tue, 29 Jan 2013 09:43:33 GMT</pubDate>
<guid>http://snipplr.com/view/69689/fix-cdata-blocks-in-xml-files-after-reformatting-with-tidy/</guid>
</item>
<item>
<title>(JavaScript) Javascript CDATA - inreflection7</title>
<link>http://snipplr.com/view/54686/javascript-cdata/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 01 Jun 2011 07:18:00 GMT</pubDate>
<guid>http://snipplr.com/view/54686/javascript-cdata/</guid>
</item>
<item>
<title>(PHP) add CDATA to script- and style-tags via regex using PHPs output buffering - feeela</title>
<link>http://snipplr.com/view/51443/add-cdata-to-script-and-styletags-via-regex-using-phps-output-buffering/</link>
<description><![CDATA[ <p>This snippet can be used to sanitize HTML when delivering it as XHTML. For example Firefox 2 needs XML-data to not mess up with HTML5-tags.
Everything (at least there must be one character) between script/style-tags is enclosed by a CDATA-block.
The whole functionality is provided as a callback function to `ob_start()`, which should be used before any output. The use of `ob_flush()`, `ob_clean()` or something is optional as the buffer will be sent on script end anyway.</p> ]]></description>
<pubDate>Sat, 02 Apr 2011 01:22:58 GMT</pubDate>
<guid>http://snipplr.com/view/51443/add-cdata-to-script-and-styletags-via-regex-using-phps-output-buffering/</guid>
</item>
<item>
<title>(PHP) uncdata - wza</title>
<link>http://snipplr.com/view/46158/uncdata/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 27 Dec 2010 21:12:25 GMT</pubDate>
<guid>http://snipplr.com/view/46158/uncdata/</guid>
</item>
<item>
<title>(HTML) Commented CDATA script and style tags - LeeRJohnson</title>
<link>http://snipplr.com/view/14556/commented-cdata-script-and-style-tags/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 29 Apr 2009 03:05:28 GMT</pubDate>
<guid>http://snipplr.com/view/14556/commented-cdata-script-and-style-tags/</guid>
</item>
<item>
<title>(XML) CDATA Section - sanjivarunsahayamhotmailcom</title>
<link>http://snipplr.com/view/9472/cdata-section/</link>
<description><![CDATA[ <p>The syntax for a CDATA section</p> ]]></description>
<pubDate>Mon, 03 Nov 2008 20:52:18 GMT</pubDate>
<guid>http://snipplr.com/view/9472/cdata-section/</guid>
</item>
<item>
<title>(JavaScript) Script Tag - kangell</title>
<link>http://snipplr.com/view/5465/script-tag/</link>
<description><![CDATA[ <p>Javascript script tag with CDATA section because I can never remember the goofy CDATA syntax.</p> ]]></description>
<pubDate>Mon, 17 Mar 2008 15:14:39 GMT</pubDate>
<guid>http://snipplr.com/view/5465/script-tag/</guid>
</item>
<item>
<title>(ActionScript 3) Create CDATA tags between XML nodes using AS - chrisaiv</title>
<link>http://snipplr.com/view/4776/create-cdata-tags-between-xml-nodes-using-as/</link>
<description><![CDATA[ <p>I found this snippet which I think originally came from the Flex Cookbook website: http://www.adobe.com/cfusion/communityengine/index.cfm?event=homepage&amp;productId=2</p> ]]></description>
<pubDate>Fri, 25 Jan 2008 11:55:43 GMT</pubDate>
<guid>http://snipplr.com/view/4776/create-cdata-tags-between-xml-nodes-using-as/</guid>
</item>
<item>
<title>(JavaScript) CDATA - kyokutyo</title>
<link>http://snipplr.com/view/1801/cdata/</link>
<description><![CDATA[ <p>よく書き方忘れるんで</p> ]]></description>
<pubDate>Thu, 14 Dec 2006 00:00:35 GMT</pubDate>
<guid>http://snipplr.com/view/1801/cdata/</guid>
</item>
</channel>
</rss>