XPath Query: get URL from href attribute.

This is a good question, but very different from the original one. In order for it to be useful to others in the forum it should be posted as a separate question, one that has a subject heading appropriate to the new query. That way people with similar questions will have a better chance of locating it in a search (along with any responses that might come in).