contentsconceptssyntaxlibrariessampleserrorsindex
Full text search
Down translations: a simple example  
Related Concepts  

Introduction

This simple example of a down-translate displays the titles of all the chapter elements in a document, prefixed by chapter numbers. All other elements are suppressed.



Sample

  down-translate

  global counter chapter-count initial {0}

  element title when parent is chapter
     increment chapter-count
     put #main-output "Chapter %d(chapter-count): %c%n"

  element #implied
     suppress ; Suppress the output of all other elements.

Related Concepts  
   Down-translation: translating XML/SGML documents
 
----  

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

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

Copyright © OmniMark Technologies Corporation, 1988-1999.