neerajmurali Posted April 18, 2007 Share Posted April 18, 2007 i want to find the number of occurences of a perticular element in the entire xml doc.ie,if <email> is an element i want to know the total number of <email > element in that entire xml doc.wther count() function works for it.thanks for ur support Link to comment Share on other sites More sharing options...
boen_robot Posted April 18, 2007 Share Posted April 18, 2007 Yes, just use //email as argument. Like so: count(//email) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now