swirl Guide to OmniMark 5   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesOMX VariablesErrors
 
  Related Syntax   Related Concepts  
declaration/definition   library    

Syntax

  library (public-identifier system-identifier)+


Purpose

The library declaration is used to map the public identifier of an SGML/XML external text entity to a system identifier (system filename containing replacement text). In the library declaration, the public-identifiers and the system-identifiers are quoted strings.

There can be any number of library declarations in a program, but each public-identifier should have only one definition.

Note that library declarations can be put into a separate file, external to the main program, which can be referenced using the "-libpath" command-line option. Entries in the library file always take precedence over those in the OmniMark program.

OmniMark will look for the system identifier in the following order:

  1. the current directory
  2. the directory referenced in the library rule
  3. the path indicated in the -libpath argument

    Related Syntax
   #library
   #libpath
   #libvalue
 
Related Concepts
   Command-line options
   Entities
   Entity managers: programmer-defined
   Library declarations
   Public identifiers in the SGML declaration
 
----

Top [ INDEX ] [ CONCEPTS ] [ TASKS ] [ SYNTAX ] [ LIBRARIES ] [ OMX ] [ OMX ] [ ERRORS ]

Generated: August 11, 2000 at 3:07:29 pm
If you have any comments about this section of the documentation, send email to docerrors@omnimark.com

Copyright © OmniMark Technologies Corporation, 1988-2000.