TRANSFORM DOCUMENT TO HTML: A STRAIGHTFORWARD EXPLANATION