PHP Classes

XML to array parser HTML fix: Parse XML with HTML entities and return arrays

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,690 All time: 2,326 This week: 237Up
Version License Categories
xmltoarray_htmlfix 1.0GNU General Publi...HTML, XML


This class can be used to parse XML documents and retrieve data into arrays.

It is an improvement of the original class written by MA Razzaque Rupom to make it process XML with illegal characters used in HTML documents.

It pre-processes the XML document to escape ampersand characters so the PHP XML parsing functions can accept them. After extracting the document structure into arrays, the class restores the original ampersands and fixes any illegal characters.

Picture of Allan Bogh
Name: Allan Bogh <contact>
Classes: 5 packages by
Country: United States United States
Age: 40
All time rank: 64383 in United States United States
Week rank: 398 Up50 in United States United States Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file xmltoarray_parser_htmlfix.php Class Class to fix HTML special characters within XML

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:2,326
This week:237Up