I want to generate Java classes from a dtd file using JAXB.
The dtd looks like this:
xjc -dtd -d generatedsrc -p com.examples log4j.dtd
will generate the classes in directory generatedsrc and the package used will be com.examples.
you can find more information here: http://www.javaworld.com/community/node/7622