Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • repositoryID: requiredA unique identifier assigned to a repository. It is referenced by the object element to signify the repository that assigned its identifier.
  • url: requiredA url to the external METS metadata file for the repository.
Code Block

<repositoryMeta>

     <repository repositoryID="123456789"
	url="/metadata/handle/1234/4/mets.xml" />

</repositoryMeta>

repositoryMeta

Metadata Element

...

See the repository tag entry for more information on the structure of repository elements.

Parent

  • Meta

Children

  • repository

...

  • (any)

Attributes

  • None
Code Block
<meta>

  <userMeta> ... </usermeta>

  <pageMeta> ... </pageMeta>

     <repositoryMeta>

        <repository repositoryIID="..." url="..."
	/>

     </repositoryMeta>

</meta>

...

The row element is contained inside a table and serves as a container of cell elements. A required role attribute determines how the row and its cells are rendered.

Parent

  • table

Children

  • cell

...

  • (any)

Attributes

  • id: optionalA (optional) A unique identifier of the element
  • n: optionalA (optional) A local identifier used to differentiate the element from its siblings
  • rend: optionalA (optional) A rendering hint used to override the default display of the element.
  • role: requiredIndicates (required) Indicates what kind of information the row carries. Possible values include "header" and "data".
Code Block

<table n="table-example" id="XMLExample.table.table-example" rows="2"
	cols="3">

     <row
	role="head">

      <cell cols="2">Data Label One and
	Two</cell>

        <cell>Data Label Three</cell>

        ...

     </row> <row>

      <cell> Value One </cell>

      <cell> Value Two </cell>

      <cell> Value Three </cell>

      ...

     </row>

    ...

</table>

table

Structural Element

The table element is a container for information presented in tabular format. It consists of a set of row elements and an optional header.

Parent

  • div

Children

  • head

...

  • (zero or one)
  • row

...

  • (any)

Attributes

  • cols: requiredThe (required) The number of columns in the table.
  • id: requiredA (required) A unique identifier of the element
  • n: requiredA (required) A local identifier used to differentiate the element from its siblings
  • rend: optionalA (optional) A rendering hint used to override the default display of the element.
  • rows: requiredThe (required) The number of rows in the table.
Code Block

<div n="division-example"
	id="XMLExample.div.division-example">

     <table n="table1" id="XMLExample.table.table1" rows="2"
	cols="3">

        <row role="head">

          <cell cols="2">Data Label One and
	Two</cell>

            <cell>Data Label Three</cell>

            ...

        </row>

        <row>

          <cell> Value One </cell>

          <cell> Value Two </cell>

          <cell> Value Three </cell>

          ...

        </row>

        ...

     </table>
    ...
</div>

trail

Text Container

Metadata Element

The trail 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.

Parent

  • pageMeta

Children

  • none

Attributes

  • rend: optionalA (optional) A rendering hint used to override the default display of the element.
  • target: optionalAn (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.
Code Block

<pageMeta>

    <metadata element="title">Examlpe DRI
	page</metadata>

    <metadata
	element="contextPath">/xmlui/</metadata>

    <metadata ...> ... </metadata>

    ...

     <trail target="/myDSpace"> A bread crumb item pointing to a
	page. </trail> <trail ...> ... </trail>

    ...

</pageMeta>

userMeta

Metadata Element

The userMeta element contains metadata associated with the user that requested the document. It contains generic metadata elements, which in turn carry the information. Required and suggested values for metadata elements contained in userMeta include but not limited to:

  • identifier (suggested): A unique identifier associated with the user.
  • identifier.email (suggested): The requesting user's email address.
  • identifier.firstName (suggested): The requesting user's first name.
  • identifier.lastName (suggested): The requesting user's last name.
  • identifier.logoutURL (suggested): The URL that a user will be taken to when logging out.
  • identifier.url (suggested): A url reference to the user's page within the repository.
  • language.RFC3066 (suggested): The requesting user's preferred language selection code as describe by RFC3066
  • rights.accessRights (required): Determines the scope of actions that a user can perform in the system. Accepted values are:
    • none: The user is either not authenticated or does not have a valid account on the system
    • user: The user is authenticated and has a valid account on the system
    • admin: The user is authenticated and belongs to the system's administrative group

See the metadata tag entry for more information on the structure of metadata elements.

...

Parent

  • meta

Children

  • metadata

...

  • (any)

Attributes

  • authenticated: requiredAccepted (required) Accepted values are "yes", "no". Determines whether the user has been authenticated by the system.
Code Block

<meta>

     <userMeta>

        <metadata element="identifier" qualifier="email"

...

>bobJones@tamu.edu</metadata>

        <metadata element="identifier" qualifier="firstName"

...

>Bob</metadata>

        <metadata element="identifier" qualifier="lastName"

...

>Jones</metadata>

        <metadata element="rights"

...

 qualifier="accessRights">user</metadata>

        <metadata ...> ... </metadata>

        ...

        <trail source="123456789/6"

...

>A 

...

bread crumb 

...

item</trail>

        <trail ...> ... </trail>

        ...

     </userMeta>

    <pageMeta> ... </pageMeta>

</meta>

value

Rich Text Container

Structural Element

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.

Parent

  • field

Children

  • hi

...

  • (any)
  • xref

...

  • (any)
  • figure

...

  • (any)

Attributes

  • optionSelected: optionalAn (optional) An optional attribute for select, checkbox, and radio fields to determine if the value is to be selected or not.
  • optionValue: optionalAn (optional) An optional attribute for select, checkbox, and radio fields to determine the value that should be returned when this value is selected.
  • type: requiredA (required) A required attribute to specify the type of value. Accepted types are:
    • raw: The raw type stores the unprocessed value directly from the user of other source.
    • interpreted: The interpreted type stores the value in a format appropriate for display to the user, possibly including rich text markup.
    • default: The default type stores a value supplied by the system, used when no other values are provided.
Code Block

<p>
  <hi> ... </hi>
  <xref> ... </xref>
  <figure> ... </figure>
  <field id="XMLExample.field.name" n="name" type="text"
	required="yes">
    <params size="16" maxlength="32"/>
    <help>Some help text with <i18n>localized
	content</i18n>.</help>
     <value type="default">Author,
	John</value>
  </field>
</p>

xref

Text Container

Structural Element

...