Trying to simply insert a nested parent/child node into an existing XML doc:
select xmlquery(\'xquery version "1.0"; copy $d := . modify insert nod