Hi, 
Ignore the previous post by me.
This post explains the problem more clearly.

I have a file that looks like this.

<?xml version="1.0" encoding="UTF-8"?><MyMail
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:noNamespaceSchemaLocation="MyMail.xsd"><Mail><MailID>M1</MailID><Date>2003-12-3</Date><Content>Hello</Content></Mail></MyMail>

I need to find how many mails are stored in the file.
I can determine this by counting the number of
occurances of "<Mail>". How to I do this?

Thanks,
RK


__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to