On Wed, Jul 10, 2002 at 10:30:56PM -0400, James K.Lowden wrote:
> On 10 Jul 2002 21:14:01 -0500, "Lars Clausen" <lrclause@cs.uiuc.edu>
> wrote:
>
> > The dtds are not actually used by Dia, they are for informational
> > purposes.
>
> I didn't know that. Is it undesirable for Dia to use its DTD?
>
> I have this cockamamie idea that XLST will eventually to be the dia2world
> vehicle, but that depends on the correctness of the DTDs.
>
I have this idea too and applied it (see plugins/xslt). The thing is, I
made the XSLT process 2 pass, since it is much more convenient to have
an XML tree taylored for your use (e.g. classes definitions) than the
raw DIA XML format which has lot of useless info for generating source
files. So the DTD is used only for creating the first stylesheet, and,
'as far as I have done', it didn't need it anytime, but rather used a
sample file to understand the format.
> Regards,
>
> --jkl
> _______________________________________________
> Dia-list mailing list
> Dia-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/dia-list
>
>
--
"Not only is there no God, but try finding a plumber on Sunday. "
- Woody Allen
MaT|TaM (http://mattam.ath.cx)