# Help, Hyphens have invaded my Web Service

**URL:** <https://forum.kirupa.com/t/help-hyphens-have-invaded-my-web-service/234102>\
**Category:** Uncategorized\
**Created:** [July 30, 2007, 4:00pm UTC](https://forum.kirupa.com/t/help-hyphens-have-invaded-my-web-service/234102 "2007-07-30T16:00:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gokujou](https://avatars.discourse-cdn.com/v4/letter/g/85e7bf/32.png) [@gokujou](https://forum.kirupa.com/u/gokujou)\
**Post date:** [July 30, 2007, 4:00pm UTC](https://forum.kirupa.com/t/help-hyphens-have-invaded-my-web-service/234102/1 "2007-07-30T16:00:28Z")

</div>

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](http://www.weather.gov/forecasts/xml/DWMLgen/schema/latest_DWML_glance.txt)

I am having issues with this:

```auto

   <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.
