sgml2xml-isoent
sgml2xml-isoent
— Convert SGML to XML with support for ISO
entities
sgml2xml-isoent [sgml-document]
sgml2xml-isoent
converts an SGML document to XML,
with support for the ISO entities.
This is done by using
sgml2xml(1) from the
SP package (or
osx(1) from the OpenSP package),
and the declaration for the XML version of the ISO entities
is added to the output.
This means that the output of this conversion
should work as-is with any XML tool.
This program is often used for processing SGML DocBook documents
with XML-based tools. In particular, db2x_xsltproc
calls this program as part of its --sgml
option.
Note that the XML version of the ISO entities (from the DocBook XML distribution) are referred to directly, not via a DTD, so this tool should also work with document types other than DocBook.
sgml2xml(1), osx(1)