Refactored FluentDOM\Nodes\Builder::getXmlFragment()