implements XMLTag
implements the XMLDoc
implements tree iterator
implements the pretty printer