contentsconceptssyntaxlibrariessampleserrorsindex
Full text search
Shelves: saving contents
Prerequisite Concepts     Related Syntax  

Many SGML element structures are recursive; lists in lists and tables in tables, for example. In most cases it is often desirable to set up a rule which will handle the recursion in a sensible way. In particular, the values of counters, switches, and streams must be the same after the recursion as they were before the recursion. In the case of lists, for example, this allows a list to continue numbering where it left off when the sub-list occurred.

It is often sufficient to store a value before processing a nested structure and restore the former value at the end of the substructure. In OmniMark, the values and keys of a shelf can be saved at the start of a rule and automatically restored after the rule is processed.

The keywords that can be used to save shelf contents are save and save-clear.

Prerequisite Concepts
     Arrays
 
  Related Syntax
   save
   save-clear
 
----

Top [CONTENTS] [CONCEPTS] [SYNTAX] [LIBRARIES] [SAMPLES] [ERRORS] [INDEX]

Generated: April 21, 1999 at 2:00:51 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © OmniMark Technologies Corporation, 1988-1999.