Retrieve merged version of element (children with attributes)