Link to home
Start Free TrialLog in
Avatar of itortu
itortuFlag for United States of America

asked on

how to concatenate xml name to http file name

i am getting some help from EE to finish an asp page that displays a five day forecast
I can retrieve all thae weather data (high and low temps, as well as the day of the week and city/state)
the challenge is that I have to retrieve a graphic that represents the weather conditions (cloudy, rainy, clear, etc)

the server location of the image is

http://www.nbcweatherplus.com/sh/wxplus/icons/xhour/40x40/cloudyday.gif  < cloudy >

from this path the word "cloudy" is retrieved from the xml <icon-select>

how can I use the XML data to parse the area of the image path that changes like the examples below?
 
could this work to generate the correct icons?
 
'http://www.nbcweatherplus.com/sh/wxplus/icons/cc/40x40/' + <icon-select src="met">cloudy</icon-select>  + 'day.gif'

i've never done this, any help i can get is very much valued.

itortu.

this open question is related to this:

https://www.experts-exchange.com/questions/21843837/please-help-formatting-xml.html#16642318

 
ASKER CERTIFIED SOLUTION
Avatar of jkmyoung
jkmyoung

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jkmyoung
jkmyoung

oops, missed the 'day.gif', but you should get the idea.
Avatar of itortu

ASKER


hi jkmyoung! would you check the last comment on this post please?

https://www.experts-exchange.com/questions/21843837/please-help-formatting-xml.html

thank you : )