- Posted by: chandrasekar duraisamy
- Posted on: January 21 2004 07:01 EST
Is there any way in java, where I can validate the XML against a Schema using DOM. And more over I need to pass both the XML and Schema as input to the program.
Any one can u plz help me out on this...
Thankx in Advance
The short answer is yes. Depending upon what it is you are trying to do deterimines how ugly it gets. Try looking at the Apache stuff in more detail: Apache Xerces: Introspecting DTD's and XML Schemas.
This should get you started in the right direction.