If I have:
john something or other
DECLARE @xml as xml SET @xml = 'LINE1' SELECT Nodes.Name.query('local-name(.)') FROM @xml.nodes('//*') As Nodes(Name)
This will give the list of all elements