sx
[
-Cehilprvx
]
[
-bencoding
]
[
-ccatalog_file
]
[
-Ddirectory
]
[
-ffile
]
[
-wwarning_type
]
[
-xxml_output_option
]
sysid...
SX converts SGML to XML.
SX parses and validates the SGML document contained in
sysid...
and writes an equivalent XML document to the standard output.
SX will warn about SGML constructs which have no XML equivalent.
The following options are available:
-bencoding
encoding
for output.
By default SX uses UTF-8.
-cfile
file
.
-C
-Ddirectory
directory
for files specified in system identifiers.
This has the same effect as in nsgmls.
-e
-ffile
file
.
This is useful mainly with shells that do not support redirection
of stderr.
-iname
-v
-wtype
type
.
This has the same effect as in nsgmls.
-xxml_output_option
xml_output_option
as follows:
no-nl-in-tag
id
notation
ndata
cdata
comment
lower
pi-escape
&<>
in the contents of processing
instructions using the amp
, lt
and
gt
entities. This allows processing instructions to
contain the string >?
, but requires that applications
handle the escapes.
empty
<e/>
syntax for element types
e
declared as EMPTY.
attlist
#IMPLIED
.
Multiple
-x
options are allowed.
James Clark