xml to java source files

P

Petterson Mikael

Hi,

I am using Solaris 8 and JDK1.4.1
I will generate java source files from XML. I am thinking of using JAXB
package. As input I have my XML and DTD.
I setup "Java Web Services Developer Pack 1.2" and tried to create the
source files.

When I execute the xjc.sh script I have the following options:

Usage: xjc [-options ...] <schema>

I tought that I in order to create my java objects need the XML ( with
elements and attributes) file. The only thing I specify is the schema. I
don't have a schema either. Is there a tool to generate a schema from a
DTD on unix?

All hints are very much appreciated!!

//Mikael
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,810
Latest member
Kassie0918

Latest Threads

Top