swirl
Guide to OmniMark 9   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
 
Related Concepts
 
 

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

OmniMark 9.1.0 Documentation Generated: September 2, 2010 at 1:51:21 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2010.