[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

6. SGML Declaration

PSGML does not understand the SGML declaration, it accepts one in the file but it is ignored. If you have the SGML declaration in another file you can make `sgmls' use it when you use the C-c C-v (sgml-validate) command (see section 5. Running an external SGML parser).

PSGML has some options in what features it uses and what markup it creates. You have to set these options to make PSGML's behavior consistent with your SGML declaration and personal preferences.

User Option: sgml-omittag
Set this to t if the SGML declaration has `OMITTAG YES' and to nil otherwise.

User Option: sgml-shorttag
Set this to t if the SGML declaration has `SHORTTAG YES' and to nil otherwise.

User Option: sgml-namecase-general
Set this to t if the SGML declaration has `NAMECASE GENERAL YES' and to nil otherwise. I.e., this controls whether names, except entity names, will be case insensitive (translated to upper case).

User Option: sgml-always-quote-attributes
If non-nil, quote all attribute values inserted after finishing edit attributes. If this variable is nil and sgml-shorttag is non-nil, attribute values that consists of only name characters will not be quoted.

User Option: sgml-minimize-attributes
Determines minimization of attributes inserted by edit-attributes. If non-nil, omit attribute name if the attribute value is from a token group. If max, omit attributes with default value. Minimization will only be done if they produce legal SGML (assuming sgml-omittag and sgml-shorttag are set correctly).


[ << ] [ >> ]           [Top] [Contents] [Index] [ ? ]

This document was generated by XEmacs shared group account on December, 19 2009 using texi2html 1.65.