Convert the HTML tree module to the new buffers The new input buffers induced a couple of changes, the others are related to the switch to xmlBuf in saving routines.