Question
Reading XML
If you have an XML string like this:
| <ZipCodes> | |
| <string>98001</string> | |
| <string>98002</string> | |
| <string>98003</string> | |
| ..... | |
| <string>98380</string> | |
| <string>98383</string> | |
| <string>98392</string> | |
| <string>98422</string> | |
| </ZipCodes> |
and the number of <string> nodes are unknown, is there a way to find that number.
Currently I just loop 1 to 10000 and use cftry to break out of the loop when it gets to too high a number.
Is there a better way?
