Go to the previous, next section.

Running an external validator

You can run an external validator on your file with the command C-c C-v (sgml-validate).

Some variables control this function:

User Option: sgml-validate-command

The command to validate an SGML document. The file name of current buffer file name will be appended to this, separated by a space. Default is sgml -s.

User Option: sgml-declaration

If this is a string this will be inserted before the file name when running the sgml-validate-command.

User Option: sgml-offer-save

If non-nil, C-c C-v (sgml-validate) will ask about saving modified buffers before running the validator.

Go to the previous, next section.