program to restore end tags?

Sean Chen schen at
Thu Nov 25 04:12:41 GMT 1999

Hi everyone,

On Wed, 24 Nov 1999, Christopher R. Maden wrote:

> [Sean Chen]
> >Someone mentioned recently on this list a program to restore minimized
> >SGML end tags, but I lost the message and can't find it again.
> sgmlnorm, as someone already pointed out, or spam (SP Add Markup), which
> are both part of SP (<URL:>).
> >I'm trying to write a simple SGML->XML converter which will do as much as
> >possible without being a full-fledged SGML parser.

Thanks everyone who replied, but I already know of SX, sgmlnorm, etc. etc.
Just recently on this list someone posted a link to a C program that did
the trick, only I can't find it.

I really don't want to parse SGML fully, as it's not needed for an
SGML->XML converter.  I just want to assume concrete syntax, leave the
entities alone, and the more esoteric SGML documents I might encounter
I'll fob off to SX or something more industrial strength.

. . . Sean.

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as: and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list