Hello,
I am having an Issue. I am making a web app that calls a web service, but the XML it returns has hyphens in the tag names and that messes up the actionscript syntax when I refer to it. How can I get it not to mess it up. I am using E4X too if that makes a difference.
I happen to have an example.
I am using the national weather service and the have an example posted here:
http://www.weather.gov/forecasts/xml/DWMLgen/schema/latest_DWML_glance.txt
I am having issues with this:
<data>
<location>
<location-key>point1</location-key>
<point latitude="38.99" longitude="-77.99" />
</location>
<time-layout time-coordinate="local" summarization="none">
<layout-key>k-p24h-n7-1</layout-key>
<start-valid-time period-name="Today">2005-03-03T07:00:00-05:00</start-valid-time>
<end-valid-time>2005-03-03T19:00:00-05:00</end-valid-time>
The tags have hyphens in their names and I don’t know how to get Actionscript to read them. And sadly I don’t have access to the XML.
Thank you.