document-end

rule

Syntax
document-end condition?
   local declaration*
   action*


Purpose

A rule that allows you to do processing and produce output after the end of an XML or SGML document. These rules are to be performed before any process-end rules (including processing-instruction rules). document-end rules are performed in the order they appear in the program.

document-end rules are allowed only in aided translation type programs that use up-translate, down translate, or context-translate. They are equivalent to the processing done after the parse continuation operator (%c or suppress) in a do xml-parse or do sgml-parse.

Related Syntax