I need to be able to select the root element from a fragment without knowing the node types, class, id or hierachy.
jQuery is not needed...
var root = document.firstChild;