File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes java+xml+xsd Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "java+xml+xsd" Watch "java+xml+xsd" New topic


muthu bharathi
Ranch Hand

Joined: Dec 10, 2008
Posts: 97

Please i've need sample code for the following

or please provide any link for that..

1. Using XSD create XML document in java

2. Using XSD Validate XML Document in java

very urgent...........
with Thanks
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

As I said in your other post about this, the first isn't possible. You can't automatically generate XML from a schema.

The second: read this.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
I agree. Here's the link:
subject: java+xml+xsd
It's not a secret anymore!