Files
DSpace/dspace/docs/html/DRI Schema Reference.html

2390 lines
103 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>DSpace Documentation : DRI Schema Reference</title>
<link rel="stylesheet" href="styles/site.css" type="text/css" />
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<table class="pagecontent" border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#ffffff">
<tr>
<td valign="top" class="pagebody">
<div class="pageheader">
<span class="pagetitle">
DSpace Documentation : DRI Schema Reference
</span>
</div>
<div class="pagesubheading">
This page last changed on Dec 15, 2010 by <font color="#0050B2">tdonohue</font>.
</div>
<h1><a name="DRISchemaReference-DSpaceSystemDocumentation%3ADRISchemaReference"></a>DSpace System Documentation: DRI Schema Reference</h1>
<p>Digital Repository Interface (DRI) is a schema that governs the structure of a Manakin DSpace page when encoded as an XML Document. It determines what elements can be present in the Document and the relationship of those elements to each other. This reference document explains the purpose of DRI, provides a broad architectural overview, and explains common design patterns. The appendix includes a complete reference for elements used in the DRI Schema, a graphical representation of the element hierarchy, and a quick reference table of elements and attributes.</p>
<p><b>Table of Contents:</b></p>
<style type='text/css'>/*<![CDATA[*/
div.rbtoc1292436648637 {margin-left: 0px;padding: 0px;}
div.rbtoc1292436648637 ul {list-style: none;margin-left: 0px;}
div.rbtoc1292436648637 li {margin-left: 0px;padding-left: 0px;}
/*]]>*/</style><div class='rbtoc1292436648637'>
<ul>
<li><span class='TOCOutline'>1</span> <a href='#DRISchemaReference-Introduction'>Introduction</a></li>
<ul>
<li><span class='TOCOutline'>1.1</span> <a href='#DRISchemaReference-ThePurposeofDRI'>The Purpose of DRI</a></li>
<li><span class='TOCOutline'>1.2</span> <a href='#DRISchemaReference-TheDevelopmentofDRI'>The Development of DRI</a></li>
</ul>
<li><span class='TOCOutline'>2</span> <a href='#DRISchemaReference-DRIinManakin'>DRI in Manakin</a></li>
<ul>
<li><span class='TOCOutline'>2.1</span> <a href='#DRISchemaReference-Themes'>Themes</a></li>
<li><span class='TOCOutline'>2.2</span> <a href='#DRISchemaReference-AspectChains'>Aspect Chains</a></li>
</ul>
<li><span class='TOCOutline'>3</span> <a href='#DRISchemaReference-CommonDesignPatterns'>Common Design Patterns</a></li>
<ul>
<li><span class='TOCOutline'>3.1</span> <a href='#DRISchemaReference-LocalizationandInternationalization'>Localization and Internationalization</a></li>
<li><span class='TOCOutline'>3.2</span> <a href='#DRISchemaReference-Standardattributetriplet'>Standard attribute triplet</a></li>
<li><span class='TOCOutline'>3.3</span> <a href='#DRISchemaReference-Structureorientedmarkup'>Structure-oriented markup</a></li>
</ul>
<li><span class='TOCOutline'>4</span> <a href='#DRISchemaReference-SchemaOverview'>Schema Overview</a></li>
<li><span class='TOCOutline'>5</span> <a href='#DRISchemaReference-MergingofDRIDocuments'>Merging of DRI Documents</a></li>
<li><span class='TOCOutline'>6</span> <a href='#DRISchemaReference-VersionChanges'>Version Changes</a></li>
<ul>
<li><span class='TOCOutline'>6.1</span> <a href='#DRISchemaReference-Changesfrom1.0to1.1'>Changes from 1.0 to 1.1</a></li>
</ul>
<li><span class='TOCOutline'>7</span> <a href='#DRISchemaReference-ElementReference'>Element Reference</a></li>
<ul>
<li><span class='TOCOutline'>7.1</span> <a href='#DRISchemaReference-BODY'>BODY</a></li>
<li><span class='TOCOutline'>7.2</span> <a href='#DRISchemaReference-cell'>cell</a></li>
<li><span class='TOCOutline'>7.3</span> <a href='#DRISchemaReference-div'>div</a></li>
<li><span class='TOCOutline'>7.4</span> <a href='#DRISchemaReference-DOCUMENT'>DOCUMENT</a></li>
<li><span class='TOCOutline'>7.5</span> <a href='#DRISchemaReference-field'>field</a></li>
<li><span class='TOCOutline'>7.6</span> <a href='#DRISchemaReference-figure'>figure</a></li>
<li><span class='TOCOutline'>7.7</span> <a href='#DRISchemaReference-head'>head</a></li>
<li><span class='TOCOutline'>7.8</span> <a href='#DRISchemaReference-help'>help</a></li>
<li><span class='TOCOutline'>7.9</span> <a href='#DRISchemaReference-hi'>hi</a></li>
<li><span class='TOCOutline'>7.10</span> <a href='#DRISchemaReference-instance'>instance</a></li>
<li><span class='TOCOutline'>7.11</span> <a href='#DRISchemaReference-item'>item</a></li>
<li><span class='TOCOutline'>7.12</span> <a href='#DRISchemaReference-label'>label</a></li>
<li><span class='TOCOutline'>7.13</span> <a href='#DRISchemaReference-list'>list</a></li>
<li><span class='TOCOutline'>7.14</span> <a href='#DRISchemaReference-META'>META</a></li>
<li><span class='TOCOutline'>7.15</span> <a href='#DRISchemaReference-metadata'>metadata</a></li>
<li><span class='TOCOutline'>7.16</span> <a href='#DRISchemaReference-OPTIONS'>OPTIONS</a></li>
<li><span class='TOCOutline'>7.17</span> <a href='#DRISchemaReference-p'>p</a></li>
<li><span class='TOCOutline'>7.18</span> <a href='#DRISchemaReference-pageMeta'>pageMeta</a></li>
<li><span class='TOCOutline'>7.19</span> <a href='#DRISchemaReference-params'>params</a></li>
<li><span class='TOCOutline'>7.20</span> <a href='#DRISchemaReference-reference'>reference</a></li>
<li><span class='TOCOutline'>7.21</span> <a href='#DRISchemaReference-referenceSet'>referenceSet</a></li>
<li><span class='TOCOutline'>7.22</span> <a href='#DRISchemaReference-repository'>repository</a></li>
<li><span class='TOCOutline'>7.23</span> <a href='#DRISchemaReference-repositoryMeta'>repositoryMeta</a></li>
<li><span class='TOCOutline'>7.24</span> <a href='#DRISchemaReference-row'>row</a></li>
<li><span class='TOCOutline'>7.25</span> <a href='#DRISchemaReference-table'>table</a></li>
<li><span class='TOCOutline'>7.26</span> <a href='#DRISchemaReference-trail'>trail</a></li>
<li><span class='TOCOutline'>7.27</span> <a href='#DRISchemaReference-userMeta'>userMeta</a></li>
<li><span class='TOCOutline'>7.28</span> <a href='#DRISchemaReference-value'>value</a></li>
<li><span class='TOCOutline'>7.29</span> <a href='#DRISchemaReference-xref'>xref</a></li>
</ul>
</ul></div>
<h2><a name="DRISchemaReference-Introduction"></a>Introduction</h2>
<p>This manual describes the Digital Repository Interface (DRI) as it applies to the DSpace digital repository and XMLUI Manakin based interface. DSpace XML UI is a comprehensive user interface system. It is centralized and generic, allowing it to be applied to all DSpace pages, effectively replacing the JSP-based interface system. Its ability to apply specific styles to arbitrarily large sets of DSpace pages significantly eases the task of adapting the DSpace look and feel to that of the adopting institution. This also allows for several levels of branding, lending institutional credibility to the repository and collections.</p>
<p>Manakin, the second version of DSpace XML UI, consists of several components, written using Java, XML, and XSL, and is implemented in <a href="http://cocoon.apache.org/" title="Cocoon">Cocoon</a>. Central to the interface is the XML Document, which is a semantic representation of a DSpace page. In Manakin, the XML Document adheres to a schema called the Digital Repository Interface (DRI) Schema, which was developed in conjunction with Manakin and is the subject of this guide. For the remainder of this guide, the terms XML Document, DRI Document, and Document will be used interchangeably.</p>
<p>This reference document explains the purpose of DRI, provides a broad architectural overview, and explains common design patterns. The appendix includes a complete reference for elements used in the DRI Schema, a graphical representation of the element hierarchy, and a quick reference table of elements and attributes.</p>
<h3><a name="DRISchemaReference-ThePurposeofDRI"></a>The Purpose of DRI</h3>
<p>DRI is a schema that governs the structure of the XML Document. It determines the elements that can be present in the Document and the relationship of those elements to each other. Since all Manakin components produce XML Documents that adhere to the DRI schema, The XML Document serves as the abstraction layer. Two such components, Themes and Aspects, are essential to the workings of Manakin and are described briefly in this manual.</p>
<h3><a name="DRISchemaReference-TheDevelopmentofDRI"></a>The Development of DRI</h3>
<p>The DRI schema was developed for use in Manakin. The choice to develop our own schema rather than adapt an existing one came after a careful analysis of the schema's purpose as well as the lessons learned from earlier attempts at customizing the DSpace interface. Since every DSpace page in Manakin exists as an XML Document at some point in the process, the schema describing that Document had to be able to structurally represent all content, metadata and relationships between different parts of a DSpace page. It had to be precise enough to avoid losing any structural information, and yet generic enough to allow Themes a certain degree of freedom in expressing that information in a readable format.</p>
<p>Popular schemas such as XHTML suffer from the problem of not relating elements together explicitly. For example, if a heading precedes a paragraph, the heading is related to the paragraph not because it is encoded as such but because it happens to precede it. When these structures are attempted to be translated into formats where these types of relationships are explicit, the translation becomes tedious, and potentially problematic. More structured schemas, like TEI or Docbook, are domain specific (much like DRI itself) and therefore not suitable for our purposes.</p>
<p>We also decided that the schema should natively support a metadata standard for encoding artifacts. Rather than encoding artifact metadata in structural elements, like tables or lists, the schema would include artifacts as objects encoded in a particular standard. The inclusion of metadata in native format would enable the Theme to choose the best method to render the artifact for display without being tied to a particular structure.</p>
<p>Ultimately, we chose to develop our own schema. We have constructed the DRI schema by incorporating other standards when appropriate, such as <a href="http://cocoon.apache.org/2.1/userdocs/i18nTransformer.html" title="Cocoon's i18n schema">Cocoon's i18n schema</a> for internationalization, <a href="http://dublincore.org/" title="DCMI's Dublin Core">DCMI's Dublin Core</a>, and the <a href="http://www.loc.gov/standards/mets/" title="Library of Congress's METS schema">Library of Congress's METS schema</a>. The design of structural elements was derived primarily from <a href="http://www.tei-c.org/index.xml" title="TEI">TEI</a>, with some of the design patterns borrowed from other existing standards such as DocBook and XHTML. While the structural elements were designed to be easily translated into XHTML, they preserve the semantic relationships for use in more expressive languages.</p>
<h2><a name="DRISchemaReference-DRIinManakin"></a>DRI in Manakin</h2>
<p>The general process for handling a request in DSpace XML UI consists of two parts. The first part builds the XML Document, and the second part stylizes that Document for output. In Manakin, the two parts are not discrete and instead wrapped within two processes: Content Generation, which builds an XML representation of the page, and Style Application, which stylizes the resulting Document. Content Generation is performed by Aspect chaining, while Style Application is performed by a Theme.</p>
<h3><a name="DRISchemaReference-Themes"></a>Themes</h3>
<p>A Theme is a collection of XSL stylesheets and supporting files like images, CSS styles, translations, and help documents. The XSL stylesheets are applied to the DRI Document to covert it into a readable format and give it structure and basic visual formatting in that format. The supporting files are used to provide the page with a specific look and feel, insert images and other media, translate the content, and perform other tasks. The currently used output format is XHTML and the supporting files are generally limited to CSS, images, and JavaScript. More output formats, like PDF or SVG, may be added in the future.</p>
<p>A DSpace installation running Manakin may have several Themes associated with it. When applied to a page, a Theme determines most of the page's look and feel. Different themes can be applied to different sets of DSpace pages allowing for both variety of styles between sets of pages and consistency within those sets. The xmlui.xconf configuration file determines which Themes are applied to which DSpace pages (see the Chapter 7. Manakin [XMLUI] Configuration and Customization for more information on installing and configuring themes). Themes may be configured to apply to all pages of specific type, like browse-by-title, to all pages of a one particular community or collection or sets of communities and collections, and to any mix of the two. They can also be configured to apply to a singe arbitrary page or handle.</p>
<h3><a name="DRISchemaReference-AspectChains"></a>Aspect Chains</h3>
<p>Manakin Aspects are arrangements of Cocoon components (transformers, actions, matchers, etc) that implement a new set of coupled features for the system. These Aspects are chained together to form all the features of Manakin. Five Aspects exist in the default installation of Manakin, each handling a particular set of features of DSpace, and more can be added to implement extra features. All Aspects take a DRI Document as input and generate one as output. This allows Aspects to be linked together to form an Aspect chain. Each Aspect in the chain takes a DRI Document as input, adds its own functionality, and passes the modified Document to the next Aspect in the chain.</p>
<h2><a name="DRISchemaReference-CommonDesignPatterns"></a>Common Design Patterns</h2>
<p>There are several design patterns used consistently within the DRI schema. This section identifies the need for and describes the implementation of these patterns. Three patterns are discussed: language and internationalization issues, standard attribute triplet (<em>id</em>, <em>n</em>, and <em>rend</em>), and the use of structure-oriented markup.</p>
<h3><a name="DRISchemaReference-LocalizationandInternationalization"></a>Localization and Internationalization</h3>
<p>Internationalization is a very important component of the DRI system. It allows content to be offered in other languages based on user's locale and conditioned upon availability of translations, as well as present dates and currency in a localized manner. There are two types of translated content: content stored and displayed by DSpace itself, and content introduced by the DRI styling process in the XSL transformations. Both types are handled by Cocoon's i18n transformer without regard to their origin.</p>
<p>When the Content Generation process produces a DRI Document, some of the textual content may be marked up with <em>i18n</em> elements to signify that translations are available for that content. During the Style Application process, the Theme can also introduce new textual content, marking it up with <em>i18n</em> tags. As a result, after the Theme's XSL templates are applied to the DRI Document, the final output consists of a DSpace page marked up in the chosen display format (like XHTML) with <em>i18n</em> elements from both DSpace and XSL content. This final document is sent through Cocoon's i18n transformer that translates the marked up text.</p>
<h3><a name="DRISchemaReference-Standardattributetriplet"></a>Standard attribute triplet</h3>
<p>Many elements in the DRI system (all top-level containers, character classes, and many others) contain one or several of the three standard attributes: <em>id</em>, <em>n</em>, and <em>rend</em>. The <em>id</em> and <em>n</em> attributes can be required or optional based on the element's purpose, while the <em>rend</em> attribute is always optional. The first two are used for identification purposes, while the third is used as a display hint issued to the styling step.</p>
<p>Identification is important because it allows elements to be separated from their peers for sorting, special case rendering, and other tasks. The first attribute, <em>id</em>, is the global identifier and it is unique to the entire document. Any element that contains an <em>id</em> attribute can thus be uniquely referenced by it. The <em>id</em> attribute of an element can be either assigned explicitly, or generated from the Java Class Path of the originating object if no name is given. While all elements that can be uniquely identified can carry the <em>id</em> attribute, only those that are independent on their context are required to do so. For example, tables are required to have an id since they retain meaning regardless of their location in the document, while table rows and cells can omit the attribute since their meaning depends on the parent element.</p>
<p>The name attribute <em>n</em> is simply the name assigned to the element, and it is used to distinguish an element from its immediate peers. In the example of a particular list, all items in that list will have different names to distinguish them from each other. Other lists in the document, however, can also contain items whose names will be different from each other, but identical to those in the first list. The <em>n</em> attribute of an element is therefore unique only in the scope of that element's parent and is used mostly for sorting purposes and special rendering of a certain class of elements, like, for example, all first items in lists, or all items named "browse". The <em>n</em> attribute follows the same rules as id when determining whether or not it is required for a given element.</p>
<p>The last attribute in the standard triplet is <em>rend</em>. Unlike <em>id</em> and <em>n</em>, the <em>rend</em> attribute can consist of several space delimited values and is optional for all elements that can contain it. Its purpose is to provide a rendering hint from the middle layer component to the styling theme. How that hint is interpreted and whether it is used at all when provided, is completely up the theme. There are several cases, however, where the content of the <em>rend</em> attribute is outlined in detail and its use is encouraged. Those cases are the emphasis element <em>hi</em>, the division element <em>div</em>, and the <em>list</em> element. Please refer to the Element Reference for more detail on these elements.</p>
<h3><a name="DRISchemaReference-Structureorientedmarkup"></a>Structure-oriented markup</h3>
<p>The final design pattern is the use of structure-oriented markup for content carried by the XML Document. Once generated by Cocoon, the Document contains two major types of information: metadata about the repository and its contents, and the actual content of the page to be displayed. A complete overview of metadata and content markup and their relationship to each other is given in the next section. An important thing to note here, however, is that the markup of the content is oriented towards explicitly stating structural relationships between the elements rather than focusing on the presentational aspects. This makes the markup used by the Document more similar to TEI or Docbook rather than HTML. For this reason, XSL templates are used by the themes to convert structural DRI markup to XHTML. Even then, an attempt is made to create XHTML as structural as possible, leaving presentation entirely to CSS. This allows the XML Document to be generic enough to represent any DSpace page without dictating how it should be rendered.</p>
<h2><a name="DRISchemaReference-SchemaOverview"></a>Schema Overview</h2>
<p>The DRI XML Document consists of the root element document and three top-level elements that contain two major types of elements. The three top-level containers are <em>meta</em>, <em>body</em>, and <em>options</em>. The two types of elements they contain are metadata and content, carrying metadata about the page and the contents of the page, respectively. Figure 1 depicts the relationship between these six components.</p>
<p><span class="image-wrap" style=""><img src="attachments/22022838/23429283.png" style="border: 0px solid black"/></span></p>
<p><em>Figure 1: The two content types across three major divisions of a DRI page.</em> </p>
<p>The <em>document</em> element is the root for all DRI pages and contains all other elements. It bears only one attribute, <em>version</em>, that contains the version number of the DRI system and the schema used to validate the produced document. At the time of writing the working version number is "1.1".</p>
<p>The <em>meta</em> element is a the top-level element under document and contains all metadata information about the page, the user that requested it, and the repository it is used with. It contains no structural elements, instead being the only container of metadata elements in a DRI Document. The metadata stored by the meta element is broken up into three major groups: <em>userMeta</em>, <em>pageMeta</em>, and <em>objectMeta</em>, each storing metadata information about their respective component. Please refer to the reference entries for more information about these elements.</p>
<p>The <em>options</em> element is another top-level element that contains all navigation and action options available to the user. The options are stored as items in list elements, broken up by the type of action they perform. The five types of actions are: browsing, search, language selection, actions that are always available, and actions that are context dependent. The two action types also contain sub-lists that contain actions available to users of varying degrees of access to the system. The <em>options</em> element contains no metadata elements and can only make use of a small set of structural elements, namely the <em>list</em> element and its children.</p>
<p>The last major top-level element is the <em>body</em> element. It contains all structural elements in a DRI Document, including the lists used by the <em>options</em> element. Structural elements are used to build a generic representation of a DSpace page. Any DSpace page can be represented with a combination of the structural elements, which will in turn be transformed by the XSL templates into another format. This is the core mechanism that allows DSpace XML UI to apply uniform templates and styling rules to all DSpace pages and is the fundamental difference from the JSP approach currently used by DSpace.</p>
<p>The <em>body</em> element directly contains only one type of element: <em>div</em>. The <em>div</em> element serves as a major division of content and any number of them can be contained by the <em>body</em>. Additionally, divisions are recursive, allowing <em>divs</em> to contain other <em>divs</em>. It is within these elements that all other structural elements are contained. Those elements include tables, paragraph elements <em>p</em>, and lists, as well as their various children elements. At the lower levels of this hierarchy lie the character container elements. These elements, namely paragraphs <em>p</em>, table <em>cells</em>, lists <em>items</em>, and the emphasis element <em>hi</em>, contain the textual content of a DSpace page, optionally modified with links, figures, and emphasis. If the division within which the character class is contained is tagged as interactive (via the <em>interactive</em> attribute), those elements can also contain interactive form fields. Divisions tagged as interactive must also provide <em>method</em> and <em>action</em> attributes for its fields to use.</p>
<p><span class="image-wrap" style=""><img src="attachments/22022838/23429284.png" style="border: 0px solid black"/></span></p>
<p><em>Figure 2: All the elements in the DRI schema (version 1.1).</em> </p>
<h2><a name="DRISchemaReference-MergingofDRIDocuments"></a>Merging of DRI Documents</h2>
<p>Having described the structure of the DRI Document, as well as its function in Manakin's Aspect chains, we now turn our attention to the one last detail of their use: merging two Documents into one. There are several situations where the need to merge two documents arises. In Manakin, for example, every Aspect is responsible for adding different functionality to a DSpace page. Since every instance of a page has to be a complete DRI Document, each Aspect is faced with the task of merging the Document it generated with the ones generated (and merged into one Document) by previously executed Aspects. For this reason rules exist that describe which elements can be merged together and what happens to their data and child elements in the process.</p>
<p>When merging two DRI Documents, one is considered to be the main document, and the other a feeder document that is added in. The three top level containers (<em>meta</em>, <em>body</em> and <em>options</em>) of both documents are then individually analyzed and merged. In the case of the <em>options</em> and <em>meta</em> elements, the children tags are taken individually as well and treated differently from their siblings.</p>
<p>The <em>body</em> elements are the easiest to merge: their respective <em>div</em> children are preserved along with their ordering and are grouped together under one element. Thus, the new <em>body</em> tag will contain all the <em>divs</em> of the main document followed by all the <em>divs</em> of the feeder. However, if two <em>divs</em> have the same <em>n</em> and <em>rend</em> attributes (and in case of an interactive <em>div</em> the same <em>action</em> and <em>method</em> attributes as well), those <em>divs</em> will be merged into one. The resulting div will bear the <em>id</em>, <em>n</em>, and <em>rend</em> attributes of the main document's div and contain all the <em>divs</em> of the main document followed by all the <em>divs</em> of the feeder. This process continues recursively until all the <em>divs</em> have been merged. It should be noted that two divisions with separate pagination rules cannot be merged together.</p>
<p>Merging the <em>options</em> elements is somewhat different. First, <em>list</em> elements under <em>options</em> of both documents are compared with each other. Those unique to either document are simply added under the new options element, just like <em>divs</em> under <em>body</em>. In case of duplicates, that is <em>list</em> elements that belong to both documents and have the same <em>n</em> attribute, the two <em>lists</em> will be merged into one. The new <em>list</em> element will consist of the main document's head element, followed <em>label-item</em> pairs from the main document, and then finally the <em>label-item</em> pairs of the feeder, provided they are different from those of the main.</p>
<p>Finally, the <em>meta</em> elements are merged much like the elements under body. The three children of <em>meta</em> &#45; <em>userMeta</em>, <em>pageMeta</em>, and <em>objectMeta</em> &#45; are individually merged, adding the contents of the feeder after the contents of the main.</p>
<h2><a name="DRISchemaReference-VersionChanges"></a>Version Changes</h2>
<p>The DRI schema will continue to evolve overtime as the needs of interface design require. The version attribute on the document will indicate which version of the schema the document conforms to. At the time Manakin was incorporated into the standard distribution of DSpac the current version was "1.1", however earlier versions of the Manakin interface may use "1.0".</p>
<h3><a name="DRISchemaReference-Changesfrom1.0to1.1"></a>Changes from 1.0 to 1.1</h3>
<p>There were major structural changes between these two version numbers. Several elements were removed from the schema:<em>includeSet</em>, <em>include</em>, <em>objectMeta</em>, and <em>object</em>. Originally all metadata for objects were included in-line with the DRI document, this proved to have several problems and has been removed in version 1.1 of the DRI schema. Instead of including metadata in-line, external references to the metadata is included. Thus, a <em>reference</em> element has been added along with <em>referenceSet</em>. These new elements operate like their counterparts in the previous version except refrencing metadata contained on the <em>objectMeta</em> element they reference metadata in external files. The <em>repository</em> and <em>repositoryMeta</em> elements were alse modified in a similar mannor removing in-line metadata and refrencing external metadata documents.</p>
<h2><a name="DRISchemaReference-ElementReference"></a>Element Reference</h2>
<div class='table-wrap'>
<table class='confluenceTable'><tbody>
<tr>
<th class='confluenceTh'> Element </th>
<th class='confluenceTh'> Attributes </th>
<th class='confluenceTh'> Required? </th>
</tr>
<tr>
<td class='confluenceTd'> <b>BODY</b> </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'> cell </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> cols </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> id </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> n </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> rend </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> role </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> rows </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'> div </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> action </td>
<td class='confluenceTd'> required for interactive behavior </td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> behaviorSensitivFields </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> currentPage </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> firstItemIndex </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> id </td>
<td class='confluenceTd'> required </td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> interactive </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> itemsTotal </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> lastItemIndex </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> method </td>
<td class='confluenceTd'> required for interactive </td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> n </td>
<td class='confluenceTd'> required </td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> nextPage </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> pagesTotal </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> pageURLMask </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> pagination </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> previousPage </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> rend </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'> <b>DOCUMENT</b> </td>
<td class='confluenceTd'> version </td>
<td class='confluenceTd'> required </td>
</tr>
<tr>
<td class='confluenceTd'> field </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> disabled </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> id </td>
<td class='confluenceTd'> required </td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> n </td>
<td class='confluenceTd'> required </td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> rend </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> required </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> type </td>
<td class='confluenceTd'> required </td>
</tr>
<tr>
<td class='confluenceTd'> figure </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> rend </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> source </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> target </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'> head </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> id </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> n </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> rend </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'> help </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'> hi </td>
<td class='confluenceTd'> rend </td>
<td class='confluenceTd'> required </td>
</tr>
<tr>
<td class='confluenceTd'> instance </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'> item </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> id </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> n </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> rend </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'> label </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> id </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> n </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> rend </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'> list </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> id </td>
<td class='confluenceTd'> required </td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> n </td>
<td class='confluenceTd'> required </td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> rend </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> type </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'> META </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'> metadata </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> element </td>
<td class='confluenceTd'> required </td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> language </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> qualifier </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'> OPTIONS </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'> p </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> id </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> n </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> rend </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'> pageMeta </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'> params </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> cols </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> maxlength </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> multiple </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> operations </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> rows </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> size </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'> reference </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> url </td>
<td class='confluenceTd'> required </td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> repositoryID </td>
<td class='confluenceTd'> required </td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> type </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'> referenceSet </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> id </td>
<td class='confluenceTd'> required </td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> n </td>
<td class='confluenceTd'> required </td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> orderBy </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> rend </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> type </td>
<td class='confluenceTd'> required </td>
</tr>
<tr>
<td class='confluenceTd'> repository </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> repositoryID </td>
<td class='confluenceTd'> required </td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> url </td>
<td class='confluenceTd'> required </td>
</tr>
<tr>
<td class='confluenceTd'> repositoryMeta </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'> row </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> id </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> n </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> rend </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> role </td>
<td class='confluenceTd'> required </td>
</tr>
<tr>
<td class='confluenceTd'> table </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> cols </td>
<td class='confluenceTd'> required </td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> id </td>
<td class='confluenceTd'> required </td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> n </td>
<td class='confluenceTd'> required </td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> rend </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> rows </td>
<td class='confluenceTd'> required </td>
</tr>
<tr>
<td class='confluenceTd'> trail </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> rend </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> target </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'> userMeta </td>
<td class='confluenceTd'> authenticated </td>
<td class='confluenceTd'> required </td>
</tr>
<tr>
<td class='confluenceTd'> value </td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> optionSelected </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> optionValue </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'> type </td>
<td class='confluenceTd'> required </td>
</tr>
<tr>
<td class='confluenceTd'> xref </td>
<td class='confluenceTd'> target </td>
<td class='confluenceTd'> required </td>
</tr>
</tbody></table>
</div>
<h3><a name="DRISchemaReference-BODY"></a>BODY</h3>
<p>Top-Level Container</p>
<p>The <em>body</em> element is the main container for all content displayed to the user. It contains any number of <em>div</em> elements that group content into interactive and display blocks.</p>
<p>Parent</p>
<ul>
<li>document</li>
</ul>
<p>Children</p>
<ul>
<li>div (any)</li>
</ul>
<p>Attributes</p>
<ul>
<li>None</li>
</ul>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
&lt;document version=1.0&gt;
&lt;meta&gt; ... &lt;/meta&gt;
&lt;body&gt;
&lt;div n=<span class="code-quote">"division-example1"</span>
id=<span class="code-quote">"XMLExample.div.division-example1"</span>&gt;
...
&lt;/div&gt;
&lt;div n=<span class="code-quote">"division-example2"</span> id=<span class="code-quote">"XMLExample.div.division-example2"</span>
interactive=<span class="code-quote">"yes"</span> action=<span class="code-quote">"www.DRItest.com"</span>
method=<span class="code-quote">"post"</span>&gt;
...
&lt;/div&gt;
...
&lt;/body&gt;
&lt;options&gt; ... &lt;/options&gt;
&lt;/document&gt;
</pre>
</div></div>
<h3><a name="DRISchemaReference-cell"></a>cell</h3>
<p>Rich Text Container</p>
<p>Structural Element</p>
<p>The <em>cell</em> element contained in a <em>row</em> of a <em>table</em> carries content for that table. It is a character container, just like <em>p</em>, <em>item</em>, and <em>hi</em>, and its primary purpose is to display textual data, possibly enhanced with hyperlinks, emphasized blocks of text, images and form fields. Every <em>cell</em> can be annotated with a <em>role</em> (the most common being "header" and "data") and can stretch across any number of rows and columns. Since cells cannot exist outside their container, <em>row</em>, their <em>id</em> attribute is optional.</p>
<p>Parent</p>
<ul>
<li>row</li>
</ul>
<p>Children</p>
<ul>
<li>hi (any)</li>
<li>xref (any)</li>
<li>figure (any)</li>
<li>field (any)</li>
</ul>
<p>Attributes</p>
<ul>
<li><b>cols</b>: (optional) The number of columns the cell spans.</li>
<li><b>id</b>: (optional) A unique identifier of the element.</li>
<li><b>n</b>: (optional) A local identifier used to differentiate the element from its siblings.</li>
<li><b>rend</b>: (optional) A rendering hint used to override the default display of the element.</li>
<li><b>role</b>: (optional) An optional attribute to override the containing row's role settings.</li>
<li><b>rows</b>: (optional) The number of rows the cell spans.</li>
</ul>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
&lt;table n=<span class="code-quote">"table-example"</span> id=<span class="code-quote">"XMLExample.table.table-example"</span> rows=<span class="code-quote">"2"</span>
cols=<span class="code-quote">"3"</span>&gt;
&lt;row role=<span class="code-quote">"head"</span>&gt;
&lt;cell cols=<span class="code-quote">"2"</span>&gt;Data Label One and Two&lt;/cell&gt; &lt;cell&gt;Data Label
Three&lt;/cell&gt;
...
&lt;/row&gt;
&lt;row&gt;
&lt;cell&gt; Value One &lt;/cell&gt; &lt;cell&gt; Value Two &lt;/cell&gt; &lt;cell&gt; Value
Three &lt;/cell&gt;
...
&lt;/row&gt;
...
&lt;/table&gt;
</pre>
</div></div>
<h3><a name="DRISchemaReference-div"></a>div</h3>
<p>Structural Element</p>
<p>The <em>div</em> element represents a major section of content and can contain a wide variety of structural elements to present that content to the user. It can contain paragraphs, tables, and lists, as well as references to artifact information stored in <em>artifactMeta</em>, <em>repositoryMeta</em>, <em>collections</em>, and <em>communities</em>. The <em>div</em> element is also recursive, allowing it to be further divided into other divs. Divs can be of two types: interactive and static. The two types are set by the use of the <em>interactive</em> attribute and differ in their ability to contain interactive content. Children elements of divs tagged as interactive can contain form fields, with the <em>action</em> and <em>method</em> attributes of the <em>div</em> serving to resolve those fields.</p>
<p>Parent</p>
<ul>
<li>body</li>
<li>div</li>
</ul>
<p>Children</p>
<ul>
<li>head (zero or one)</li>
<li>pagination (zero or one)</li>
<li>table (any)</li>
<li>p (any)</li>
<li>referenceSet (any)</li>
<li>list (any)</li>
<li>div (any)</li>
</ul>
<p>Attributes</p>
<ul>
<li><b>action</b>: (required for interactive) The form action attribute determines where the form information should be sent for processing.</li>
<li><b>behavior</b>: (optional for interactive) The acceptable behavior options that may be used on this form. The only possible value defined at this time is "ajax" which means that the form may be submitted multiple times for each individual field in this form. Note that if the form is submitted multiple times it is best for the behaviorSensitiveFields to be updated as well.</li>
<li><b>behaviorSensitiveFields</b>: (optional for interactive) A space separated list of field names that are sensitive to behavior. These fields must be updated each time a form is submitted with out a complete refresh of the page (i.e. ajax).</li>
<li><b>currentPage</b>: (optional) For paginated divs, the currentPage attribute indicates the index of the page currently displayed for this div.</li>
<li><b>firstItemIndex</b>: (optional) For paginated divs, the firstItemIndex attribute indicates the index of the first item included in this div.</li>
<li><b>id</b>: (required) A unique identifier of the element.</li>
<li><b>interactive</b>: (optional) Accepted values are "yes", "no". This attribute determines whether the div is interactive or static. Interactive divs must provide action and method and can contain field elements.</li>
<li><b>itemsTotal</b>: (optional) For paginated divs, the itemsTotal attribute indicates how many items exit across all paginated divs.</li>
<li><b>lastItemIndex</b>: (optional) For paginated divs, the lastItemIndex attribute indicates the index of the last item included in this div.</li>
<li><b>method</b>: (required for interactive) Accepted values are "get", "post", and "multipart". Determines the method used to pass gathered field values to the handler specified by the action attribute. The multipart method should be used for uploading files.</li>
<li><b>n</b>: (required) A local identifier used to differentiate the element from its siblings.</li>
<li><b>nextPage</b>: (optional) For paginated divs the nextPage attribute points to the URL of the next page of the div, if it exists.</li>
<li><b>pagesTotal</b>: (optional) For paginated divs, the pagesTotal attribute indicates how many pages the paginated divs spans.</li>
<li><b>pageURLMask</b>: (optional) For paginated divs, the pageURLMask attribute contains the mask of a url to a particular page within the paginated set. The destination page's number should replace the {pageNum} string in the URL mask to generate a full URL to that page.</li>
<li><b>pagination</b>: (optional) Accepted values are "simple", "masked". This attribute determines whether the div is spread over several pages. Simple paginated divs must provide previousPage, nextPage, itemsTotal, firstItemIndex, lastItemIndex attributes. Masked paginated divs must provide currentPage, pagesTotal, pageURLMask, itemsTotal, firstItemIndex, lastItemIndex attributes.</li>
<li><b>previousPage</b>: (optional) For paginated divs the previousPage attribute points to the URL of the previous page of the div, if it exists.</li>
<li><b>rend</b>: (optional) A rendering hint used to override the default display of the element. In the case of the div tag, it is also encouraged to label it as either "primary" or "secondary". Divs marked as primary contain content, while secondary divs contain auxiliary information or supporting fields.</li>
</ul>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
&lt;body&gt;
&lt;div n=<span class="code-quote">"division-example"</span>
id=<span class="code-quote">"XMLExample.div.division-example"</span>&gt;
&lt;head&gt; Example Division &lt;/head&gt;
&lt;p&gt; This example shows the use of divisions. &lt;/p&gt;
&lt;table ...&gt;
...
&lt;/table&gt;
&lt;referenceSet ...&gt;
...
&lt;/referenceSet&gt;
&lt;list ...&gt;
...
&lt;/list&gt;
&lt;div n=<span class="code-quote">"sub-division-example"</span>
id=<span class="code-quote">"XMLExample.div.sub-division-example"</span>&gt;
&lt;p&gt; Divisions may be nested &lt;/p&gt;
...
&lt;/div&gt;
...
&lt;/div&gt;
...
&lt;/body&gt;
</pre>
</div></div>
<h3><a name="DRISchemaReference-DOCUMENT"></a>DOCUMENT</h3>
<p>Document Root</p>
<p>The document element is the root container of an XML UI document. All other elements are contained within it either directly or indirectly. The only attribute it carries is the version of the Schema to which it conforms.</p>
<p>Parent</p>
<ul>
<li>none</li>
</ul>
<p>Children</p>
<ul>
<li>meta (one)</li>
<li>body (one)</li>
<li>options (one)</li>
</ul>
<p>Attributes</p>
<ul>
<li><b>version</b>: (required) Version number of the schema this document adheres to. At the time of writing the only valid version numbers are "1.0" or "1.1". Future iterations of this schema may increment the version number.</li>
</ul>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java"> &lt;document
version=<span class="code-quote">"1.1"</span>&gt;
&lt;meta&gt;
...
&lt;/meta&gt;
&lt;body&gt;
...
&lt;/body&gt;
&lt;options&gt;
...
&lt;/options&gt;
&lt;/document&gt;</pre>
</div></div>
<h3><a name="DRISchemaReference-field"></a>field</h3>
<p>Text Container</p>
<p>Structural Element</p>
<p>The <em>field</em> element is a container for all information necessary to create a form field. The required <em>type</em> attribute determines the type of the field, while the children tags carry the information on how to build it. Fields can only occur in divisions tagged as "interactive".</p>
<p>Parent</p>
<ul>
<li>cell</li>
<li>p</li>
<li>hi</li>
<li>item</li>
</ul>
<p>Children</p>
<ul>
<li>params (one)</li>
<li>help (zero or one)</li>
<li>error (any)</li>
<li>option (any - only with the select type)</li>
<li>value (any - only available on fields of type: select, checkbox, or radio)</li>
<li>field (one or more - only with the composite type)</li>
<li>valueSet (any)</li>
</ul>
<p>Attributes</p>
<ul>
<li><b>disabled</b>: (optional) Accepted values are "yes", "no". Determines whether the field allows user input. Rendering of disabled fields may vary with implementation and display media.</li>
<li><b>id</b>: (required) A unique identifier for a field element.</li>
<li><b>n</b>: (required) A non-unique local identifier used to differentiate the element from its siblings within an interactive division. This is the name of the field use when data is submitted back to the server.</li>
<li><b>rend</b>: (optional) A rendering hint used to override the default display of the element.</li>
<li><b>required</b>: (optional) Accepted values are "yes", "no". Determines whether the field is a required component of the form and thus cannot be left blank.</li>
<li><b>type</b>: (required) A required attribute to specify the type of value. Accepted types are:
<ul>
<li><b>button</b>: A button input control that when activated by the user will submit the form, including all the fields, back to the server for processing.</li>
<li><b>checkbox</b>: A boolean input control which may be toggled by the user. A checkbox may have several fields which share the same name and each of those fields may be toggled independently. This is distinct from a radio button where only one field may be toggled.</li>
<li><b>file</b>: An input control that allows the user to select files to be submitted with the form. Note that a form which uses a file field must use the multipart method.</li>
<li><b>hidden</b>: An input control that is not rendered on the screen and hidden from the user.</li>
<li><b>password</b>: A single-line text input control where the input text is rendered in such a way as to hide the characters from the user.</li>
<li><b>radio</b>: A boolean input control which may be toggled by the user. Multiple radio button fields may share the same name. When this occurs only one field may be selected to be true. This is distinct from a checkbox where multiple fields may be toggled.</li>
<li><b>select</b>: A menu input control which allows the user to select from a list of available options.</li>
<li><b>text</b>: A single-line text input control.</li>
<li><b>textarea</b>: A multi-line text input control.</li>
<li><b>composite</b>: A composite input control combines several input controls into a single field. The only fields that may be combined together are: checkbox, password, select, text, and textarea. When fields are combined together they can posses multiple combined values.</li>
</ul>
</li>
</ul>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
&lt;p&gt;
&lt;hi&gt; ... &lt;/hi&gt;
&lt;xref&gt; ... &lt;/xref&gt;
&lt;figure&gt; ... &lt;/figure&gt;
...
&lt;field id=<span class="code-quote">"XMLExample.field.name"</span> n=<span class="code-quote">"name"</span> type=<span class="code-quote">"text"</span>
required=<span class="code-quote">"yes"</span>&gt;
&lt;params size=<span class="code-quote">"16"</span> maxlength=<span class="code-quote">"32"</span>/&gt;
&lt;help&gt;Some help text with &lt;i18n&gt;localized
content&lt;/i18n&gt;.&lt;/help&gt;
&lt;value type=<span class="code-quote">"raw"</span>&gt;Default value goes
here&lt;/value&gt;
&lt;/field&gt;
&lt;/p&gt;
</pre>
</div></div>
<h3><a name="DRISchemaReference-figure"></a>figure</h3>
<p>Text Container</p>
<p>Structural Element</p>
<p>The <em>figure</em> element is used to embed a reference to an image or a graphic element. It can be mixed freely with text, and any text within the tag itself will be used as an alternative descriptor or a caption.</p>
<p>Parent</p>
<ul>
<li>cell</li>
<li>p</li>
<li>hi</li>
<li>item</li>
</ul>
<p>Children</p>
<ul>
<li>none</li>
</ul>
<p>Attributes</p>
<ul>
<li><b>rend</b>: (optional) A rendering hint used to override the default display of the element.</li>
<li><b>source</b>: (optional) The source for the image, using either a URL or a pre-defined XML entity.</li>
<li><b>target</b>: (optional) A target for an image used as a link, using either a URL or an id of an existing element as a destination.</li>
</ul>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
&lt;p&gt;
&lt;hi&gt; ... &lt;/hi&gt;
...
&lt;xref&gt; ... &lt;/xref&gt;
...
&lt;field&gt; ... &lt;/field&gt;
...
&lt;figure source=<span class="code-quote">"www.example.com/fig1"</span>&gt; This is a <span class="code-keyword">static</span> image.
&lt;/figure&gt; &lt;figure source=<span class="code-quote">"www.example.com/fig1"</span>
target=<span class="code-quote">"www.example.net"</span>&gt;
This image is also a link.
&lt;/figure&gt;
...
&lt;/p&gt;
</pre>
</div></div>
<h3><a name="DRISchemaReference-head"></a>head</h3>
<p>Text Container</p>
<p>Structural Element</p>
<p>The <em>head</em> element is primarily used as a label associated with its parent element. The rendering is determined by its parent tag, but can be overridden by the <em>rend</em> attribute. Since there can only be one <em>head</em> element associated with a particular tag, the <em>n</em> attribute is not needed, and the <em>id</em> attribute is optional.</p>
<p>Parent</p>
<ul>
<li>div</li>
<li>table</li>
<li>list</li>
<li>referenceSet</li>
</ul>
<p>Children</p>
<ul>
<li>none</li>
</ul>
<p>Attributes</p>
<ul>
<li><b>id</b>: (optional) A unique identifier of the element</li>
<li><b>n</b>: (optional) A local identifier used to differentiate the element from its siblings</li>
<li><b>rend</b>: (optional) A rendering hint used to override the default display of the element.</li>
</ul>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
&lt;div ...&gt;
&lt;head&gt; This is a simple header associated with its div element.
&lt;/head&gt;
&lt;div ...&gt;
&lt;head rend=<span class="code-quote">"green"</span>&gt; This header will be green.
&lt;/head&gt;
&lt;p&gt;
&lt;head&gt; A header with &lt;i18n&gt;localized content&lt;/i18n&gt;.
&lt;/head&gt;
...
&lt;/p&gt;
&lt;/div&gt;
&lt;table ...&gt;
&lt;head&gt; ...
&lt;/head&gt;
...
&lt;/table&gt;
&lt;list ...&gt;
&lt;head&gt; ...
&lt;/head&gt;
...
&lt;/list&gt;
...
&lt;/body&gt;
</pre>
</div></div>
<h3><a name="DRISchemaReference-help"></a>help</h3>
<p>Text Container</p>
<p>Structural Element</p>
<p>The optional <em>help</em> element is used to supply help instructions in plain text and is normally contained by the <em>field</em> element. The method used to render the help text in the target markup is up to the theme.</p>
<p>Parent</p>
<ul>
<li>field</li>
</ul>
<p>Children</p>
<ul>
<li>none</li>
</ul>
<p>Attributes</p>
<ul>
<li>None</li>
</ul>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
&lt;p&gt;
&lt;hi&gt; ... &lt;/hi&gt;
...
&lt;xref&gt; ... &lt;/xref&gt;
...
&lt;figure&gt; ... &lt;/figure&gt;
...
&lt;field id=<span class="code-quote">"XMLExample.field.name"</span> n=<span class="code-quote">"name"</span> type=<span class="code-quote">"text"</span>
required=<span class="code-quote">"yes"</span>&gt;
&lt;params size=<span class="code-quote">"16"</span> maxlength=<span class="code-quote">"32"</span> /&gt;
&lt;help&gt;Some help text with &lt;i18n&gt;localized
content&lt;/i18n&gt;.&lt;/help&gt;
&lt;/field&gt;
...
&lt;/p&gt;
</pre>
</div></div>
<h3><a name="DRISchemaReference-hi"></a>hi</h3>
<p>Rich Text Container</p>
<p>Structural Element</p>
<p>The <em>hi</em> element is used for emphasis of text and occurs inside character containers like <em>p</em> and <em>list</em> item. It can be mixed freely with text, and any text within the tag itself will be emphasized in a manner specified by the required <em>rend</em> attribute. Additionally, <em>hi</em> element is the only text container component that is a rich text container itself, meaning it can contain other tags in addition to plain text. This allows it to contain other text containers, including other <em>hi</em> tags.</p>
<p>Parent</p>
<ul>
<li>cell</li>
<li>p</li>
<li>item</li>
<li>hi</li>
</ul>
<p>Children</p>
<ul>
<li>hi (any)</li>
<li>xref (any)</li>
<li>figure (any)</li>
<li>field (any)</li>
</ul>
<p>Attributes</p>
<ul>
<li><b>rend</b>: (required) A required attribute used to specify the exact type of emphasis to apply to the contained text. Common values include but are not limited to "bold", "italic", "underline", and "emph".</li>
</ul>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
&lt;p&gt;
This text is normal, <span class="code-keyword">while</span> &lt;hi rend=<span class="code-quote">"bold"</span>&gt;<span class="code-keyword">this</span> text is bold and
<span class="code-keyword">this</span> text is &lt;hi rend=<span class="code-quote">"italic"</span>&gt;bold and
italic.&lt;/hi&gt;&lt;/hi&gt;
&lt;/p&gt;
</pre>
</div></div>
<h3><a name="DRISchemaReference-instance"></a>instance</h3>
<p>Structural Element</p>
<p>The <em>instance</em> element contains the value associated with a form field's multiple instances. Fields encoded as an instance should also include the values of each instance as a hidden field. The hidden field should be appended with the index number for the instance. Thus if the field is "firstName" each instance would be named "firstName_1", "firstName_2", "firstName_3", etc...</p>
<p>Parent</p>
<ul>
<li>field</li>
</ul>
<p>Children</p>
<ul>
<li>value</li>
</ul>
<p>Attributes</p>
<ul>
<li>None listed yet.</li>
</ul>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
Example needed.
</pre>
</div></div>
<h3><a name="DRISchemaReference-item"></a>item</h3>
<p>Rich Text Container</p>
<p>Structural Element</p>
<p>The <em>item</em> element is a rich text container used to display textual data in a list. As a rich text container it can contain hyperlinks, emphasized blocks of text, images and form fields in addition to plain text.</p>
<p>The <em>item</em> element can be associated with a label that directly precedes it. The Schema requires that if one <em>item</em> in a <em>list</em> has an associated <em>label</em>, then all other items must have one as well. This mitigates the problem of loose connections between elements that is commonly encountered in XHTML, since every item in particular list has the same structure.</p>
<p>Parent</p>
<ul>
<li>list</li>
</ul>
<p>Children</p>
<ul>
<li>hi (any)</li>
<li>xref (any)</li>
<li>figure (any)</li>
<li>field (any)</li>
<li>list (any)</li>
</ul>
<p>Attributes</p>
<ul>
<li><b>id</b>: (optional) A unique identifier of the element</li>
<li><b>n</b>: (optional) A non-unique local identifier used to differentiate the element from its siblings</li>
<li><b>rend</b>: (optional) A rendering hint used to override the default display of the element.</li>
</ul>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
&lt;list n=<span class="code-quote">"list-example"</span>
id=<span class="code-quote">"XMLExample.list.list-example"</span>&gt;
&lt;head&gt; Example List &lt;/head&gt;
&lt;item&gt; This is the first item
&lt;/item&gt; &lt;item&gt; This is the second item with &lt;hi ...&gt;highlighted text&lt;/hi&gt;,
&lt;xref ...&gt; a link&lt;/xref&gt; and an &lt;figure
...&gt;image&lt;/figure&gt;.&lt;/item&gt;
...
&lt;list n=<span class="code-quote">"list-example2"</span>
id=<span class="code-quote">"XMLExample.list.list-example2"</span>&gt;
&lt;head&gt; Example List &lt;/head&gt;
&lt;label&gt;ITEM ONE:&lt;/label&gt;
&lt;item&gt; This is the first item
&lt;/item&gt;
&lt;label&gt;ITEM TWO:&lt;/label&gt;
&lt;item&gt; This is the second item with &lt;hi ...&gt;highlighted
text&lt;/hi&gt;, &lt;xref ...&gt; a link&lt;/xref&gt; and an &lt;figure
...&gt;image&lt;/figure&gt;.&lt;/item&gt;
&lt;label&gt;ITEM THREE:&lt;/label&gt;
&lt;item&gt; This is the third item with a &lt;field ...&gt; ... &lt;/field&gt;
&lt;/item&gt;
...
&lt;/list&gt;
&lt;item&gt; This is the third item in the list
&lt;/item&gt;
...
&lt;/list&gt;
</pre>
</div></div>
<h3><a name="DRISchemaReference-label"></a>label</h3>
<p>Text Container</p>
<p>Structural Element</p>
<p>The <em>label</em> element is associated with an item and annotates that item with a number, a textual description of some sort, or a simple bullet.</p>
<p>Parent</p>
<ul>
<li>item</li>
</ul>
<p>Children</p>
<ul>
<li>none</li>
</ul>
<p>Attributes</p>
<ul>
<li><b>id</b>: (optional) A unique identifier of the element</li>
<li><b>n</b>: (optional) A local identifier used to differentiate the element from its siblings</li>
<li><b>rend</b>: (optional) An optional rend attribute provides a hint on how the label should be rendered, independent of its type.</li>
</ul>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
&lt;list n=<span class="code-quote">"list-example"</span>
id=<span class="code-quote">"XMLExample.list.list-example"</span>&gt;
&lt;head&gt;Example List&lt;/head&gt;
&lt;label&gt;1&lt;/label&gt;
&lt;item&gt; This is the first item &lt;/item&gt;
&lt;label&gt;2&lt;/label&gt;
&lt;item&gt; This is the second item with &lt;hi ...&gt;highlighted text&lt;/hi&gt;,
&lt;xref ...&gt; a link&lt;/xref&gt; and an &lt;figure
...&gt;image&lt;/figure&gt;.&lt;/item&gt;
...
&lt;list n=<span class="code-quote">"list-example2"</span>
id=<span class="code-quote">"XMLExample.list.list-example2"</span>&gt;
&lt;head&gt;Example Sublist&lt;/head&gt;
&lt;label&gt;ITEM
ONE:&lt;/label&gt;
&lt;item&gt; This is the first item &lt;/item&gt;
&lt;label&gt;ITEM
TWO:&lt;/label&gt;
&lt;item&gt; This is the second item with &lt;hi ...&gt;highlighted
text&lt;/hi&gt;, &lt;xref ...&gt; a link&lt;/xref&gt; and an &lt;figure
...&gt;image&lt;/figure&gt;.&lt;/item&gt;
&lt;label&gt;ITEM
THREE:&lt;/label&gt;
&lt;item&gt; This is the third item with a &lt;field ...&gt; ... &lt;/field&gt;
&lt;/item&gt;
...
&lt;/list&gt;
&lt;item&gt; This is the third item in the list &lt;/item&gt;
...
&lt;/list&gt;
</pre>
</div></div>
<h3><a name="DRISchemaReference-list"></a>list</h3>
<p>Structural Element</p>
<p>The <em>list</em> element is used to display sets of sequential data. It contains an optional <em>head</em> element, as well as any number of <em>item</em> and <em>list</em> elements. <em>Items</em> contain textual information, while sublists contain other <em>item</em> or <em>list</em> elements. An <em>item</em> can also be associated with a <em>label</em> element that annotates an item with a number, a textual description of some sort, or a simple bullet. The list type (ordered, bulleted, gloss, etc.) is then determined either by the content of <em>labels</em> on <em>items</em> or by an explicit value of the <em>type</em> attribute. Note that if <em>labels</em> are used in conjunction with any <em>items</em> in a list, all of the <em>items</em> in that list must have a <em>label</em>. It is also recommended to avoid mixing <em>label</em> styles unless an explicit type is specified.</p>
<p>Parent</p>
<ul>
<li>div</li>
<li>list</li>
</ul>
<p>Children</p>
<ul>
<li>head (zero or one)</li>
<li>label (any)</li>
<li>item (any)</li>
<li>list (any)</li>
</ul>
<p>Attributes</p>
<ul>
<li><b>id</b>: (required) A unique identifier of the element</li>
<li><b>n</b>: (required) A local identifier used to differentiate the element from its siblings</li>
<li><b>rend</b>: (optional) An optional rend attribute provides a hint on how the list should be rendered, independent of its type. Common values are but not limited to:
<ul>
<li><b>alphabet</b>: The list should be rendered as an alphabetical index</li>
<li><b>columns</b>: The list should be rendered in equal length columns as determined by the theme.</li>
<li><b>columns2</b>: The list should be rendered in two equal columns.</li>
<li><b>columns3</b>: The list should be rendered in three equal columns.</li>
<li><b>horizontal</b>: The list should be rendered horizontally.</li>
<li><b>numeric</b>: The list should be rendered as a numeric index.</li>
<li><b>vertical</b>: The list should be rendered vertically.</li>
</ul>
</li>
<li><b>type</b>: (optional) An optional attribute to explicitly specify the type of list. In the absence of this attribute, the type of a list will be inferred from the presence and content of labels on its items. Accepted values are:
<ul>
<li><b>form</b>: Used for form lists that consist of a series of fields.</li>
<li><b>bulleted</b>: Used for lists with bullet-marked items.</li>
<li><b>gloss</b>: Used for lists consisting of a set of technical terms, each marked with a <em>label</em> element and accompanied by the definition marked as an <em>item</em> element.</li>
<li><b>ordered</b>: Used for lists with numbered or lettered items.</li>
<li><b>progress</b>: Used for lists consisting of a set of steps currently being performed to accomplish a task. For this type to apply, each <em>item</em> in the list should represent a step and be accompanied by a <em>label</em> that contains the displayable name for the step. The <em>item</em> contains an <em>xref</em> that references the step. Also the <em>rend</em> attribute on the <em>item</em> element should be: "available" (meaning the user may jump to the step using the provided <em>xref</em>), "unavailable" (the user has not meet the requirements to jump to the step), or "current" (the user is currently on the step)</li>
<li><b>simple</b>: Used for lists with items not marked with numbers or bullets.</li>
</ul>
</li>
</ul>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
&lt;div ...&gt;
...
&lt;list n=<span class="code-quote">"list-example"</span>
id=<span class="code-quote">"XMLExample.list.list-example"</span>&gt;
&lt;head&gt;Example List&lt;/head&gt;
&lt;item&gt; ... &lt;/item&gt;
&lt;item&gt; ... &lt;/item&gt;
...
&lt;list n=<span class="code-quote">"list-example2"</span>
id=<span class="code-quote">"XMLExample.list.list-example2"</span>&gt;
&lt;head&gt;Example Sublist&lt;/head&gt;
&lt;label&gt; ... &lt;/label&gt;
&lt;item&gt; ... &lt;/item&gt;
&lt;label&gt; ... &lt;/label&gt;
&lt;item&gt; ... &lt;/item&gt;
&lt;label&gt; ... &lt;/label&gt;
&lt;item&gt; ... &lt;/item&gt;
...
&lt;/list&gt;
&lt;label&gt; ... &lt;/label&gt;
&lt;item&gt; ... &lt;/item&gt;
...
&lt;/list&gt;
&lt;/div&gt;
</pre>
</div></div>
<h3><a name="DRISchemaReference-META"></a>META</h3>
<p>Top-Level Container</p>
<p>The <em>meta</em> element is a top level element and exists directly inside the <em>document</em> element. It serves as a container element for all metadata associated with a document broken up into categories according to the type of metadata they carry.</p>
<p>Parent</p>
<ul>
<li>document</li>
</ul>
<p>Children</p>
<ul>
<li>userMeta (one)</li>
<li>pageMeta (one)</li>
<li>repositoryMeta (one)</li>
</ul>
<p>Attributes</p>
<ul>
<li>None</li>
</ul>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
&lt;document version=1.0&gt;
&lt;meta&gt;
&lt;userMeta&gt; ... &lt;/userMeta&gt;
&lt;pageMeta&gt; ... &lt;/pageMeta&gt;
&lt;repositoryMeta&gt; ... &lt;/repositoryMeta&gt;
&lt;/meta&gt;
&lt;body&gt; ... &lt;/body&gt;
&lt;options&gt; ... &lt;/options&gt;
&lt;/document&gt;
</pre>
</div></div>
<h3><a name="DRISchemaReference-metadata"></a>metadata</h3>
<p>Text Container</p>
<p>Structural Element</p>
<p>The <em>metadata</em> element carries generic metadata information in the form on an attribute-value pair. The type of information it contains is determined by two attributes: <em>element</em>, which specifies the general type of metadata stored, and an optional <em>qualifier</em> attribute that narrows the type down. The standard representation for this pairing is element.qualifier. The actual metadata is contained in the text of the tag itself. Additionally, a <em>language</em> attribute can be used to specify the language used for the metadata entry.</p>
<p>Parent</p>
<ul>
<li>userMeta</li>
<li>pageMeta</li>
</ul>
<p>Children</p>
<ul>
<li>none</li>
</ul>
<p>Attributes</p>
<ul>
<li><b>element</b>: (required) The name of a metadata field.</li>
<li><b>language</b>: (optional) An optional attribute to specify the language used in the metadata tag.</li>
<li><b>qualifier</b>: (optional) An optional postfix to the field name used to further differentiate the names.</li>
</ul>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
&lt;meta&gt;
&lt;userMeta&gt;
&lt;metadata element=<span class="code-quote">"identifier"</span> qualifier=<span class="code-quote">"firstName"</span>&gt; Bob
&lt;/metadata&gt; &lt;metadata element=<span class="code-quote">"identifier"</span> qualifier=<span class="code-quote">"lastName"</span>&gt; Jones
&lt;/metadata&gt; &lt;metadata ...&gt; ...
&lt;/metadata&gt;
...
&lt;/userMeta&gt;
&lt;pageMeta&gt;
&lt;metadata element=<span class="code-quote">"rights"</span>
qualifier=<span class="code-quote">"accessRights"</span>&gt;user&lt;/metadata&gt; &lt;metadata ...&gt; ...
&lt;/metadata&gt;
...
&lt;/pageMeta&gt;
&lt;/meta&gt;
</pre>
</div></div>
<h3><a name="DRISchemaReference-OPTIONS"></a>OPTIONS</h3>
<p>Top-Level Container</p>
<p>The <em>options</em> element is the main container for all actions and navigation options available to the user. It consists of any number of <em>list</em> elements whose items contain navigation information and actions. While any list of navigational options may be contained in this element, it is suggested that at least the following 5 lists be included.</p>
<p>Parent</p>
<ul>
<li>document</li>
</ul>
<p>Children</p>
<ul>
<li>list (any)</li>
</ul>
<p>Attributes</p>
<ul>
<li>None</li>
</ul>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
&lt;document version=1.0&gt;
&lt;meta&gt; ... &lt;/meta&gt;
&lt;body&gt; ... &lt;/body&gt;
&lt;options&gt;
&lt;list n=<span class="code-quote">"navigation-example1"</span>
id=<span class="code-quote">"XMLExample.list.navigation-example1"</span>&gt;
&lt;head&gt;Example Navigation List 1&lt;/head&gt;
&lt;item&gt;&lt;xref target=<span class="code-quote">"/link/to/option"</span>&gt;Option
One&lt;/xref&gt;&lt;/item&gt;
&lt;item&gt;&lt;xref target=<span class="code-quote">"/link/to/option"</span>&gt;Option
two&lt;/xref&gt;&lt;/item&gt;
...
&lt;/list&gt;
&lt;list n=<span class="code-quote">"navigation-example2"</span>
id=<span class="code-quote">"XMLExample.list.navigation-example2"</span>&gt;
&lt;head&gt;Example Navigation List 2&lt;/head&gt;
&lt;item&gt;&lt;xref target=<span class="code-quote">"/link/to/option"</span>&gt;Option
One&lt;/xref&gt;&lt;/item&gt;
&lt;item&gt;&lt;xref target=<span class="code-quote">"/link/to/option"</span>&gt;Option
two&lt;/xref&gt;&lt;/item&gt;
...
&lt;/list&gt;
...
&lt;/options&gt;
&lt;/document&gt;
</pre>
</div></div>
<h3><a name="DRISchemaReference-p"></a>p</h3>
<p>Rich Text Container</p>
<p>Structural Element</p>
<p>The <em>p</em> element is a rich text container used by <em>divs</em> to display textual data in a paragraph format. As a rich text container it can contain hyperlinks, emphasized blocks of text, images and form fields in addition to plain text.</p>
<p>Parent</p>
<ul>
<li>div</li>
</ul>
<p>Children</p>
<ul>
<li>hi (any)</li>
<li>xref (any)</li>
<li>figure (any)</li>
<li>field (any)</li>
</ul>
<p>Attributes</p>
<ul>
<li><b>id</b>: (optional) A unique identifier of the element.</li>
<li><b>n</b>: (optional) A local identifier used to differentiate the element from its siblings.</li>
<li><b>rend</b>: (optional) A rendering hint used to override the default display of the element.</li>
</ul>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
&lt;div n=<span class="code-quote">"division-example"</span>
id=<span class="code-quote">"XMLExample.div.division-example"</span>&gt;
&lt;p&gt; This is a regular paragraph.
&lt;/p&gt; &lt;p&gt; This text is normal, <span class="code-keyword">while</span> &lt;hi rend=<span class="code-quote">"bold"</span>&gt;<span class="code-keyword">this</span> text is bold
and <span class="code-keyword">this</span> text is &lt;hi rend=<span class="code-quote">"italic"</span>&gt;bold and italic.&lt;/hi&gt;&lt;/hi&gt;
&lt;/p&gt; &lt;p&gt; This paragraph contains a &lt;xref
target=<span class="code-quote">"/link/target"</span>&gt;link&lt;/xref&gt;, a <span class="code-keyword">static</span> &lt;figure
source=<span class="code-quote">"/image.jpg"</span>&gt;image&lt;/figure&gt;, and a &lt;figure target=
<span class="code-quote">"/link/target"</span> source=<span class="code-quote">"/image.jpg"</span>&gt;image link.&lt;/figure&gt;
&lt;/p&gt;
&lt;/div&gt;
</pre>
</div></div>
<h3><a name="DRISchemaReference-pageMeta"></a>pageMeta</h3>
<p>Metadata Element</p>
<p>The <em>pageMeta</em> element contains metadata associated with the document itself. It contains generic <em>metadata</em> elements to carry the content, and any number of <em>trail</em> elements to provide information on the user's current location in the system. Required and suggested values for <em>metadata</em> elements contained in <em>pageMeta</em> include but are not limited to:</p>
<ul>
<li>browser (suggested): The user's browsing agent as reported to server in the HTTP request.</li>
<li>browser.type (suggested): The general browser family as derived form the browser metadata field. Possible values may include "MSIE" (for Microsoft Internet Explorer), "Opera" (for the Opera browser), "Apple" (for Apple web kit based browsers), "Gecko" (for Netscape, Mozilla, and Firefox based browsers), or "Lynx" (for text based browsers).</li>
<li>browser.version (suggested): The browser version as reported by HTTP Request.</li>
<li>contextPath (required): The base URL of the Digital Repository system.</li>
<li>redirect.time (suggested): The time that must elapse before the page is redirected to an address specified by the redirect.url <em>metadata</em> element.</li>
<li>redirect.url (suggested): The URL destination of a redirect page</li>
<li>title (required): The title of the document/page that the user currently browsing.</li>
</ul>
<p>See the <em>metadata</em> and <em>trail</em> tag entries for more information on their structure.</p>
<p>Parent</p>
<ul>
<li>meta</li>
</ul>
<p>Children</p>
<ul>
<li>metadata (any)</li>
<li>trail (any)</li>
</ul>
<p>Attributes</p>
<ul>
<li>None</li>
</ul>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
&lt;meta&gt;
&lt;userMeta&gt; ... &lt;/userMeta&gt;
&lt;pageMeta&gt;
&lt;metadata element=<span class="code-quote">"title"</span>&gt;Examlpe DRI
page&lt;/metadata&gt;
&lt;metadata
element=<span class="code-quote">"contextPath"</span>&gt;/xmlui/&lt;/metadata&gt;
&lt;metadata ...&gt; ... &lt;/metadata&gt;
...
&lt;trail source=<span class="code-quote">"123456789/6"</span>&gt; A bread crumb item
&lt;/trail&gt;
&lt;trail ...&gt; ... &lt;/trail&gt;
...
&lt;/pageMeta&gt;
&lt;/meta&gt;
</pre>
</div></div>
<h3><a name="DRISchemaReference-params"></a>params</h3>
<p>Structural Component</p>
<p>The <em>params</em> element identifies extra parameters used to build a form field. There are several attributes that may be available for this element depending on the field type.</p>
<p>Parent</p>
<ul>
<li>field</li>
</ul>
<p>Children</p>
<ul>
<li>none</li>
</ul>
<p>Attributes</p>
<ul>
<li><b>cols</b>: (optional) The default number of columns that the text area should span. This applies only to textarea field types.</li>
<li><b>maxlength</b>: (optional) The maximum length that the theme should accept for form input. This applies to text and password field types.</li>
<li><b>multiple</b>: (optional) yes/no value. Determine if the field can accept multiple values for the field. This applies only to select lists.</li>
<li><b>operations</b>: (optional) The possible operations that may be preformed on this field. The possible values are "add" and/or "delete". If both operations are possible then they should be provided as a space separated list.The "add" operations indicates that there may be multiple values for this field and the user may add to the set one at a time. The front-end should render a button that enables the user to add more fields to the set. The button must be named the field name appended with the string "_add", thus if the field's name is "firstName" the button must be called "firstName_add".The "delete" operation indicates that there may be multiple values for this field each of which may be removed from the set. The front-end should render a checkbox by each field value, except for the first, The checkbox must be named the field name appended with the string "_selected", thus if the field's name is "firstName" the checkbox must be called "firstName_selected" and the value of each successive checkbox should be the field name. The front-end must also render a delete button. The delete button name must be the field's name appended with the string "_delete".</li>
<li><b>rows</b>: (optional) The default number of rows that the text area should span. This applies only to textarea field types.</li>
<li><b>size</b>: (optional) The default size for a field. This applies to text, password, and select field types.</li>
</ul>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
&lt;p&gt;
&lt;field id=<span class="code-quote">"XMLExample.field.name"</span> n=<span class="code-quote">"name"</span> type=<span class="code-quote">"text"</span>
required=<span class="code-quote">"yes"</span>&gt;
&lt;params size=<span class="code-quote">"16"</span>
maxlength=<span class="code-quote">"32"</span>/&gt;
&lt;help&gt;Some help text with &lt;i18n&gt;localized
content&lt;/i18n&gt;.&lt;/help&gt;
&lt;<span class="code-keyword">default</span>&gt;Default value goes here&lt;/<span class="code-keyword">default</span>&gt;
&lt;/field&gt;
&lt;/p&gt;
</pre>
</div></div>
<h3><a name="DRISchemaReference-reference"></a>reference</h3>
<p>Metadata Reference Element</p>
<p><em>reference</em> is a reference element used to access information stored in an extarnal metadata file. The <em>url</em> attribute is used to locate the external metadata file. The <em>type</em> attribute provides a short limited description of the referenced object's type.</p>
<p><em>reference</em> elements can be both contained by <em>includeSet</em> elements and contain <em>includeSets</em> themselves, making the structure recursive.</p>
<p>Parent</p>
<ul>
<li>referenceSet</li>
</ul>
<p>Children</p>
<ul>
<li>referenceSet (zero or more)</li>
</ul>
<p>Attributes</p>
<ul>
<li><b>url</b>: (required) A url to the external metadata file.</li>
<li><b>repositoryIdentifier</b>: (required) A reference to the repositoryIdentifier of the repository.</li>
<li><b>type</b>: (optional) Description of the reference object's type.</li>
</ul>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
&lt;includeSet n=<span class="code-quote">"browse-list"</span>
id=<span class="code-quote">"XMLTest.includeSet.browse-list"</span>&gt;
&lt;reference url=<span class="code-quote">"/metadata/handle/123/4/mets.xml"</span>
repositoryID=<span class="code-quote">"123"</span> type="DSpace
Item<span class="code-quote">"/&gt; &lt;reference url="</span>/metadata/handle/123/5/mets.xml"
repositoryID=<span class="code-quote">"123"</span> /&gt;
...
&lt;/includeSet&gt;
</pre>
</div></div>
<h3><a name="DRISchemaReference-referenceSet"></a>referenceSet</h3>
<p>Metadata Reference Element</p>
<p>The <em>referenceSet</em> element is a container of artifact or repository references.</p>
<p>Parent</p>
<ul>
<li>div</li>
<li>reference</li>
</ul>
<p>Children</p>
<ul>
<li>head (zero or one)</li>
<li>reference (any)</li>
</ul>
<p>Attributes</p>
<ul>
<li><b>id</b>: (required) A unique identifier of the element</li>
<li><b>n</b>: (required) Local identifier used to differentiate the element from its siblings</li>
<li><b>orderBy</b>: (optional) A reference to the metadata field that determines the ordering of artifacts or repository objects within the set. When the Dublin Core metadata scheme is used this attribute should be the element.qualifier value that the set is sorted by. As an example, for a browse by title list, the value should be sortedBy=title, while for browse by date list it should be sortedBy=date.created</li>
<li><b>rend</b>: (optional) A rendering hint used to override the default display of the element.</li>
<li><b>type</b>: (required) Determines the level of detail for the given metadata. Accepted values are:
<ul>
<li><b>summaryList</b>: Indicates that the metadata from referenced artifacts or repository objects should be used to build a list representation that is suitable for quick scanning.</li>
<li><b>summaryView</b>: Indicates that the metadata from referenced artifacts or repository objects should be used to build a partial view of the referenced object or objects.</li>
<li><b>detailList</b>: Indicates that the metadata from referenced artifacts or repository objects should be used to build a list representation that provides a complete, or near complete, view of the referenced objects. Whether such a view is possible or different from summaryView depends largely on the repository at hand and the implementing theme.</li>
<li><b>detailView</b>: Indicates that the metadata from referenced artifacts or repository objects should be used to display complete information about the referenced object. Rendering of several references included under this type is up to the theme.</li>
</ul>
</li>
</ul>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
&lt;div ...&gt;
&lt;head&gt; Example Division &lt;/head&gt;
&lt;p&gt; ... &lt;/p&gt;
&lt;table&gt; ... &lt;/table&gt;
&lt;list&gt;
...
&lt;/list&gt;
&lt;referenceSet n=<span class="code-quote">"browse-list"</span>
id=<span class="code-quote">"XMLTest.referenceSet.browse-list"</span> type=<span class="code-quote">"summaryView"</span>
informationModel=<span class="code-quote">"DSpace"</span>&gt;
&lt;head&gt;A header <span class="code-keyword">for</span> the includeset&lt;/head&gt;
&lt;reference
url=<span class="code-quote">"/metadata/handle/123/34/mets.xml"</span>/&gt;
&lt;reference
url=""metadata/handle/123/34/mets.xml/&gt;
&lt;/referenceSet&gt;
...
&lt;/p&gt;
</pre>
</div></div>
<h3><a name="DRISchemaReference-repository"></a>repository</h3>
<p>Metadata Element</p>
<p>The <em>repository</em> element is used to describe the repository. Its principal component is a set of structural metadata that carrier information on how the repository's objects under <em>objectMeta</em> are related to each other. The principal method of encoding these relationships at the time of this writing is a METS document, although other formats, like RDF, may be employed in the future.</p>
<p>Parent</p>
<ul>
<li>repositoryMeta</li>
</ul>
<p>Children</p>
<ul>
<li>none</li>
</ul>
<p>Attributes</p>
<ul>
<li><b>repositoryID</b>: requiredA unique identifier assigned to a repository. It is referenced by the <em>object</em> element to signify the repository that assigned its identifier.</li>
<li><b>url</b>: requiredA url to the external METS metadata file for the repository.</li>
</ul>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
&lt;repositoryMeta&gt;
&lt;repository repositoryID=<span class="code-quote">"123456789"</span>
url=<span class="code-quote">"/metadata/handle/1234/4/mets.xml"</span> /&gt;
&lt;/repositoryMeta&gt;
</pre>
</div></div>
<h3><a name="DRISchemaReference-repositoryMeta"></a>repositoryMeta</h3>
<p>Metadata Element</p>
<p>The <em>repositoryMeta</em> element contains metadata refernces about the repositories used in the used or referenced in the document. It can contain any number of <em>repository</em> elements.</p>
<p>See the <em>repository</em> tag entry for more information on the structure of <em>repository</em> elements.</p>
<p>Parent</p>
<ul>
<li>Meta</li>
</ul>
<p>Children</p>
<ul>
<li>repository (any)</li>
</ul>
<p>Attributes</p>
<ul>
<li>None</li>
</ul>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
&lt;meta&gt;
&lt;userMeta&gt; ... &lt;/usermeta&gt;
&lt;pageMeta&gt; ... &lt;/pageMeta&gt;
&lt;repositoryMeta&gt;
&lt;repository repositoryIID=<span class="code-quote">"..."</span> url=<span class="code-quote">"..."</span>
/&gt;
&lt;/repositoryMeta&gt;
&lt;/meta&gt;
</pre>
</div></div>
<h3><a name="DRISchemaReference-row"></a>row</h3>
<p>Structural Element</p>
<p>The row element is contained inside a <em>table</em> and serves as a container of <em>cell</em> elements. A required <em>role</em> attribute determines how the row and its cells are rendered.</p>
<p>Parent</p>
<ul>
<li>table</li>
</ul>
<p>Children</p>
<ul>
<li>cell (any)</li>
</ul>
<p>Attributes</p>
<ul>
<li><b>id</b>: (optional) A unique identifier of the element</li>
<li><b>n</b>: (optional) A local identifier used to differentiate the element from its siblings</li>
<li><b>rend</b>: (optional) A rendering hint used to override the default display of the element.</li>
<li><b>role</b>: (required) Indicates what kind of information the row carries. Possible values include "header" and "data".</li>
</ul>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
&lt;table n=<span class="code-quote">"table-example"</span> id=<span class="code-quote">"XMLExample.table.table-example"</span> rows=<span class="code-quote">"2"</span>
cols=<span class="code-quote">"3"</span>&gt;
&lt;row
role=<span class="code-quote">"head"</span>&gt;
&lt;cell cols=<span class="code-quote">"2"</span>&gt;Data Label One and
Two&lt;/cell&gt;
&lt;cell&gt;Data Label Three&lt;/cell&gt;
...
&lt;/row&gt; &lt;row&gt;
&lt;cell&gt; Value One &lt;/cell&gt;
&lt;cell&gt; Value Two &lt;/cell&gt;
&lt;cell&gt; Value Three &lt;/cell&gt;
...
&lt;/row&gt;
...
&lt;/table&gt;
</pre>
</div></div>
<h3><a name="DRISchemaReference-table"></a>table</h3>
<p>Structural Element</p>
<p>The <em>table</em> element is a container for information presented in tabular format. It consists of a set of <em>row</em> elements and an optional <em>header</em>.</p>
<p>Parent</p>
<ul>
<li>div</li>
</ul>
<p>Children</p>
<ul>
<li>head (zero or one)</li>
<li>row (any)</li>
</ul>
<p>Attributes</p>
<ul>
<li><b>cols</b>: (required) The number of columns in the table.</li>
<li><b>id</b>: (required) A unique identifier of the element</li>
<li><b>n</b>: (required) A local identifier used to differentiate the element from its siblings</li>
<li><b>rend</b>: (optional) A rendering hint used to override the default display of the element.</li>
<li><b>rows</b>: (required) The number of rows in the table.</li>
</ul>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
&lt;div n=<span class="code-quote">"division-example"</span>
id=<span class="code-quote">"XMLExample.div.division-example"</span>&gt;
&lt;table n=<span class="code-quote">"table1"</span> id=<span class="code-quote">"XMLExample.table.table1"</span> rows=<span class="code-quote">"2"</span>
cols=<span class="code-quote">"3"</span>&gt;
&lt;row role=<span class="code-quote">"head"</span>&gt;
&lt;cell cols=<span class="code-quote">"2"</span>&gt;Data Label One and
Two&lt;/cell&gt;
&lt;cell&gt;Data Label Three&lt;/cell&gt;
...
&lt;/row&gt;
&lt;row&gt;
&lt;cell&gt; Value One &lt;/cell&gt;
&lt;cell&gt; Value Two &lt;/cell&gt;
&lt;cell&gt; Value Three &lt;/cell&gt;
...
&lt;/row&gt;
...
&lt;/table&gt;
...
&lt;/div&gt;
</pre>
</div></div>
<h3><a name="DRISchemaReference-trail"></a>trail</h3>
<p>Text Container</p>
<p>Metadata Element</p>
<p>The <em>trail</em> element carries information about the user's current location in the system relative of the repository's root page. Each instance of the element serves as one link in the path from the root to the current page.</p>
<p>Parent</p>
<ul>
<li>pageMeta</li>
</ul>
<p>Children</p>
<ul>
<li>none</li>
</ul>
<p>Attributes</p>
<ul>
<li><b>rend</b>: (optional) A rendering hint used to override the default display of the element.</li>
<li><b>target</b>: (optional) An optional attribute to specify a target URL for a trail element serving as a hyperlink. The text inside the element will be used as the text of the link.</li>
</ul>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
&lt;pageMeta&gt;
&lt;metadata element=<span class="code-quote">"title"</span>&gt;Examlpe DRI
page&lt;/metadata&gt;
&lt;metadata
element=<span class="code-quote">"contextPath"</span>&gt;/xmlui/&lt;/metadata&gt;
&lt;metadata ...&gt; ... &lt;/metadata&gt;
...
&lt;trail target=<span class="code-quote">"/myDSpace"</span>&gt; A bread crumb item pointing to a
page. &lt;/trail&gt; &lt;trail ...&gt; ... &lt;/trail&gt;
...
&lt;/pageMeta&gt;
</pre>
</div></div>
<h3><a name="DRISchemaReference-userMeta"></a>userMeta</h3>
<p>Metadata Element</p>
<p>The <em>userMeta</em> element contains metadata associated with the user that requested the document. It contains generic <em>metadata</em> elements, which in turn carry the information. Required and suggested values for <em>metadata</em> elements contained in <em>userMeta</em> include but not limited to:</p>
<ul>
<li>identifier (suggested): A unique identifier associated with the user.</li>
<li>identifier.email (suggested): The requesting user's email address.</li>
<li>identifier.firstName (suggested): The requesting user's first name.</li>
<li>identifier.lastName (suggested): The requesting user's last name.</li>
<li>identifier.logoutURL (suggested): The URL that a user will be taken to when logging out.</li>
<li>identifier.url (suggested): A url reference to the user's page within the repository.</li>
<li>language.RFC3066 (suggested): The requesting user's preferred language selection code as describe by RFC3066</li>
<li>rights.accessRights (required): Determines the scope of actions that a user can perform in the system. Accepted values are:
<ul>
<li>none: The user is either not authenticated or does not have a valid account on the system</li>
<li>user: The user is authenticated and has a valid account on the system</li>
<li>admin: The user is authenticated and belongs to the system's administrative group</li>
</ul>
</li>
</ul>
<p>See the <em>metadata</em> tag entry for more information on the structure of <em>metadata</em> elements.</p>
<p>Parent</p>
<ul>
<li>meta</li>
</ul>
<p>Children</p>
<ul>
<li>metadata (any)</li>
</ul>
<p>Attributes</p>
<ul>
<li><b>authenticated</b>: (required) Accepted values are "yes", "no". Determines whether the user has been authenticated by the system.</li>
</ul>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
&lt;meta&gt;
&lt;userMeta&gt;
&lt;metadata element=<span class="code-quote">"identifier"</span> qualifier=<span class="code-quote">"email"</span>&gt;bobJones@tamu.edu&lt;/metadata&gt;
&lt;metadata element=<span class="code-quote">"identifier"</span> qualifier=<span class="code-quote">"firstName"</span>&gt;Bob&lt;/metadata&gt;
&lt;metadata element=<span class="code-quote">"identifier"</span> qualifier=<span class="code-quote">"lastName"</span>&gt;Jones&lt;/metadata&gt;
&lt;metadata element=<span class="code-quote">"rights"</span> qualifier=<span class="code-quote">"accessRights"</span>&gt;user&lt;/metadata&gt;
&lt;metadata ...&gt; ... &lt;/metadata&gt;
...
&lt;trail source=<span class="code-quote">"123456789/6"</span>&gt;A bread crumb item&lt;/trail&gt;
&lt;trail ...&gt; ... &lt;/trail&gt;
...
&lt;/userMeta&gt;
&lt;pageMeta&gt; ... &lt;/pageMeta&gt;
&lt;/meta&gt;
</pre>
</div></div>
<h3><a name="DRISchemaReference-value"></a>value</h3>
<p>Rich Text Container</p>
<p>Structural Element</p>
<p>The value element contains the value associated with a form field and can serve a different purpose for various field types. The value element is comprised of two subelements: the raw element which stores the unprocessed value directly from the user of other source, and the interpreted element which stores the value in a format appropriate for display to the user, possibly including rich text markup.</p>
<p>Parent</p>
<ul>
<li>field</li>
</ul>
<p>Children</p>
<ul>
<li>hi (any)</li>
<li>xref (any)</li>
<li>figure (any)</li>
</ul>
<p>Attributes</p>
<ul>
<li><b>optionSelected</b>: (optional) An optional attribute for select, checkbox, and radio fields to determine if the value is to be selected or not.</li>
<li><b>optionValue</b>: (optional) An optional attribute for select, checkbox, and radio fields to determine the value that should be returned when this value is selected.</li>
<li><b>type</b>: (required) A required attribute to specify the type of value. Accepted types are:
<ul>
<li><b>raw</b>: The raw type stores the unprocessed value directly from the user of other source.</li>
<li><b>interpreted</b>: The interpreted type stores the value in a format appropriate for display to the user, possibly including rich text markup.</li>
<li><b>default</b>: The default type stores a value supplied by the system, used when no other values are provided.</li>
</ul>
</li>
</ul>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
&lt;p&gt;
&lt;hi&gt; ... &lt;/hi&gt;
&lt;xref&gt; ... &lt;/xref&gt;
&lt;figure&gt; ... &lt;/figure&gt;
&lt;field id=<span class="code-quote">"XMLExample.field.name"</span> n=<span class="code-quote">"name"</span> type=<span class="code-quote">"text"</span>
required=<span class="code-quote">"yes"</span>&gt;
&lt;params size=<span class="code-quote">"16"</span> maxlength=<span class="code-quote">"32"</span>/&gt;
&lt;help&gt;Some help text with &lt;i18n&gt;localized
content&lt;/i18n&gt;.&lt;/help&gt;
&lt;value type=<span class="code-quote">"<span class="code-keyword">default</span>"</span>&gt;Author,
John&lt;/value&gt;
&lt;/field&gt;
&lt;/p&gt;
</pre>
</div></div>
<h3><a name="DRISchemaReference-xref"></a>xref</h3>
<p>Text Container</p>
<p>Structural Element</p>
<p>The <em>xref</em> element is a reference to an external document. It can be mixed freely with text, and any text within the tag itself will be used as part of the link's visual body.</p>
<p>Parent</p>
<ul>
<li>cell</li>
<li>p</li>
<li>item</li>
<li>hi</li>
</ul>
<p>Children</p>
<ul>
<li>none</li>
</ul>
<p>Attributes</p>
<ul>
<li><b>target</b>: (required) A target for the reference, using either a URL or an id of an existing element as a destination for the <em>xref</em>.</li>
</ul>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
&lt;p&gt;
&lt;xref target=<span class="code-quote">"/url/link/target"</span>&gt;This text is shown as a
link.&lt;/xref&gt;
&lt;/p&gt;
</pre>
</div></div>
<br/>
<div class="tabletitle">
<a name="attachments">Attachments:</a>
</div>
<div class="greybox" align="left">
<img src="images/icons/bullet_blue.gif" height="8" width="8" alt=""/>
<a href="attachments/22022838/23429283.png">DRISchemaOverview.png</a> (image/png)
<br/>
<img src="images/icons/bullet_blue.gif" height="8" width="8" alt=""/>
<a href="attachments/22022838/23429284.png">DRISchema.png</a> (image/png)
<br/>
</div>
</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td height="12" background="https://wiki.duraspace.org/images/border/border_bottom.gif"><img src="images/border/spacer.gif" width="1" height="1" border="0"/></td>
</tr>
<tr>
<td align="center"><font color="grey">Document generated by Confluence on Dec 16, 2010 11:47</font></td>
</tr>
</table>
</body>
</html>