question

tsbalaji avatar image
tsbalaji asked

group tags for unknow depth in xpath

Hi, how to traverse to the last depth of a xpath and group it with appropriate parents http://ask.sqlservercentral.com/questions/96451/get-xml-from-xpath-and-col-value.html gives answer to group parent and child but how to make it work for unknown depth say for example /root/first/one, /root/first/two, /root/.../././.. any sample tsq will be helpful thank you
tsqlxml
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.