setting the DTD in the JAXB generated Java Classes
843834Jul 9 2002 — edited Jul 10 2002Hi All,
I have generated the Java Source file for a DTD using the xjc tool that comes with JAXB .
Now from the Class files i can unmarshall and get the XML file . But in the generated XML output file we don't have the <!DOCTYPE > Element which binds the XML to the DTD .
Is it possible to specify the DTD ? If so Where can we specify that .
Thanks for your help...
Sateesh