Well, you might try this online utility that was posted on this list a while
back. It has the ability to convert a DTD into a Schema for you.
http://www.hitsw.com/xml_utilites/
Could save you some time. ;)
-Brandon
Thought River South
----- Original Message -----
From: "Khalil Yarak" <khalil.yarak_at_sun.com>
To: <JAXB-INTEREST_at_JAVA.SUN.COM>
Sent: Monday, May 19, 2003 4:10 PM
Subject: Use of JAXB & SGML
> Hi all,
>
> I am about to start a project where we receive messages in SGML (to be
more specific
> these are OFX - Open Financial Exchange messages as per a SGML DTD) that
> I would like to convert to XML so that I can parse them through JAXB and
> so get the Java object representations. I am planning to convert the
> SGML DTD to a schema where constraints can be added and then run that
> through JAXB.
>
> I wanted to know from you guys if you have any suggestions with regards
> to using JAXB in this case or if there is a better way.
>
> Thanks in advance.
>