users@jaxb.java.net

Re: Use of JAXB & SGML

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Mon, 19 May 2003 09:06:34 -0700

Khalil Yarak <khalil.yarak_at_sun.com> wrote:
> 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.

Use trang. The best tool I've ever seen:

    http://www.thaiopensource.com/relaxng/trang.html



regards,
--
Kohsuke KAWAGUCHI                  408-276-7063 (x17063)
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com