preceding

The preceding axis indicates all the nodes that precede the context node in the document except any ancestor, attribute and namespace nodes.

© 2005–2021 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