A limited but simple API for creating DOMDocumentS in PHP