предыдущий-по-порядку-узел
Ось preceding-sibling указывает все узлы, имеющие того же родителя, что и узел контекста, и предшествующие узлу контекста в исходном документе.
© 2005–2022 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/XPath/Axes/preceding-sibling