[ return to main page ]

XML Headers

Instructions for creating a new metadata document

In oXygen, choose New from the File menu, or click on the new document button. Choose XML Document from the menu and click OK. Click OK past the next menu and a new document will appear. Copy in the appropriate header below to create either a MODS document or a VRA document. If you will be using Schematron to validate your document for local practices, also copy the appropriate Schematron line and paste it *before* the MODS or VRA header.

Header for a MODS record

<mods xmlns="http://www.loc.gov/mods/v3"  xmlns:xlink="http://www.w3.org/1999/xlink"
xsi:schemaLocation="http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods//v3/mods-3-3.xsd">

Header for a VRA record

<vra:vra xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:vra="http://www.vraweb.org/vracore4.htm" xmlns:pul="http://diglib.princeton.edu/ns/1.0"
xsi:schemaLocation="http://www.vraweb.org/vracore4.htm http://www.loc.gov/standards/vracore/vra-strict.xsd">

Schematron link for a MODS record

<?oxygen SCHSchema="http://library.princeton.edu/departments/tsd/metadoc/main/mods.sch"?>

Schematron link for a VRA record

 <?oxygen SCHSchema="http://library.princeton.edu/departments/tsd/metadoc/main/vra.sch"?>

NOTE: this document does not yet exist!!