Скажем, у меня есть следующий XML...
<root>
<base>
<tent key="1" color="red"/>
<tent key="2" color="yellow"/>
<tent key="3" color="blue"/>
</base>
<bucket>
<tent key="1"/>
<tent key="3"/>
</bucket>
</root>
... каким будет XPath, который возвращает, что «ведро» содержит «красный» и «синий»?