With JavaScript you may use the following snippet:

Navigator.Open('http://www.libraryinformationsystem.org/');
var pageRoot = Navigator.Find('/html');
var items = pageRoot.DoDOMQueryXPath('//a');
for (var /**Number*/i = 0; i < items.length; i++)
{
    var item = items[i];
    Tester.Message('Tag=' + item.GetTag() + ', Name=' + item.GetId() + ', Href=' + item._DoDOMGetAttribute('href'));
}

The same logic may be implemented in RVL.

Although, in this case JavaScript looks more concise. So you may prefer to implement it as a JavaScript function and call from RVL.

We attach a working test implementing both ways of doing it for your convenience.