src/XmlUtil.php
public static function saveXmlNodeToString(\DOMNode $node)
    {
        $doc = XmlUtil::getOwnerDocument($node);
        $string = $doc->saveXML($node);
        return $string;
    }
public static function saveXmlNodeToString(\DOMNode $node)
    {
        $doc = XmlUtil::getOwnerDocument($node);
        $string = $doc->saveXML($node);
        return $string;
    }
public static function saveXmlNodeToString ( \ DOMNode $ node ) { $ doc = XmlUtil :: getOwnerDocument ( $ node ) ; $ string = $ doc -> saveXML ( $ node ) ; return $ string ; }
Return the part node in xml document

@param \DOMNode $node
@return string
@throws \ByJG\Util\Exception\XmlUtilException
Return the part node in xml document