News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Sameer Borate's Blog:
Beautifying XML documents
September 11, 2009 @ 07:58:15

On his blog today Sameer has a quick new tutorial looking at using the XML_Beautifier PEAR package to "pretty up" your XML documents.

I use xmlPad to format and analyze xml documents, but many times I need to format xml documents on the production server wherein xmlPad is of no use. What one needs is a library that would allow you to beautify your untidy xml documents within your php code. XML_Beautifier provides that solution.

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.

0 comments voice your opinion now!
xmlbeautifier xml document tutorial


blog comments powered by Disqus

Similar Posts

Developer.com: Creating Complex, Secure Web Forms with PHP and HTML_QuickForm2

DevShed: Working with Template Classes in PHP 5

Builder.com: Match users to their geo-location with PHP and PEAR Net:Geo

Zend Developer Zone: Dynamically Creating Graphs and Charts with PHP and GDChart

William Durand: REST APIs with Symfony2: The Right Way


Community Events





Don't see your event here?
Let us know!


interview laravel opinion list tool community artisanfiles framework language podcast introduction conference library voicesoftheelephpant composer series version release security symfony

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework