[Laszlo-dev] Anyone know about XML DTD's?

Henry Minsky henry.minsky at gmail.com
Fri Oct 12 07:55:50 PDT 2007


We're in a position now to generate an XML DTD somewhat more easily than
we used to be, because of recent changes to the compiler.  The compiler has
a good in-core representation of the entire class hierarchy, and some simple but
effective rules about tag containment (which classes of tags can be
children of which other tags).

Does anyone here know enough about DTD's and real world editor tools
to know what
would be the most useful and compact format to generate a DTD in? The
one we used to generate was overly huge I think, and since we have a
better class-oriented representation of the containment rules now, I
am wondering if there is a small and simple DTD that
we can generate that would of most use to people who actually use
them. I personally
just use emacs NXML mode for editing, so I don't have any first-hand
knowledge of
what would be useful to people who actually rely on other
XML-DTD-aware editors.  If anyone has any examples of good DTD formats
for a similar XML-oriented programming language, I'd be interested in
seeing them.



-- 
Henry Minsky
Software Architect
hminsky at laszlosystems.com


More information about the Laszlo-dev mailing list