PDA

View Full Version : xmlreader multiple node with multiple children



mshepherd
9 Jun 2010, 10:09 AM
I did some searching but haven't found anything recent on this subject. I am trying to put all of the children of a node into an array using the xmlreader.

sample xml:

<workorders>
<workorder>
<id>719</id>
<history>
<action>
<id>156</id>
<description>Submitted</description>
<datetime>2001-03-06 16:05:29.0</datetime>
</action>
<action>
<id>33910</id>
<description>Imported from old system</description>
<datetime>2010-06-08 17:19:44.607</datetime>
</action>
</history>
</workorder>
<workorders>

I am trying to put all the actions as an array in the store.