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,627 All time: 2,417 This week: 114Up
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: 388 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  
 0%
Total:1,627
This week:0
All time:2,417
This week:114Up
 User Ratings  
 
 All time
Utility:87%StarStarStarStarStar
Consistency:79%StarStarStarStar
Documentation:-
Examples:66%StarStarStarStar
Tests:-
Videos:-
Overall:58%StarStarStar
Rank:1562