Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XML
XML General XML discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XML section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old March 25th, 2004, 10:50 AM
Registered User
Join Date: Mar 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Handling remote XML docs in ASP

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>

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.
Old March 25th, 2004, 11:23 AM
joefawcett's Avatar
Wrox Author
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts

Try this link or download the help file and look at XmlHttp and ServerXmlHttp.




Similar Threads
Thread Thread Starter Forum Replies Last Post
Merging 2 Xml docs nkuar XML 3 December 8th, 2005 05:22 AM
2 XML Docs > 1 XSLT Stylesheet kwilliams XSLT 3 September 12th, 2005 11:22 AM
How to compare nodes from 2 XML docs kwilliams XSLT 0 August 30th, 2005 01:43 PM
Multiple XML Docs/One XSLT Stylesheet kwilliams XSLT 5 August 4th, 2005 11:54 AM
transformNode w/2 source XML docs? kwilliams XSLT 0 July 25th, 2005 03:38 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.