check your private message I sent for you to email me your xml file.
pretty complicated xml
select v.value('local-name(.)', 'varchar(50)') as nodename,
null,
x.v.value('@url','char(150)')
from @fakenews.nodes('/searchResult/section/item') x(v)
union
select v.value('local-name(.)', 'varchar(50)') as nodename,
x.v.value('@type','char(150)') ,
x.v.value('@url','char(150)')
from @fakenews.nodes('/searchResult/section/block') x(v)
cross apply @fakenews.nodes('/searchResult/section/block/item') a(b)
i need only topstories....please help me
i sent you a direct message. email me your xml...
mailid please...
check your private message. here is where you go to check your Inbox on https://forums.sqlteam.com
problem solved ...thank you for your support.