Code example for Document

Methods: createAttribute, createTextNode