Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP and XML

Status
Not open for further replies.

cm80

Technical User
May 3, 2001
85
0
0
US
Hi,
I am new to XML and I was wondering if someone could give me a helping hand parsing an XML document with ASP.

I have the XML page loading into the ASP page fine, I just need a hand with referencing and formatting particular elements.


For example with the XML document below, what I want to write out is:

Wednesday 20th Feb
Day
Temperature:12
Wind:Light Breeze

Night
Temperature:22
Wind:Light Hurricane

The XML is:

-<DOCUMENT>
-<WEATHER type=&quot;Region&quot;>
<DATE>Wednesday 20th Feb</DATE>
- <FORECAST time=&quot;Day&quot;>
<TEMP>12</TEMP>
<WIND>Light Breeze</WIND>
</FORECAST>
- <FORECAST time=&quot;Night&quot;>
<TEMP>22</TEMP>
<WIND>Hurricane</WIND>
</FORECAST>
</WEATHER>
</DOCUMENT>


I'm not too worried about formatting for the moment so I want to avoid XSL if possible.
If anyone could help I would really appreciate it! Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top