max() in XPath
C#
1
Posts
1
Posters
0
Views
1
Watching
-
Hi All.... How can i use MAX() function in XPath. 1) By Googling... showing comparing node values.. some thing like /root/node[not(@val <= preceding-sibling::node/@val) and not(@val <=following-sibling::node/@val)] 2) But I want to work like this xd.SelectNodes("max(//dgn/one/@id)"); from the reference http://www.w3schools.com/xpath/xpath\_functions.asp#anyuri Any Idea...? Thx for the time. Enjoy!! Siddharth