Creating an XML document from a DTD in Java

Gayathri Sundarachar <[email protected]> Fri, 28 Mar 2003 20:40:37 -0700
Newsgroups gmane.comp.java.sun.xml.general
Message-ID <[email protected]>
Hi All,

I need help on the following requirement very badly. Pls help me.

I have a requirement to implement with java and XML. I am quit new to XML.Can any of you pls help me.

I have a DTD file. I need to generate XML document from it using java code. I have to use DTD as a template to generate my XML document.

After going through WEB sites, I understtod that, we have to user Java API JAXB for my requirement. But I could not find JAXB.jar anywhere.

I need to know the following inforamtion ....
1. Is my understanding of using JAXB for my requirement is correct?

2. Where can I get JAXB.jar?

3. What are the steps to create XML document from a DTD in Java?
If can give me a sample code for this would help me a lot.

Pls pls reply me. Your help is greatly appreciated.

Thanks in Advance.
Regards,
Gayathri.

-----------------------------------------------------
xml-interest: A list for discussing XML technologies in the Java Platform.
To post, mailto:[email protected]
Archives at: http://archives.java.sun.com/xml-interest.html
To unsubscribe, mailto:[email protected] the following message;
signoff xml-interest.