[jdom-interest] Parsing DTDs With JDOM?

saad rehmani bonga at aitchisonians.org
Sun Jul 16 18:00:39 PDT 2000


jon, 

i dont think it can be done since a DTDs syntax is totally different from
XML. i haven't seen anything in there that would parse DTDs, but i just
got the parser a day ago so im still going through code.

-saad

On Sun, 16 Jul 2000, Jon Baer wrote:

> Im in the middle of something and trying to figure out how exactly to
> parse a DTD or to find a lib that can do it.  Basically what I want to
> do is grab all the elements from the DTD and their related attributes,
> Im trying to think if this is going to be a tideous process if I have to
> do it myself or if someone on the list has experience with doing such a
> thing.
> 
> I want to be able to run the parser on a DTD and write out a map file
> for an IDE im using as such:
> 
> <map>
> <element>
> <name>Foo</name>
> <attribute required="false">Bar1</attribute>
> </element>
> </map>
> 
> Anyone have thoughts on how to accomplish this?  Can it be done with
> JDOM directly?
> 
> Thanks.
> 
> - Jon
> 
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com
> 




More information about the jdom-interest mailing list