PHP Classes

Clean Output: Reformat HTML and XML documents

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (5)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 58%Total: 1,626 All time: 2,416 This week: 423Up
Version License PHP version Categories
cleanoutput 2Free for non-comm...5HTML, XML, PHP 5
Description Author

This class can be used to reformat HTML or XML documents.

It can read a string with HTML or XML and indent its lines according to the depth of the tags and data.

Optional it can show in the outputted document a trace of the indentation level.

Picture of Jon Gjengset
Name: Jon Gjengset is available for providing paid consulting. Contact Jon Gjengset .
Classes: 10 packages by
Country: Norway Norway
Age: 33
All time rank: 2291 in Norway Norway
Week rank: 260 Down2 in Norway Norway Down
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files  
File Role Description
Plain text file cleanmyhtml.class.php Class The CleanOutput class
Accessible without login Plain text file cleanoutput.example.php Example Example of usage of the CleanOutput class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:2,416
This week:423Up
 User Ratings  
 All time