Friends;
New to XML, I need to create an ASP page that will manipulate the result of an XML document, to present certain information based on the content of the file.
ie. the remote URL where I will get the xml doc is:
http://xoap.weather.com/search/search?where=boca raton
This link will return the following:
<?xml version="1.0" encoding="ISO-8859-1" ?>
- <!-- This document is intended only for use by authorized licensees of The Weather Channel. Unauthorized use is prohibited. Copyright 1995-2002, The Weather Channel Enterprises, Inc. All Rights Reserved.
-->
- <search ver="2.0">
<loc id="USFL0040" type="1">Boca Raton, FL</loc>
</search>
I need to grab the loc id attribute and text to continue doing things on my ASP code, and all this in the background. the user never sees this part of the application.
q1. how do I have to build the link to access this remote URL
q2. once I got the response, how do I get to the attribute and text of the resulting xml document.
Thanks
Rafael