Re: Creating an XML document from DTD in Java
Liquid Diamond <[email protected]> Tue, 1 Apr 2003 13:21:45 -0600
| Newsgroups | gmane.comp.java.sun.xml.general |
|---|---|
| Message-ID | <[email protected]> |
Check out our amazing prices on PC periferals at: http://www.shadowpc.net/ >From: Erica Leung >Reply-To: XML technologies in the Java Platform >To: [email protected] >Subject: Re: Creating an XML document from DTD in Java >Date: Tue, 1 Apr 2003 09:51:44 -0800 > >JDOM was great when I first looked at it, but it seems no live recently and >no single release comes out. Is there any one knows about the current status >of this project? >After more searching, I found DOM4J http://www.dom4j.org. You may find it a >good alternative. > >--Erica > >-----Original Message----- >From: XML technologies in the Java Platform >[mailto:[email protected]]On Behalf Of Steve Beech >Sent: Tuesday, April 01, 2003 2:27 AM >To: [email protected] >Subject: Re: Creating an XML document from DTD in Java > > >If you're using Java for XML you'll want to take a look at JDOM - a simple >API for building XML documents. Its at www.jdom.org > > >-----Original Message----- >From: Gayathri Sundarachar [mailto:[email protected]] >Sent: 29 March 2003 10:09 >To: [email protected] >Subject: Re: Creating an XML document from DTD in Java > > >Hi, > >Thanx a lot for the timely help. I was under the mis >understanding of reading DTD during run time and >generate the XML document. > >Now I understand that, we can not directly generate >the XML document from DTD during runtime. We have to >generate XML document from DTD using some tools like >XML spy and then read that XML to generate the >required XML file. > >Thanks for the great help!!! I am very thankful for >the kind response. > >But I searched java.sun.com for JAXB.JAR. I found only >documentation and specification...I couldnt find the >JAXB.JAR file. >If u know where it is, will u pls let me know. > >Thanx a lot for the help! > >Regards, >Gayathri. > > >--- Ray Tayek wrote: > > At 07:22 PM 3/28/03 -0800, you wrote: > > >... > > > > > >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. > > > > xml spy generates sample xml files from dtd's and > > schemas. maybe look into > > that. > > > > > > >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. > > > > jaxb is for serializing and deserializing from java > > objects to xml files > > with validation. but it won't create an xml file > > from a dtd or schema. > > > > > > >I need to know the following inforamtion .... > > >1. Is my understanding of using JAXB for my > > >requirement is correct? > > > > no, but you may find it useful. > > > > >2. Where can I get JAXB.jar? > > > > java.sun.com > > > > > > >3. What are the steps to create XML document from a > > >DTD in Java? > > > > don't know. > > > > thanks > > > > --- > > ray tayek http://tayek.com/ actively seeking > > mentoring or telecommuting work > > vice chair orange county java users group > > http://www.ocjug.org/ > > hate spam? http://samspade.org/ssw/ > > > > >----------------------------------------------------- > > 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. > > >__________________________________________________ >Do you Yahoo!? >Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! >http://platinum.yahoo.com > >----------------------------------------------------- >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. > >----------------------------------------------------- >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. > >----------------------------------------------------- >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. ---------- MSN 8 helps ELIMINATE E-MAIL VIRUSES. Get 2 months FREE*. ----------------------------------------------------- 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.