contentsconceptssyntaxlibrariessampleserrorsindex
Full text search
XML to HTML conversions: implicit hypertext  
Related Concepts  

Introduction

Implicit linking allows the final hypertext links to be created "in the eyes of the application." In other words, OmniMark lets you define easily how you want the links created, based on content rather than having the linking hardcoded in the source data.

Here is an example of OmniMark code that links references to part names with glossary entries. Because the information set (a book), and the implied requirements of the final deliverable, were so simple, referents weren't necessary. However, referents can be used when you want to write a link before you have read the information you need to create the link.

  element term
     local stream term
     set term to "%c"                                     ; content linking
     output '<a name="content-%g(term)">'
          || "<li>%g(term):"

  element part
  local stream part
  set part to "%c"
     output '<a href="#content-%g(part)">'
          || part
          || '</a>'

Although this samples uses only one input and one output file, this type of linking also can be used in a multiple-object input and multiple-object output environment.



Sample Files

XML to HTML conversions: implicit hypertext
XML to HTML conversions: implicit hypertext HTML

Related Concepts  
   XML to HTML conversions
 
----  

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

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

Copyright © OmniMark Technologies Corporation, 1988-1999.