createElement('xsl:comment', $node->nodeValue); $node->parentNode->replaceChild($xslComment, $node); } }