Copyright (C) 2000-2012 |
GNU Info (psgml.info)Managing the DTDDocument Type Declaration ************************* PSGML needs to know about the DTD you are using for many of its commands. If you do not have a `DOCTYPE' declaration in your file, PSGML will try assume that there is one of the form <!DOCTYPE NAME SYSTEM> where NAME is the value of `sgml-default-doctype-name', if the value is non-`nil', else the GI of the first tag will be used. PSGML will try to parse the document type declaration the first time you do something that needs to parse the document or immediately if the variable `sgml-auto-activate-dtd' is `t'. You can also initiate the parsing of the document type declaration with the command `sgml-parse-prolog'. Big DTDs take some time to parse. When the DTD has been parsed or loaded the name of the document element will be displayed in the mode line inside brackets. If there was an error parsing the DTD or there is no DTD, the mode line will display `[ANY]' (*** this is not really correct! a DTD will be established even if there are missing entities, it may even be empty). automatically generated by info2www version 1.2.2.9 |