This week's book giveaways are in the iOS and Features new in Java 8 forums.
We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line!
See this thread and this one for details.
The moose likes XML and Related Technologies and the fly likes validating xml with xsd Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "validating xml with xsd" Watch "validating xml with xsd" New topic
Author

validating xml with xsd

kavitha vasu
Ranch Hand

Joined: Feb 22, 2007
Posts: 70
Hi friends,



I need to validate an xml with xsd by using java.

How to do this
?

Which is the best way for this?

Am using jibx for xml parsing.

before that i want to validate that xml with given xsd.

Could any one help me on this?


Regards
Vasu


Mehar Simhadri
Greenhorn

Joined: Jan 25, 2009
Posts: 4
I use xmlbeans to parse/validate xml with xsd
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 19312
    
  10

Have a look at the Ranch's own XML FAQ for an example of how to validate XML against a schema. There's a lot of other interesting things there too.
 
rocket mass heater kickstarter
 
subject: validating xml with xsd