Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Parse xml, count number of elements and compare elements with xsd file

807600Sep 28 2007 — edited Sep 28 2007
Hi,

I need some help.

I would like to write a java code which reads an xml file, parse it, count the number of elements and compare those elements with schema (.xsd) file to check whether they are exists or not. if the element is doesn't exist, i would like to through an error.

Can some one help me on this?

thanks in advance
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 26 2007
Added on Sep 28 2007
3 comments
421 views