This class can be used validate HTML that is XHTML compliant and remove tags and data that are not accepted.
The class can parse the HTML data as a XML document and traverse it to verify whether it complies with a list of rules that define acceptable tags and data.
It can delete forbidden and duplicate tags and attributes. The processed document is stored in a class variable.