Thank you for the repsonse. But don't we have any xpath or xslt functions to acheive that.
Thanks,
KK
In XPath try this:
/root/node[not(@val <= preceding-sibling::node/@val) and not(@val <=following-sibling::node/@val)]
NOTE:If you find my response contains a reference to a third party World Wide Web site, I am providing this information as a convenience to you.Microsoft does not control these sites and has not tested any software or information found on these sites; therefore,Microsoft cannot make any representations regarding the quality,safety, or suitability of any software or information found there.
__________________________________________________
Sincerely,
Young Fang
Microsoft Online Community Support
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Marked as answer by kalvagadda on May 14, 2007 03:19 PM
Young Fang -...
All-Star
17147 Points
1620 Posts
Re: xpath how to find node with max attribute value
May 14, 2007 04:40 AM|LINK
In XPath try this:
/root/node[not(@val <= preceding-sibling::node/@val) and not(@val <=following-sibling::node/@val)]
__________________________________________________
Sincerely,
Young Fang
Microsoft Online Community Support
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.