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

2. Hooks

Variable: sgml-open-element-hook
The hook run by sgml-open-element. Theses functions are called with two arguments, the first argument is the opened element and the second argument is the attribute specification list. It is probably best not to refer to the content or the end-tag of the element.

Variable: sgml-close-element-hook
The hook run by sgml-close-element. These functions are invoked with sgml-current-tree bound to the element just parsed.

Variable: sgml-doctype-parsed-hook
This hook is called after the doctype has been parsed. It can be used to load any additional information into the DTD structure.

Variable: sgml-sysid-resolve-functions
This variable should contain a list of functions. Each function should take one argument, the system identifier of an entity. If the function can handle that identifier, it should insert the text of the entity into the current buffer at point and return t. If the system identifier is not handled the function should return nil.

Variable: sgml-doctype-parsed-hook
This hook is caled after the doctype has been parsed. It can be used to load any additional information into the DTD structure.

Variable: sgml-close-element-hook
The hook run by `sgml-close-element'. These functions are invoked with `sgml-current-tree' bound to the element just parsed.

*** sgml-new-attribute-list-function This hook is run when a new element is inserted to construct the attribute specification list. The default function prompts for the required attributes.


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

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