Petterson Mikael
Usenet Archive
- Joined
- Nov 27, 2002
- Messages
- 89
- Reaction score
- 0
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
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