This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes XML validation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XML validation" Watch "XML validation" New topic
Author

XML validation

Kejal Shah
Ranch Hand

Joined: Jun 27, 2003
Posts: 87
Given an XML and an XML Schema, what's the best technique to validate the XML using Java?

Tx in adv
Kejal


Kejal<br />SaneDevil@gmail.com
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39578
    
  27
Take a look at the JAXP API. The version that comes with Java 1.5 can do validation using schemas; if you have an older version of Java you can download the latest JAXP from dev.java.net.


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: XML validation
 
Similar Threads
Castor Mapping
making XML Doc from JDBC Results
iText problem with html-table to pdf
Pronounciation of "Buzz Words"
Ajax Jqery xml response - not able to read response