<meta-value>

Metadata Data Value for Custom Metadata

Definition

The value of a custom metadata field that is named by the <meta-name> element

Remarks

Some DTDs and schemas allow for metadata above and beyond that which is specified in the NCBI Book DTD and NCBI Collection DTDs. To capture this metadata during conversion, use the <custom-meta> element, which contains one name/value pair with few constraints on the length or content of the value. For example, the DTD previously used by NCBI included a metadata element <price>, which has no counterpart in the NCBI Book DTD and NCBI Collection DTDs; the content of this element, however, may be preserved by use of the <custom-meta> element, with a <meta-name> of “price” and a <meta-value> containing the actual price of the relevant book.

Related Elements

The element <custom-meta-wrap> acts as a wrapper element to contain an infinite number of <custom-meta> elements. Each <custom-meta> element houses a name/value pair, <meta-name> and <meta-value> respectively, which name and provide a value for a single metadata field.

Model Information

Content Model

<!ELEMENT  meta-value   (#PCDATA %meta-value-elements;)*             >

Description

Any combination of:

This element may be contained in:

<custom-meta> Custom Metadata

Tagged Example


...
<book-meta>
...
<custom-meta-wrap>
<custom-meta>
<meta-name>acidfree</meta-name>
<meta-value>yes</meta-value>
</custom-meta>
<custom-meta>
<meta-name>price</meta-name>
<meta-value>US $28.50</meta-value>
</custom-meta>
<custom-meta>
<meta-name>miscinfo</meta-name>
<meta-value>CDs included, Windows XP required; 1GB processor, 
512 MB RAM recommended</meta-value>
</custom-meta>
</custom-meta-wrap>
...
</book-meta>
...


Module

common.ent