I am getting a url form a HTML Page with this Xpath:
//*[@id="page"]/div[1]/table/tr[9]/td[2]/a/@href
This code Output show link like this
href="test/306811.zip"
I want add site domain to outupt like this:
href="http://domain.com/test/306811.zip"
How can do this ?
Use concat or string-join, e.g.
concat('http://domain.com/', //*[@id="page"]/div[1]/table/tr[9]/td[2]/a/@href)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With