6 Replies Latest reply on Jul 11, 2007 11:55 AM by ntsiii

    Accessing XML elements using E4X

    flashgruven Level 1
      A Webservice is returning an XMLList in E4X format having set the resultFormat. I can get at the elements using children()[x] notation however I can’t access the elements using dot notation.

      I'm finding that:

      event.result.children()[0].children()1 works

      but not


      Here is what the XML looks like (abbreviated):

      <?xml version="1.0" encoding="utf-8"?>
      <WineList xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd=" http://www.w3.org/2001/XMLSchema" xmlns=" http://www.xyzzy.com/">
      <regions />
      <name>Ramey, Chardonnay, Carneros 2002</name>
      <bottleSize />

      The XML is returned from an ASP.NET web service.

      What is the trick to get dot notation to work?