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 54%Total: 1,627 All time: 2,419 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: 34
All time rank: 2291 in Norway Norway
Week rank: 312 Down1 in Norway Norway Equal
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,419
This week:114Up
 User Ratings  
 
 All time
Utility:82%StarStarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:64%StarStarStarStar
Tests:-
Videos:-
Overall:54%StarStarStar
Rank:1979