XPath - how to?

Having documents like




foo
bar
bar


What’s the Tamino XQuery statement to retrieve all documents having a linkentry/@ref=“01” AND another linkentry/@ref=“03”?
We did it with intersect, but I’m wondering if there isn’t a better way?

Try this:

ie[(./links/linkentry/@ref=“01”)and(./links/linkentry/@ref=“03”)]