swirl
Guide to OmniMark 7   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
  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:

  library "-//es//dtd for foo//en" "foo.dtd"
          "-//es//text for bar//en" "bar.txt"
          "-//es//text for baz//en" "baz.txt"
          "-//es//text for bat//en" "bat.txt"

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 "-library" 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
   Entities
   Library declarations
   Public identifiers in the SGML declaration
 
 

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

OmniMark 7.1.2 Documentation Generated: June 28, 2005 at 5:45:27 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © Stilo Corporation, 1988-2005.