SELECT FormatID,Name,ParentID
,v.query('.') NodeItself
,v.value('@Index', 'varchar(100)') AS [MyIndex] From Formats
CROSS APPLY Data.nodes('//CheckOffHeader') TempXML(v)