This is my example script:
$html = <<
Capture this text 1
&l
Well, nodeValue will give you the node's value. You want what's commonly called outerHTML
echo $dom->saveXml($tag);
will output what you are looking for in an X(HT)ML compliant way.
As of PHP 5.3.6 you can also pass a node to saveHtml, which wasnt possible previously:
echo $dom->saveHtml($tag);
The latter will obey HTML4 syntax. Thanks to Artefacto for that.