<?php $d = new DOMDocument(); $tmp = $d->createDocumentFragment(); $tmp->appendXML('<t> foo <tt val="123" /> bar </t>'); var_dump($tmp);
You have javascript disabled. You will not be able to edit any code.