SobekCM METS Files: METS HeaderOverviewThe first section is the METS header information. This contains information on how to validate this package. It also contains basic information about who created this METS document, and what software was used during the creation. This METS header specifications include the following components in a METS file:
SobekCM RulesThe SobekCM Identifier must appear in either the OBJECTID in the METS declaration or the ID in the metsHdr node. No other value is valid for either of these attributes in a SobekCM METS file. ( see notes and rules regarding SobekCM Identifier ) XML DeclarationThe XML declaration is required and it is recommended to have the proper encoding indicated, as this will be used by the XML reader. All standard encodings are supported, although METS files written by the system will always be written in UTF-8. Any METS files which were originally in a different encoding scheme will be converted to UTF-8. Examples: <?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1" standalone="no" ?>
Processing InstructionsImmediately after the XML declaration, optional processing instructions may be included. The processing instructions are analyzed to determine if the instructions are known instructions, upon which action may need to be taken. In particular, the instructions with a name of 'fcla' and 'builder' are analyzed and parsed. Any unanalyzable processing instruction is also retained, to be included in any subsequently written METS file. The fcla-named instructions can include pseudo-attributes of either 'dl' or 'fda'. The value of each pseudo-parameter must be either 'yes' or 'no'. These processing instructions are reserved for use by the Florida Center for Library Automation. The builder-named instructions indicate to the SobekCM Builder which specs to use during image creation, if the main thumbnail, page thumbnails, or jpeg images need to be created during the load or post-load process. These builder-named instructions must include a type ( either 'mainthumb', 'pagethumb', or 'jpeg' ) as well as a valid width and height. The width and height provide constraints on the size of the derivative created. Example:
<?fcla fda="no"?>
<?fcla dl="yes"?> <?builder type="mainthumb" width="150" height="330" ?> <?builder type="pagethumb" width="100" height="250" ?> <?builder type="jpeg" width="650" height="1000" ?> The processing instructions in the example above indicate:
METS DeclarationThe METS declaration is required for a valid METS file. In addition, all references schemas should be included here. Depending on the different metadata schemes used within the body of the METS file, the included schemas will vary. A matching closing METS tag should appear at the very bottom of the METS file. While several additional attributes are supported by the METS element, the following attributes are used by SobekCM.
Example:
<METS:mets OBJID="AA00008590_00001"
LABEL="Extrait du rapport adressé au Directoire exécutif par le citoyen Toussaint Louverture" TYPE="sound recording" xmlns:METS="http://www.loc.gov/METS/" xmlns:mods="http://www.loc.gov/mods/v3" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:sobekcm="http://digital.uflib.ufl.edu/metadata/sobekcm/" xsi:schemaLocation="http://www.loc.gov/METS/ http://www.loc.gov/standards/mets/mets.xsd http://www.loc.gov/mods/v3 http://www.loc.gov/mods/v3/mods-3-4.xsd http://digital.uflib.ufl.edu/metadata/sobekcm/ http://digital.uflib.ufl.edu/metadata/sobekcm/sobekcm.xsd"> metsHdr SectionThe optional metsHdr section within the METS provides information about the METS document itself, such as how and when the METS file was created or edited. If the optional ID attribute is included, it must correspond to the SobekCM Identifier and should be identical to the OBJECTID attribute on the METS element. ( see notes and rules regarding SobekCM Identifier ) The RECORDSTATUS attribute should be included for all SobekCM METS files. This status is utilized by the builder to determine the level of validation to apply, as indicated by the table below:
Various creation information can be stored in the child agent nodes, including:
Some elements within the agent tags are additionally analyzed:
Example:
<METS:metsHdr CREATEDATE="2011-12-08T11:30:38Z" LASTMODDATE="2012-01-15T13:45:40Z"
ID="AA00008590_00001" RECORDSTATUS="PARTIAL"> <METS:agent ROLE="CREATOR" TYPE="ORGANIZATION"> <METS:name>UF | University of Florida</METS:name> <METS:note>projects=FEOL, FLAG</METS:note> </METS:agent> <METS:agent OTHERTYPE="SOFTWARE" ROLE="CREATOR" TYPE="OTHER"> <METS:name>SobekCM Metadata Template</METS:name> </METS:agent> <METS:agent ROLE="CREATOR" TYPE="INDIVIDUAL"> <METS:name>dlcjpen1</METS:name> <METS:note>Online edit by Jane Pen ( 1/6/2012 )</METS:note> </METS:agent> </METS:metsHdr> |