File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes java+xml+xsd Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Reply Bookmark "java+xml+xsd" Watch "java+xml+xsd" New topic
Author

java+xml+xsd

muthu bharathi
Ranch Hand

Joined: Dec 10, 2008
Posts: 97
Hi,

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
Bharathi
Paul Sturrock
Bartender

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: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: java+xml+xsd
 
Similar Threads
creating xml document using xsd
StAX xml validation
How to validate XML against XSD in using JDom
Create XML Document using XSD
Parser for XML Schema which uses XSD