How to count nodes with in an XML file?

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
I need help count the number of users in the a XML file. The sample XML file may look like this
<Users>
<User>
</User>
<User>
</User>
......
<User>
</User>
</Users>

So I have to count how many <User> in the XML file ? <hr class="sig Varun

View the full article
 
Back
Top