Skip to content

Instantly share code, notes, and snippets.

@dltj
Created May 21, 2013 01:46
Show Gist options
  • Save dltj/5617009 to your computer and use it in GitHub Desktop.
Save dltj/5617009 to your computer and use it in GitHub Desktop.
Islandora form_builder definition
<?xml version="1.0"?>
<definition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2">
<properties>
<root_name>mods</root_name>
<schema_uri>http://www.loc.gov/standards/mods/v3/mods-3-4.xsd</schema_uri>
<namespaces default="http://www.loc.gov/mods/v3">
<namespace prefix="drs">http://lyrasis.org</namespace>
<namespace prefix="dc">http:://purl.org/elements/1.1/</namespace>
<namespace prefix="dcterms">http://purl.org/dc/terms/</namespace>
<namespace prefix="dwc">http://rs.tdwg.org/dwc/terms/</namespace>
<namespace prefix="edm">http://pro.europeana.eu/edm-documentation</namespace>
<namespace prefix="mods">http://www.loc.gov/mods/v3</namespace>
<namespace prefix="xlink">http://www.w3.org/1999/xlink</namespace>
<namespace prefix="xsi">http://www.w3.org/2001/XMLSchema-instance</namespace>
</namespaces>
</properties>
<form>
<properties>
<type>form</type>
<access>TRUE</access>
<required>FALSE</required>
<tree>TRUE</tree>
<actions>
<create>NULL</create>
<read>
<path>//mods:mods[1]</path>
<context>document</context>
</read>
<update>NULL</update>
<delete>NULL</delete>
</actions>
</properties>
<children>
<element name="title">
<properties>
<type>textfield</type>
<access>TRUE</access>
<description>Name given to source resource.</description>
<maxlength>400</maxlength>
<required>TRUE</required>
<title>Title</title>
<tree>TRUE</tree>
<actions>
<create>
<path>self::node()</path>
<context>parent</context>
<schema/>
<type>xml</type>
<prefix>NULL</prefix>
<value>&lt;titleInfo
type="main"&gt;&lt;title&gt;%value%&lt;/title&gt;&lt;/titleInfo&gt;</value>
</create>
<read>
<path>mods:titleInfo[@type='main']/mods:title</path>
<context>parent</context>
</read>
<update>
<path>self::node()</path>
<context>self</context>
</update>
<delete>NULL</delete>
</actions>
</properties>
<children/>
</element>
<element name="alternative">
<properties>
<type>tags</type>
<access>TRUE</access>
<description>Other title(s) used for the source resource.</description>
<required>FALSE</required>
<title>Alternative title</title>
<tree>TRUE</tree>
</properties>
<children>
<element name="0">
<properties>
<type>tag</type>
<access>TRUE</access>
<required>FALSE</required>
<tree>TRUE</tree>
<actions>
<create>
<path>self::node()</path>
<context>parent</context>
<schema/>
<type>xml</type>
<prefix>NULL</prefix>
<value>&lt;titleInfo
type="alternative"&gt;&lt;title&gt;%value%&lt;/title&gt;&lt;/titleInfo&gt;</value>
</create>
<read>
<path>mods:titleInfo[@type='alternative']/mods:title</path>
<context>parent</context>
</read>
<update>
<path>self::node()</path>
<context>self</context>
</update>
<delete>
<path>self::node()</path>
<context>self</context>
</delete>
</actions>
</properties>
<children/>
</element>
</children>
</element>
<element name="creator">
<properties>
<type>tags</type>
<access>TRUE</access>
<description>Entity primarily responsible for making source
resource.</description>
<required>FALSE</required>
<title>Creator</title>
<tree>TRUE</tree>
</properties>
<children>
<element name="0">
<properties>
<type>tag</type>
<access>TRUE</access>
<required>FALSE</required>
<tree>TRUE</tree>
<actions>
<create>
<path>self::node()</path>
<context>parent</context>
<schema/>
<type>xml</type>
<prefix>NULL</prefix>
<value>&lt;name&gt;&lt;namePart&gt;%value%&lt;/namePart&gt;&lt;role&gt;creator&lt;/role&gt;&lt;/name&gt;</value>
</create>
<read>
<path>mods:name[(contains(mods:role,"creator"))]/mods:namePart</path>
<context>parent</context>
</read>
<update>
<path>self::node()</path>
<context>self</context>
</update>
<delete>
<path>self::node()</path>
<context>self</context>
</delete>
</actions>
</properties>
<children/>
</element>
</children>
</element>
<element name="contributor">
<properties>
<type>tags</type>
<access>TRUE</access>
<description>Entity responsible for making contributions to the source
resource.</description>
<required>FALSE</required>
<title>Contributor</title>
<tree>TRUE</tree>
</properties>
<children>
<element name="0">
<properties>
<type>tag</type>
<access>TRUE</access>
<required>FALSE</required>
<tree>TRUE</tree>
<actions>
<create>
<path>self::node()</path>
<context>parent</context>
<schema/>
<type>xml</type>
<prefix>NULL</prefix>
<value>&lt;name&gt;&lt;namePart&gt;%value%&lt;/namePart&gt;&lt;/name&gt;</value>
</create>
<read>
<path>mods:name[not(mods:role)]/mods:namePart</path>
<context>parent</context>
</read>
<update>
<path>self::node()</path>
<context>self</context>
</update>
<delete>
<path>self::node()</path>
<context>self</context>
</delete>
</actions>
</properties>
<children/>
</element>
</children>
</element>
<element name="dates">
<properties>
<type>fieldset</type>
<access>TRUE</access>
<description>Publication information</description>
<required>FALSE</required>
<tree>TRUE</tree>
</properties>
<children>
<element name="publisher">
<properties>
<type>tags</type>
<access>TRUE</access>
<description>Entity responsible for making the source resource
available, typically the publisher of a text.</description>
<required>FALSE</required>
<title>Publisher</title>
<tree>TRUE</tree>
</properties>
<children>
<element name="0">
<properties>
<type>tag</type>
<access>TRUE</access>
<required>FALSE</required>
<tree>TRUE</tree>
<actions>
<create>
<path>self::node()</path>
<context>parent</context>
<schema/>
<type>xml</type>
<prefix>NULL</prefix>
<value>&lt;originInfo&gt;&lt;publisher&gt;%value%&lt;/publisher&gt;&lt;/originInfo&gt;</value>
</create>
<read>
<path>mods:originInfo/mods:publisher</path>
<context>parent</context>
</read>
<update>
<path>self::node()</path>
<context>self</context>
</update>
<delete>NULL</delete>
</actions>
</properties>
<children/>
</element>
</children>
</element>
<element name="date">
<properties>
<type>tags</type>
<access>TRUE</access>
<description>An undifferentiated date associated with the
resource.</description>
<required>FALSE</required>
<title>Date</title>
<tree>TRUE</tree>
</properties>
<children>
<element name="0">
<properties>
<type>tag</type>
<access>TRUE</access>
<required>FALSE</required>
<tree>TRUE</tree>
<actions>
<create>
<path>mods:originInfo</path>
<context>parent</context>
<schema/>
<type>element</type>
<prefix>NULL</prefix>
<value>dateOther</value>
</create>
<read>
<path>mods:originInfo/mods:dateOther[not(@point)]</path>
<context>parent</context>
</read>
<update>
<path>self::node()</path>
<context>self</context>
</update>
<delete>NULL</delete>
</actions>
</properties>
<children/>
</element>
</children>
</element>
<element name="copyrightDate">
<properties>
<type>tags</type>
<access>TRUE</access>
<description>The date the resource was copyrighted (single
date).</description>
<required>FALSE</required>
<title>Date Copyrighted</title>
<tree>TRUE</tree>
</properties>
<children>
<element name="0">
<properties>
<type>tag</type>
<access>TRUE</access>
<required>FALSE</required>
<tree>TRUE</tree>
<actions>
<create>
<path>mods:originInfo</path>
<context>parent</context>
<schema/>
<type>element</type>
<prefix>NULL</prefix>
<value>copyrightDate</value>
</create>
<read>
<path>mods:originInfo/mods:copyrightDate[not(@point)]</path>
<context>parent</context>
</read>
<update>
<path>self::node()</path>
<context>self</context>
</update>
<delete>NULL</delete>
</actions>
</properties>
<children/>
</element>
</children>
</element>
<element name="created">
<properties>
<type>tags</type>
<access>TRUE</access>
<description>The date of creation of the resource.</description>
<required>FALSE</required>
<title>Date Created</title>
<tree>TRUE</tree>
</properties>
<children>
<element name="0">
<properties>
<type>tag</type>
<access>TRUE</access>
<required>FALSE</required>
<tree>TRUE</tree>
<actions>
<create>
<path>mods:originInfo</path>
<context>parent</context>
<schema/>
<type>element</type>
<prefix>NULL</prefix>
<value>dateCreated</value>
</create>
<read>
<path>mods:originInfo/mods:dateCreated[not(@point)]</path>
<context>parent</context>
</read>
<update>
<path>self::node()</path>
<context>self</context>
</update>
<delete>NULL</delete>
</actions>
</properties>
<children/>
</element>
</children>
</element>
<element name="issued">
<properties>
<type>tags</type>
<access>TRUE</access>
<description>Date of formal issuance (e.g., publication) of the
resource.</description>
<required>FALSE</required>
<title>Date Issued</title>
<tree>TRUE</tree>
</properties>
<children>
<element name="0">
<properties>
<type>tag</type>
<access>TRUE</access>
<required>FALSE</required>
<tree>TRUE</tree>
<actions>
<create>
<path>mods:originInfo</path>
<context>parent</context>
<schema/>
<type>element</type>
<prefix>NULL</prefix>
<value>dateIssued</value>
</create>
<read>
<path>mods:originInfo/mods:dateIssued[not(@point)]</path>
<context>parent</context>
</read>
<update>
<path>self::node()</path>
<context>self</context>
</update>
<delete>NULL</delete>
</actions>
</properties>
<children/>
</element>
</children>
</element>
<element name="modified">
<properties>
<type>tags</type>
<access>TRUE</access>
<description>Date on which the resource was changed.</description>
<required>FALSE</required>
<title>Date Modified</title>
<tree>TRUE</tree>
</properties>
<children>
<element name="0">
<properties>
<type>tag</type>
<access>TRUE</access>
<required>FALSE</required>
<tree>TRUE</tree>
<actions>
<create>
<path>mods:originInfo</path>
<context>parent</context>
<schema/>
<type>element</type>
<prefix>NULL</prefix>
<value>dateModified</value>
</create>
<read>
<path>mods:originInfo/mods:dateModified[not(@point)]</path>
<context>parent</context>
</read>
<update>
<path>self::node()</path>
<context>self</context>
</update>
<delete>NULL</delete>
</actions>
</properties>
<children/>
</element>
</children>
</element>
<element name="valid">
<properties>
<type>tags</type>
<access>TRUE</access>
<description>Date (often a range) of validity of a
resource.</description>
<required>FALSE</required>
<title>Date Valid</title>
<tree>TRUE</tree>
</properties>
<children>
<element name="0">
<properties>
<type>tag</type>
<access>TRUE</access>
<required>FALSE</required>
<tree>TRUE</tree>
<actions>
<create>
<path>mods:originInfo</path>
<context>parent</context>
<schema/>
<type>element</type>
<prefix>NULL</prefix>
<value>dateValid</value>
</create>
<read>
<path>mods:originInfo/mods:dateValid[not(@point)]</path>
<context>parent</context>
</read>
<update>
<path>self::node()</path>
<context>self</context>
</update>
<delete>NULL</delete>
</actions>
</properties>
<children/>
</element>
</children>
</element>
</children>
</element>
<element name="description">
<properties>
<type>tabs</type>
<access>TRUE</access>
<description>Includes, but is not limited to, an abstract, table of contents, or
a free-text account of source resource.</description>
<required>FALSE</required>
<title>Description</title>
<tree>TRUE</tree>
<actions>
<create>NULL</create>
<read>
<path>/mods:mods</path>
<context>document</context>
</read>
<update>NULL</update>
<delete>NULL</delete>
</actions>
</properties>
<children>
<element name="descPanel">
<properties>
<type>tabpanel</type>
<access>TRUE</access>
<required>FALSE</required>
<tree>TRUE</tree>
<actions>
<create>
<path>self::node()</path>
<context>parent</context>
<schema/>
<type>element</type>
<prefix>NULL</prefix>
<value>abstract</value>
</create>
<read>
<path>mods:abstract</path>
<context>parent</context>
</read>
<update>
<path>self::node()</path>
<context>self</context>
</update>
<delete>NULL</delete>
</actions>
</properties>
<children>
<element name="0">
<properties>
<type>textarea</type>
<access>TRUE</access>
<required>FALSE</required>
<tree>TRUE</tree>
<actions>
<create>NULL</create>
<read>
<path>self::node()</path>
<context>parent</context>
</read>
<update>
<path>self::node()</path>
<context>parent</context>
</update>
<delete>
<path>self::node()</path>
<context>self</context>
</delete>
</actions>
</properties>
<children/>
</element>
</children>
</element>
</children>
</element>
<element name="extent">
<properties>
<type>tags</type>
<access>TRUE</access>
<description>A statement of the number and specific material of the units of the
resource.</description>
<required>FALSE</required>
<title>Extent</title>
<tree>TRUE</tree>
</properties>
<children>
<element name="0">
<properties>
<type>tag</type>
<access>TRUE</access>
<required>FALSE</required>
<tree>TRUE</tree>
<actions>
<create>
<path>self::node()</path>
<context>parent</context>
<schema/>
<type>xml</type>
<prefix>NULL</prefix>
<value>&lt;physicalDescription&gt;&lt;extent&gt;%value%&lt;/extent&gt;&lt;/physicalDescription&gt;</value>
</create>
<read>
<path>mods:physicalDescription/mods:extent</path>
<context>parent</context>
</read>
<update>
<path>self::node()</path>
<context>self</context>
</update>
<delete>
<path>self::node()</path>
<context>self</context>
</delete>
</actions>
</properties>
<children/>
</element>
</children>
</element>
<element name="format">
<properties>
<type>tags</type>
<access>TRUE</access>
<description>File format, physical medium or dimensions of source resource.
Usage note: If possible, use "extent" for dimensions.</description>
<required>FALSE</required>
<title>Format</title>
<tree>TRUE</tree>
</properties>
<children>
<element name="0">
<properties>
<type>tag</type>
<access>TRUE</access>
<required>FALSE</required>
<tree>TRUE</tree>
<actions>
<create>
<path>self::node()</path>
<context>parent</context>
<schema/>
<type>xml</type>
<prefix>NULL</prefix>
<value>&lt;physicalDescription&gt;&lt;form&gt;%value%&lt;/form&gt;&lt;/physicalDescription&gt;</value>
</create>
<read>
<path>mods:physicalDescription/mods:form[not(@*)]</path>
<context>parent</context>
</read>
<update>
<path>self::node()</path>
<context>self</context>
</update>
<delete>
<path>self::node()</path>
<context>self</context>
</delete>
</actions>
</properties>
<children/>
</element>
</children>
</element>
<element name="identifier">
<properties>
<type>tags</type>
<access>TRUE</access>
<description>A unique standard number or code that distinctively identifies the
resource. To indicate the type of identifier, preface the string with (type)
e.g. (ISSN) 1234-5678. </description>
<required>FALSE</required>
<title>Identifier</title>
<tree>TRUE</tree>
</properties>
<children>
<element name="0">
<properties>
<type>tag</type>
<access>TRUE</access>
<required>FALSE</required>
<tree>TRUE</tree>
<actions>
<create>
<path>self::node()</path>
<context>parent</context>
<schema/>
<type>element</type>
<prefix>NULL</prefix>
<value>identifier</value>
</create>
<read>
<path>mods:identifier</path>
<context>parent</context>
</read>
<update>
<path>self::node()</path>
<context>self</context>
</update>
<delete>NULL</delete>
</actions>
</properties>
<children/>
</element>
</children>
</element>
<element name="language">
<properties>
<type>tags</type>
<access>TRUE</access>
<description>Language(s) of source resource. Use English name of language in
http://www.loc.gov/standards/iso639-2/php/code_list.php.</description>
<required>FALSE</required>
<title>Language</title>
<tree>TRUE</tree>
</properties>
<children>
<element name="0">
<properties>
<type>tag</type>
<access>TRUE</access>
<required>FALSE</required>
<tree>TRUE</tree>
<actions>
<create>
<path>self::node()</path>
<context>parent</context>
<schema/>
<type>xml</type>
<prefix>NULL</prefix>
<value>&lt;language&gt;&lt;languageTerm&gt;%value%&lt;/languageTerm&gt;&lt;/language&gt;</value>
</create>
<read>
<path>mods:language/mods:languageTerm</path>
<context>parent</context>
</read>
<update>
<path>self::node()</path>
<context>self</context>
</update>
<delete>NULL</delete>
</actions>
</properties>
<children/>
</element>
</children>
</element>
<element name="relations">
<properties>
<type>fieldset</type>
<access>TRUE</access>
<description>Relations</description>
<required>FALSE</required>
<tree>TRUE</tree>
</properties>
<children>
<element name="relatedTitle">
<properties>
<type>tags</type>
<access>TRUE</access>
<description>Title of related resource.</description>
<required>FALSE</required>
<title>Relation (title)</title>
<tree>TRUE</tree>
</properties>
<children>
<element name="0">
<properties>
<type>tag</type>
<access>TRUE</access>
<required>FALSE</required>
<tree>TRUE</tree>
<actions>
<create>
<path>self::node()</path>
<context>parent</context>
<schema/>
<type>xml</type>
<prefix>NULL</prefix>
<value>&lt;relatedItem&gt;&lt;titleInfo&gt;&lt;title&gt;%value%&lt;/title&gt;&lt;/titleInfo&gt;&lt;/relatedItem&gt;</value>
</create>
<read>
<path>mods:relatedItem[@type!="host" or
not(@type)]/mods:titleInfo/mods:title</path>
<context>parent</context>
</read>
<update>
<path>self::node()</path>
<context>self</context>
</update>
<delete>
<path>self::node()</path>
<context>self</context>
</delete>
</actions>
</properties>
<children/>
</element>
</children>
</element>
<element name="relatedURL">
<properties>
<type>tags</type>
<access>TRUE</access>
<description>URL of related resource.</description>
<required>FALSE</required>
<title>Relation (URL)</title>
<tree>TRUE</tree>
</properties>
<children>
<element name="0">
<properties>
<type>tag</type>
<access>TRUE</access>
<required>FALSE</required>
<tree>TRUE</tree>
<actions>
<create>
<path>self::node()</path>
<context>parent</context>
<schema/>
<type>xml</type>
<prefix>NULL</prefix>
<value>&lt;relatedItem&gt;&lt;location&gt;&lt;URL&gt;%value%&lt;/URL&gt;&lt;/location&gt;&lt;/relatedItem&gt;</value>
</create>
<read>
<path>mods:relatedItem/mods:location/mods:URL</path>
<context>parent</context>
</read>
<update>
<path>self::node()</path>
<context>self</context>
</update>
<delete>
<path>self::node()</path>
<context>self</context>
</delete>
</actions>
</properties>
<children/>
</element>
</children>
</element>
<element name="isPartOf">
<properties>
<type>tags</type>
<access>TRUE</access>
<description>A related resource in which the described resource is
physically or logically included.</description>
<required>FALSE</required>
<title>Relation (is part of title)</title>
<tree>TRUE</tree>
</properties>
<children>
<element name="0">
<properties>
<type>tag</type>
<access>TRUE</access>
<required>FALSE</required>
<tree>TRUE</tree>
<actions>
<create>
<path>self::node()</path>
<context>parent</context>
<schema/>
<type>xml</type>
<prefix>NULL</prefix>
<value>&lt;relatedItem
type="host"&gt;&lt;titleInfo&gt;&lt;title&gt;%value%&lt;/title&gt;&lt;/titleInfo&gt;&lt;/relatedItem&gt;</value>
</create>
<read>
<path>mods:relatedItem[@type='host']/mods:titleInfo/mods:title</path>
<context>parent</context>
</read>
<update>
<path>self::node()</path>
<context>self</context>
</update>
<delete>
<path>self::node()</path>
<context>self</context>
</delete>
</actions>
</properties>
<children/>
</element>
</children>
</element>
</children>
</element>
<element name="Rights">
<properties>
<type>tags</type>
<access>TRUE</access>
<description>Information about the rights held in and over source resource.
Typically, rights information includes a statement about various property
rights associated with source resource, including intellectual property
rights.</description>
<required>FALSE</required>
<title>Rights</title>
<tree>TRUE</tree>
</properties>
<children>
<element name="0">
<properties>
<type>tag</type>
<access>TRUE</access>
<required>FALSE</required>
<title>Rights</title>
<tree>TRUE</tree>
<actions>
<create>
<path>self::node()</path>
<context>parent</context>
<schema/>
<type>element</type>
<prefix>NULL</prefix>
<value>accessCondition</value>
</create>
<read>
<path>mods:accessCondition</path>
<context>parent</context>
</read>
<update>
<path>self::node()</path>
<context>self</context>
</update>
<delete>
<path>self::node()</path>
<context>self</context>
</delete>
</actions>
</properties>
<children/>
</element>
</children>
</element>
<element name="subject">
<properties>
<type>tags</type>
<access>TRUE</access>
<description>Topic of source resource.</description>
<required>FALSE</required>
<title>Subject</title>
<tree>TRUE</tree>
<actions>
<create>
<path>self::node()</path>
<context>parent</context>
<schema/>
<type>element</type>
<prefix>NULL</prefix>
<value>subject</value>
</create>
<read>
<path>mods:subject[local-name(*[1])='topic']</path>
<context>document</context>
</read>
<update>NULL</update>
<delete>
<path>self::node()</path>
<context>self</context>
</delete>
</actions>
</properties>
<children>
<element name="0">
<properties>
<type>tag</type>
<access>TRUE</access>
<required>FALSE</required>
<tree>TRUE</tree>
<actions>
<create>
<path>self::node()</path>
<context>parent</context>
<schema/>
<type>element</type>
<prefix>NULL</prefix>
<value>topic</value>
</create>
<read>
<path>mods:topic</path>
<context>parent</context>
</read>
<update>
<path>self::node()</path>
<context>self</context>
</update>
<delete>NULL</delete>
</actions>
</properties>
<children/>
</element>
</children>
</element>
<element name="spatial">
<properties>
<type>tags</type>
<access>TRUE</access>
<description>Spacial characteristics of source resource.</description>
<required>FALSE</required>
<title>Place</title>
<tree>TRUE</tree>
<actions>
<create>
<path>self::node()</path>
<context>parent</context>
<schema/>
<type>element</type>
<prefix>NULL</prefix>
<value>subject</value>
</create>
<read>
<path>mods:subject[local-name(*[1])='geographic']</path>
<context>document</context>
</read>
<update>NULL</update>
<delete>
<path>self::node()</path>
<context>self</context>
</delete>
</actions>
</properties>
<children>
<element name="0">
<properties>
<type>tag</type>
<access>TRUE</access>
<required>FALSE</required>
<tree>TRUE</tree>
<actions>
<create>
<path>self::node()</path>
<context>parent</context>
<schema/>
<type>element</type>
<prefix>NULL</prefix>
<value>temporal</value>
</create>
<read>
<path>mods:temporal</path>
<context>parent</context>
</read>
<update>
<path>self::node()</path>
<context>self</context>
</update>
<delete>NULL</delete>
</actions>
</properties>
<children/>
</element>
</children>
</element>
<element name="temporal">
<properties>
<type>tags</type>
<access>TRUE</access>
<description>Temporal characteristics of the source resource.</description>
<required>FALSE</required>
<title>Temporal coverage</title>
<tree>TRUE</tree>
<actions>
<create>
<path>self::node()</path>
<context>parent</context>
<schema/>
<type>element</type>
<prefix>NULL</prefix>
<value>subject</value>
</create>
<read>
<path>mods:subject[local-name(*[1])='temporal']</path>
<context>document</context>
</read>
<update>NULL</update>
<delete>
<path>self::node()</path>
<context>self</context>
</delete>
</actions>
</properties>
<children/>
</element>
<element name="type">
<properties>
<type>tags</type>
<access>TRUE</access>
<description>Nature or genre of source resource.</description>
<required>FALSE</required>
<title>Type</title>
<tree>TRUE</tree>
</properties>
<children>
<element name="0">
<properties>
<type>tag</type>
<access>TRUE</access>
<required>FALSE</required>
<tree>TRUE</tree>
<actions>
<create>
<path>self::node()</path>
<context>parent</context>
<schema/>
<type>element</type>
<prefix>NULL</prefix>
<value>genre</value>
</create>
<read>
<path>mods:genre</path>
<context>parent</context>
</read>
<update>
<path>self::node()</path>
<context>self</context>
</update>
<delete>
<path>self::node()</path>
<context>self</context>
</delete>
</actions>
</properties>
<children/>
</element>
</children>
</element>
<element name="extensionAdmin">
<properties>
<type>fieldset</type>
<access>TRUE</access>
<required>FALSE</required>
<title>Administrative metadata</title>
<tree>TRUE</tree>
<actions>
<create>
<path>self::node()</path>
<context>parent</context>
<schema/>
<type>element</type>
<prefix>NULL</prefix>
<value>extension</value>
</create>
<read>
<path>mods:extension[mods:admin]</path>
<context>parent</context>
</read>
<update>NULL</update>
<delete>NULL</delete>
</actions>
</properties>
<children>
<element name="0">
<properties>
<type>markup</type>
<access>TRUE</access>
<required>FALSE</required>
<tree>TRUE</tree>
<actions>
<create>
<path>self::node()</path>
<context>parent</context>
<schema/>
<type>element</type>
<prefix>NULL</prefix>
<value>admin</value>
</create>
<read>
<path>mods:extension[mods:admin]</path>
<context>parent</context>
</read>
<update>NULL</update>
<delete>NULL</delete>
</actions>
</properties>
<children>
<element name="ppi">
<properties>
<type>textfield</type>
<access>TRUE</access>
<description>Pixels per inch</description>
<required>FALSE</required>
<title>PPI</title>
<tree>TRUE</tree>
<actions>
<create>
<path>self::node()</path>
<context>parent</context>
<schema/>
<type>element</type>
<prefix>NULL</prefix>
<value>ppi</value>
</create>
<read>
<path>mods:ppi</path>
<context>parent</context>
</read>
<update>
<path>self::node()</path>
<context>self</context>
</update>
<delete>NULL</delete>
</actions>
</properties>
<children/>
</element>
<element name="ocr">
<properties>
<type>textfield</type>
<access>TRUE</access>
<description>Name of optical character recognition system
used.</description>
<required>FALSE</required>
<title>OCR</title>
<tree>TRUE</tree>
<actions>
<create>
<path>self::node()</path>
<context>parent</context>
<schema/>
<type>element</type>
<prefix>NULL</prefix>
<value>ocr</value>
</create>
<read>
<path>mods:ocr</path>
<context>parent</context>
</read>
<update>
<path>self::node()</path>
<context>self</context>
</update>
<delete>NULL</delete>
</actions>
</properties>
<children/>
</element>
</children>
</element>
</children>
</element>
<element name="extensionDPLA">
<properties>
<type>fieldset</type>
<access>TRUE</access>
<required>FALSE</required>
<title>DPLA metadata</title>
<tree>TRUE</tree>
<actions>
<create>
<path>self::node()</path>
<context>parent</context>
<schema/>
<type>element</type>
<prefix>NULL</prefix>
<value>extension</value>
</create>
<read>
<path>mods:extension[mods:dpla]</path>
<context>parent</context>
</read>
<update>NULL</update>
<delete>NULL</delete>
</actions>
</properties>
<children>
<element name="0">
<properties>
<type>markup</type>
<access>TRUE</access>
<required>FALSE</required>
<tree>TRUE</tree>
<actions>
<create>
<path>self::node()</path>
<context>parent</context>
<schema/>
<type>element</type>
<prefix>NULL</prefix>
<value>dpla</value>
</create>
<read>
<path>mods:extension[mods:dpla]</path>
<context>parent</context>
</read>
<update>NULL</update>
<delete>NULL</delete>
</actions>
</properties>
<children>
<element name="contentLocation">
<properties>
<type>textfield</type>
<access>TRUE</access>
<description>The state where the content is
located.</description>
<required>FALSE</required>
<title>Content location</title>
<tree>TRUE</tree>
<actions>
<create>
<path>self::node()</path>
<context>parent</context>
<schema/>
<type>element</type>
<prefix>NULL</prefix>
<value>contentLocation</value>
</create>
<read>
<path>mods:contentLocation</path>
<context>parent</context>
</read>
<update>
<path>self::node()</path>
<context>self</context>
</update>
<delete>NULL</delete>
</actions>
</properties>
<children/>
</element>
</children>
</element>
</children>
</element>
</children>
</form>
</definition>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment