How to get all links in Xhtml?

Can an xquery retrieve all the links Somewhere… from an XHtml?
In other words how to go throught all the nodes to test if they are links anchors.


Assuming that all your documents you want to scan are stored in the Tamino collection “myxhtml”. In this case you can extract all the links with the following query:


The result is a sequence of “href” attributes holding the requested links.

Best regards,

Thorsten Fiebig