[XML-SIG] SGML to DOM?

Andrew M. Kuchling akuchlin@cnri.reston.va.us
Tue, 1 Dec 1998 11:28:39 -0500 (EST)


Jeff.Johnson@icn.siemens.com writes:
>Could someone tell me if there is a way to read in a non-well formed SGML
>document, with preformatted text into a DOM tree?

	If your SGML parser can output ESIS-formatted data, there's
xml.dom.esis_builder which might help you.  It doesn't support all of
ESIS, though, and that really needs to be fixed; I think ESIS support
is important to the really serious SGML users, as opposed to the XML
dilettantes.  Unfortunately, I'm just a dilettante.

	BTW, does anyone have a test SGML document which exercises all
of the ESIS command characters?

-- 
A.M. Kuchling			http://starship.skyport.net/crew/amk/
It is not that I wanted to know a great deal, in order to acquire what is now
called expertise, and which enables one to become an expert-tease to people
who don't know as much as you do about the tiny corner you have made your own.
    -- Robertson Davies, _The Rebel Angels_