Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Processing an XML file to VFP cursors
Message
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Miscellaneous
Thread ID:
00904549
Message ID:
00906174
Views:
21
Dear Carmel
If you have many "customer" nodes, then try the following :
myCustomers = myXmlString.SelectNodes( "customer" )
for each oCostumer in myCustomers
   tmpName = oCostumer.SelectSingleNode("name")
   ? tmpName.Text
endfor
HTH
Jaime



>Hi Jamie,
>
>The following loop only seems to execute once even. if there are multiple customer records
>
>
>** loop through the customer nodes
>myCustomers = myXmlString.SelectNodes( "customers" )
>for each oCostumer in myCustomers
> tmpName = oCostumer.SelectSingleNode("customer/name")
> ? tmpName.Text
>endfor
>
>
>
>
>Help!
>Thanks
>Carmel
Why do programs stop working correctly as soon as you leave the Fox?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform