I'm trying to use a specific XML fill to fill a tree and I'm assuming
I need to use a custom data descriptor, but i can't figure out how to
do that.  Does anyone know of any samples?  or could point me in the
right direction?

the xml looks like this:

<result success="True" expired="False">
<Places>
<row>
<placeid>1637</placeid>
<placetypeid>2</placetypeid>
<contactid>[NULL]</contactid>
<addressid>3137</addressid>
<placecode>30157</placecode>
<placeinfo>Test</placeinfo>
<stationid>[NULL]</stationid>
<builddate>1899-12-30 00:00:00.00</builddate>
<active>1</active>
<parentid>1025</parentid>
<createdby>1</createdby>
<createddate>2007-03-06 12:49:22.22</createddate>
<modifiedby>1</modifiedby>
<modifieddate>2007-03-06 12:49:22.22</modifieddate>
<apid>1637</apid>
<subplace>0</subplace>
<bpid>[NULL]</bpid>
<needplus>[NULL]</needplus>
<placetypeid>2</placetypeid>
</row>
<row>
<placeid>1638</placeid>
<placetypeid>2</placetypeid>
<contactid>[NULL]</contactid>
<addressid>3138</addressid>
<placecode>30158</placecode>
<placeinfo>Test2</placeinfo>
<stationid>[NULL]</stationid>
<builddate>1899-12-30 00:00:00.00</builddate>
<active>1</active>
<parentid>1025</parentid>
<createdby>1</createdby>
<createddate>2007-03-06 12:49:22.22</createddate>
<modifiedby>1</modifiedby>
<modifieddate>2007-03-06 12:49:22.22</modifieddate>
<apid>1637</apid>
<subplace>0</subplace>
<bpid>[NULL]</bpid>
<needplus>[NULL]</needplus>
<placetypeid>2</placetypeid>
</row>
</Places>
</result>

I'm really only interested in the placeid and placeinfo and then
subplace determines if it has children.

Any help would be greatly appreciated!

Thanks,
A


Reply via email to