How do you make a URL button from a URL in XML doc

I’m making a slideshow. My XML doc contains a url for each photo. I want my button (url_btn), when clicked, to go to the url of the corresponding photo. Anyone know how to do this?