I know that I can use xpath to perform joins using the “|” operator. Is there a way to perform semi-joins in xpath like for example:
book[author = article/author]/title
If semi-joins exist, what would the output of the query above look like. Does it just output the title element of each book that has an author who also authored an article?
Maybe you want
//book[author = //article/author]/title. With your current attemptbook[author = article/author]thearticleelements would need to be children of thebookelement which does not seem likely.