Sql Server Xquery Iterate Dynamic Xml And Return Custom Structure

Sql Server Xquery Iterate Dynamic Xml And Return Custom Structure