|[ < ]||[ > ]||[ << ]||[ Up ]||[ >> ]||[Top]||[Contents]||[Index]||[ ? ]|
PSGML can not validate an SGML document (see below what it can
and can't do). If you have a validating SGML parser, like
`sgmls', you can run the parser on your file with the
command C-c C-v (
Some variables control this function:
This is a
format control string that by default should contain two
%s conversion specifications: the first will be replaced by the
sgml-declaration (or the empty string, if nil); the
second will be replaced by the current buffer's file name (or the
empty string, if nil).
sgml-validate-files is non-nil, the format string should contain
%s conversion specification for each element of its result.
If sgml-validate-command is a list, then every element should be a string. The strings will be tried in order and `%'-sequences in the string will be replaced according to the list below, if the string contains `%'-sequences with no replacement value the next string will be tried.
The default value is
nsgmls -s %s %s.
sgml-validate-commandformat control string instead of the defaults.
sgml-validate) will ask about saving modified buffers before running the validate command. The default value is
The built-in parser can find some markup errors. The command C-c
sgml-next-trouble-spot) is the best way to use the built-in
parser for this. To check the whole file go to the beginning of the
buffer and use C-c C-o.
Some of the markup errors not found are:
|[ << ]||[ >> ]||[Top]||[Contents]||[Index]||[ ? ]|