<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Sat, 18 May 2013 18:48:15 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Davey Shafik's Blog: ext/dom and libxml2 charset and entities behaviors]]></title>
      <guid>http://www.phpdeveloper.org/news/13025</guid>
      <link>http://www.phpdeveloper.org/news/13025</link>
      <description><![CDATA[<p>
<i>Davey Shafik</i> <a href="http://daveyshafik.com/archives/705-extdom-and-libxml2-charset-and-entities-behaviors.html">points out</a> a second option for the <a href="http://us2.php.net/manual/en/domdocument.savexml.php">saveXML function</a> of the DOM functionality in PHP - an option to restrict the use of "empty tags".
</p>
<blockquote>
This argument currently only supports one value which is the constant LIBXML_NOEMPTYTAGS. This option makes sure that you do not end up with &lt;tag /> but instead, &lt;tag>&lt;/tag>. This can make things easier if you need more predictable text to perform other changes on later.
</blockquote>
<p>
He also noticed some other changes that the option made in his XML documents, specifically a size increase issue with spaces. Code samples are included to show these differences.
</p>]]></description>
      <pubDate>Tue, 11 Aug 2009 10:23:53 -0500</pubDate>
    </item>
  </channel>
</rss>
