Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

validating xml with xsd

 
kavitha vasu
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use xmlbeans to parse/validate xml with xsd
 
Paul Clapham
Sheriff
Posts: 21107
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic