<?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>Wed, 19 Jun 2013 20:55:14 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Sameer Borate's Blog: Beautifying XML documents]]></title>
      <guid>http://www.phpdeveloper.org/news/13204</guid>
      <link>http://www.phpdeveloper.org/news/13204</link>
      <description><![CDATA[<p>
On his blog today <i>Sameer</i> has <a href="http://www.codediesel.com/pear/beautifying-xml-documents/">a quick new tutorial</a> looking at using the XML_Beautifier PEAR package to "pretty up" your XML documents.
</p>
<blockquote>
I use xmlPad to format and analyze xml documents, but many times I need to format xml documents on the production server wherein <a href="http://www.wmhelp.com/">xmlPad</a> is of no use. What one needs is a library that would allow you to beautify your untidy xml documents within your php code. <a href="http://pear.php.net/manual/en/package.xml.xml-beautifier.php">XML_Beautifier</a> provides that solution.
</blockquote>
<p>
He walks you through the installation and use of the package on a sample script - pulling in the "ugly" XML and outputting the "pretty" XML via the package's formatFile function.
</p>]]></description>
      <pubDate>Fri, 11 Sep 2009 07:58:15 -0500</pubDate>
    </item>
  </channel>
</rss>
