swirl
Guide to OmniMark 8   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 ] [ LEGACY LIBRARIES ] [ ERRORS ]

OmniMark 8.2.0 Documentation Generated: March 13, 2008 at 3:33:48 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2008.