itortu
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-sel ect> + '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
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-sel
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
oops, missed the 'day.gif', but you should get the idea.
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 : )