6 Replies Latest reply on Jun 30, 2007 11:48 AM by Anti-Girl

    Query XML /E4X

    Anti-Girl Level 1
      Im trying to create an electronic database,
      im importing a single XML file, which contrains all the info
      I will have a textinput etc which will search the file and return all the child nodes or whatever

      i have looked at this but its really not helping me, can someone please tell me how i could query the XMLLIST? for a word
      quote:


      <mx:Script>
      <![CDATA[
      import mx.rpc.events.*;

      [Bindable]
      private var dataDetails:XMLList;

      private function dataHandler(evt:ResultEvent):void
      {
      dataDetails= evt.result.person; (person is just a <parent> with few <childs> in info.xml)
      }
      ]]>
      </mx:Script>


      <mx:HTTPService id="e4xService" url="info.xml" result="dataHandler(event)" resultFormat="e4x"/>