SGML TOOLS
Normalize an SGML document
SGML file:
Generate a list of tags
Generate a list of entities
normalizer options
-e Describe open entities in error messages.
-l Prefer lower case.
-p Output the part of the document entity containing the SGML declaration (if it was explicitly present in the document entity) and the prolog before anything else.
-p -p Expand all entity references in prolog.
-momittag Add omitted tags. End tags omitted because element has declared content of EMPTY or an explicit content reference will not be added.
-mshortref Replace short references by named entity references.
-mnet Change null end-tags into unminimized end-tags, and change net-enabling start-tags into unminimized start-tags.
-memptytag Change empty tags into unminimized tags.
-munclosed Change unclosed tags into unminimized tags
-mattname Add omitted attribute names and vis.
-mattvalue Add literal delimiters omitted from attribute values.
-mattspec Add omitted attribute specs
-mcurrent Add omitted attribute specifications for current attributes. This option is implied by the -mattspec option.
-mshorttag = -mnet, -memeptytag, -munclosed, -mattname, -mattval, -mattspec
-mrank Add omitted rank suffixes.
-mreserved Put reserved names in uppercase.
-mms Remove marked section declarations whose effective status is IGNORE, and replace each marked section declaration whose effective status is INCLUDE by its marked section.
-x Expand references to entities that are changed.
-x -x Expand all references to entities that contain tags