2 Replies Latest reply on Feb 27, 2007 2:04 AM by half4flex

    XML Tags with hyphen or minus (-) access in dataProvider and so on

    half4flex
      Hi there,

      i hope someone can help me on this case because the last 4 hours of frustrating searching didn´t help any.

      We connect to a data service that returns xml in this form:

      <some-root>
      <someother-root>
      <somenice-data>
      </someother-root>
      </some-root>

      Loading that data using HTTPService isn´t a problem. Trying to use the data with dataProvider like this:

      dataProvider="{someniceid.lastResult.some-root}"

      leads in error 1120.

      "Access of undefined property _. "

      How to access the elements in this case? Most funny is when i try to debug this i see that you populate all object elements in memory looking somehow like this ".this.someniceid.lastResult.some-root" Rightclicking this and adding to Expressions watch leads in an error that this isn´t accessible.

      A way around it or a simple fix would help me.

      Kind regards,
      Marko.