0 Replies Latest reply on Feb 13, 2012 7:17 PM by JDredgy

    Few XML Questions

    JDredgy

      Ok, I have a few questions to getting data out of an XML file for an iPad App.


      For starters, the XML file looks like this:

       

      [code]

      <employees>

           <employee>

               <name>John</name>

               <department>Sales</name>

               <id>1</id>

           <employee>

      </employees>

      [/code]

       

      I want to generate a list of all employees with their name as the label, and with each item that has a click event that passes on the id to a different view.

       

      Another thing I'd like to do is to be able to list all employees within a department, via XPath or something I guess.

       

       

      Thank you for your time