preceding-sibling

The preceding-sibling axis indicates all the nodes that have the same parent as the context node and appear before the context node in the source document.