A Complete OMF File

A complete OMF file will include all of the relevant elements and attributes specified by the OMF scheme, along with the extensions required by ScrollKeeper. It is a good idea to include these optional elements and attributes since ScrollKeeper will provide support for many of them in the future.

Here is an example of a complete OMF file, containing metadata for almost all of the OMF elements for only one document:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE omf PUBLIC "-//OMF//DTD Scrollkeeper OMF Variant V1.0//EN" "http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd">
<omf>
  <resource>
    <creator>
      kenny@gnome.org (Kenny Graunke)
    </creator>
    <maintainer>
      kenny@gnome.org (Kenny Graunke)
    </maintainer>
    <contributor>
      jrb@redhat.com (Jonathan Blandford)
    </contributor>
    <contributor>
      hobbit@aloss.ukuu.org.uk (Telsa Gwynne)
    </contributor>
    <title>
      Gfloppy Manual
    </title>
    <date>
      2001-11-23
    </date>
    <version identifier="1.0.2" date="2001-11-23" description="Updated for Gfloppy 1.0.1"/>
    <subject category="GNOME|Core Desktop"/>
    <description>
      User manual for the Gfloppy application. 
    </description>
    <type>
      user's guide
    </type>
    <format mime="text/xml" dtd="-//OASIS//DTD DocBook XML V4.1.2//EN"/>
    <identifier url="file://usr/share/doc/gfloppy/gfloppy.xml"/>
    <language code="C"/>
    <relation seriesid="01ddeea4-0a42-11d6-9cf9-ee43c422358d"/>
    <rights type="GNU FDL" license.version="1.1" holder="Kenny Graunke"/>
  </resource>
</omf>