<?php $doc = new DOMDocument;$node = $doc->createElement("para");$newnode = $doc->appendChild($node); echo $doc->saveXML();?>