Given the following HTML:
<html> <body> <a href="test1.html">test1</a> <a href="test2.html">test2</a> </body> </html>
I want to store all attribute values for xpath=(/html/body/a)@href (so “test1.html” and “test2.html”) in an array, prefix them with http://domain.com/ and later on loop through that array. How can I do that? Thanks!