tags:

views:

18

answers:

0

Hi, I have a requirement to get XPath expression for all xml nodes in .NET. Do we have any tools or API that generates XPath for every xml node.

for ex.

<ACORD> <foo> <bar>1</bar> </foo> <testnode>2</testnode> </ACORD>

the output will be

/ACORD /ACORD/foo /ACORD/foo/bar /ACORD/testnode