News Feed
Sections




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

Danne Lundqvist's Blog:
Getting to grips with an existing XML structure
April 25, 2012 @ 10:44:43

Danne Lundqvist has a new post where he shares a bit of code he's written to "come to grips" with an existing XML structure.

Very often I find myself writing input filters for large XML files using PHP. Common enough task; and PHP offer a great variety of tools to do this effectively depending on the situation. Unfortunately, almost as common is the lack of documentation for the aforementioned XML files. [...] I have looked around for a simple tool but I didn't really find a tool that gave me the quick and dirty overview I wanted. A year or so ago I finally wrote a small PHP class to analyze large XML files.

He includes an example XML file, the HTML output of the parsing and a sample of how to use the class to parse and output the XML structure, complete with some CSS.

0 comments voice your opinion now!
xml structure schema parse output html csss


blog comments powered by Disqus

Similar Posts

Felix Geisendorfer's Blog: Cake 1.2’s Set class eats nested arrays for breakfast!

Felix Geisendorfer's Blog: How-to: Use Html 4.01 in CakePHP 1.2

O\'Reilly: Implementing MVC in PHP: The View

Greg Beaver's Blog: PhpDocumentor 1.3.0 stable is released

NetTuts.com: So You Want to Accept Credit Cards Online?


Community Events

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


interview php7 unittest language api release example library series voicesoftheelephpant version extension introduction laravel opinion framework laravel5 wordpress community podcast

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