Parse xml, count number of elements and compare elements with xsd file
807600Sep 28 2007 — edited Sep 28 2007Hi,
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