I'm trying to work with XPath. I am using an XPath tool in which I do not have the ability to programmatically resolve this issue and hope there is simply an XPath syntax to deal with this.
I have an XPath like this:
You're out of luck if you cannot further process the returned list of strings.
/concat('domain', .) to the end of your XPath to prepend
'domain' to each result.