XMLParser for PHP

XMLParser is a library that assists in parsing XML documents into generic PHP arrays.
Download

XMLParser for PHP Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Monte Ohrt
  • Publisher web site:
  • http://www.phpinsider.com/php/code/SafeSQL/

XMLParser for PHP Tags


XMLParser for PHP Description

XMLParser is a library that assists in parsing XML documents into generic PHP arrays. XMLParser is a library that assists in parsing XML documents into generic PHP arrays. It also comes with RSSParser, an extension of XMLParser that creates simple RSS-specific array structures from RSS feeds.Requirements:· The XMLParser requires the expat XML parsing library, which can be enabled in PHP with the configure flag "--enable-xml" during compilation.SYNOPSIS: require('XMLParser.class.php'); $xml =& new XMLParser; $output = $xml->parse('sample.xml'); print_r($output);sample.xml SOURCE:< user > < name >John Doe< /name > < addr >123 N 45< /addr > < phone >555.555.5555< /phone >< /user >OUTPUT:Array( => Array ( => USER => => Array ( => Array ( => NAME => John Doe ) => Array ( => ADDR => 123 N 45 ) => Array ( => PHONE => 555.555.5555 ) ) ))What's New in This Release:· This release fixes a couple of PHP warnings, and fixes a bug that caused HTML entities to get removed from XML feeds.


XMLParser for PHP Related Software