Skip to content

Instantly share code, notes, and snippets.

@maximzasorin
Last active November 19, 2015 20:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maximzasorin/6c4604908960942b1816 to your computer and use it in GitHub Desktop.
Save maximzasorin/6c4604908960942b1816 to your computer and use it in GitHub Desktop.
Поиск минимального и максимального значения узла атрибута XPath 1.0 (http://stackoverflow.com/questions/1128745)
Максимум:
/foo/bar/@score[not(. < ../../bar/@score)][1]
Минимум:
/foo/bar/@score[not(. > ../../bar/@score)][1]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment