schema location: | MARC21DOC.xsd |
Elements |
APPLYIF |
DESCRIPTION |
EX |
EXAMPLES |
FIELD |
IND1 |
IND2 |
ITEM |
MARCDOC |
NOTES |
OPTION |
P |
PSUBFIELD |
RELATED |
SEEEX |
SUBFIELD |
TABLE |
TD |
TR |
VOCABULARY |
diagram | |||
children | PSUBFIELD SUBFIELD | ||
used by |
|
||
attributes | |||
annotation |
|
||
source | <xs:element name="APPLYIF"> <xs:annotation> <xs:documentation>A set of elements that will be considered only when a specified condition is met. The condition attribute may contain the variables $content and $leader. These variables must be created by the stylesheet using this manual. The $content variable contains the content of the current field and the $leader variable contains the content of the record leader. </xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element ref="PSUBFIELD" minOccurs="0" maxOccurs="unbounded"/> <xs:element ref="SUBFIELD" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> <xs:attribute name="condition" type="xs:string" use="required"> <xs:annotation> <xs:documentation>A boolean expression. The contained elements will apply only when the condition is true (for instance, if record leader 7th character is s). It may refer the $content and $leader variables. These variables must be created by the stylesheet that is using this manual. The $content variable holds the content of the current field and the $leader variable holds the content of the record leader.</xs:documentation> </xs:annotation> </xs:attribute> <xs:attribute name="name" type="xs:string" use="required"> <xs:annotation> <xs:documentation>The name of this conditional set of elements.</xs:documentation> </xs:annotation> </xs:attribute> </xs:complexType> </xs:element> |
diagram | |||
children | P | ||
used by |
|
||
annotation |
|
||
source | <xs:element name="DESCRIPTION"> <xs:annotation> <xs:documentation>An element description.</xs:documentation> </xs:annotation> <xs:complexType mixed="true"> <xs:choice minOccurs="0" maxOccurs="unbounded"> <xs:element ref="P"/> </xs:choice> </xs:complexType> </xs:element> |
diagram | |||||||||||||||
children | P | ||||||||||||||
used by |
|
||||||||||||||
attributes |
|
||||||||||||||
annotation |
|
||||||||||||||
source | <xs:element name="EX"> <xs:annotation> <xs:documentation>An example.</xs:documentation> </xs:annotation> <xs:complexType mixed="true"> <xs:choice minOccurs="0" maxOccurs="unbounded"> <xs:element ref="P"/> </xs:choice> <xs:attribute name="n" type="xs:string" use="required"> <xs:annotation> <xs:documentation>Example reference number.</xs:documentation> </xs:annotation> </xs:attribute> </xs:complexType> </xs:element> |
diagram | |||
children | EX | ||
used by |
|
||
annotation |
|
||
source | <xs:element name="EXAMPLES"> <xs:annotation> <xs:documentation>A set of examples.</xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element ref="EX" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> </xs:element> |
diagram | |||||||||||||||||||||||||||||||||||||||||||||
children | DESCRIPTION IND1 IND2 APPLYIF SUBFIELD PSUBFIELD VOCABULARY EXAMPLES RELATED NOTES | ||||||||||||||||||||||||||||||||||||||||||||
used by |
|
||||||||||||||||||||||||||||||||||||||||||||
attributes |
|
||||||||||||||||||||||||||||||||||||||||||||
annotation |
|
||||||||||||||||||||||||||||||||||||||||||||
source | <xs:element name="FIELD"> <xs:annotation> <xs:documentation>A MARC field.</xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element ref="DESCRIPTION"/> <xs:element ref="IND1" minOccurs="0"/> <xs:element ref="IND2" minOccurs="0"/> <xs:element ref="APPLYIF" minOccurs="0" maxOccurs="unbounded"/> <xs:element ref="SUBFIELD" minOccurs="0" maxOccurs="unbounded"/> <xs:element ref="PSUBFIELD" minOccurs="0" maxOccurs="unbounded"/> <xs:element ref="VOCABULARY" minOccurs="0" maxOccurs="unbounded"/> <xs:element ref="EXAMPLES" minOccurs="0" maxOccurs="unbounded"/> <xs:element ref="RELATED" minOccurs="0" maxOccurs="unbounded"/> <xs:element ref="NOTES" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> <xs:attribute name="tag" type="xs:string" use="required"> <xs:annotation> <xs:documentation>The field tag.</xs:documentation> </xs:annotation> </xs:attribute> <xs:attribute name="name" type="xs:string" use="required"> <xs:annotation> <xs:documentation>The field name.</xs:documentation> </xs:annotation> </xs:attribute> <xs:attribute name="display-name" type="xs:string"/> <xs:attribute name="mandatory" use="required"> <xs:annotation> <xs:documentation>Is this field mandatory?</xs:documentation> </xs:annotation> <xs:simpleType> <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="y"/> <xs:enumeration value="n"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="repeatable" use="required"> <xs:annotation> <xs:documentation>Is this field repeatable?</xs:documentation> </xs:annotation> <xs:simpleType> <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="y"/> <xs:enumeration value="n"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:complexType> </xs:element> |
diagram | |||||||||||||||
children | DESCRIPTION OPTION SEEEX | ||||||||||||||
used by |
|
||||||||||||||
attributes |
|
||||||||||||||
annotation |
|
||||||||||||||
source | <xs:element name="IND1"> <xs:annotation> <xs:documentation>The first indicator of a field.</xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element ref="DESCRIPTION" minOccurs="0"/> <xs:element ref="OPTION" minOccurs="0" maxOccurs="unbounded"/> <xs:element ref="SEEEX" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> <xs:attribute name="name" type="xs:string"> <xs:annotation> <xs:documentation>The indicator name.</xs:documentation> </xs:annotation> </xs:attribute> </xs:complexType> </xs:element> |
diagram | |||||||||||||||
children | DESCRIPTION OPTION SEEEX | ||||||||||||||
used by |
|
||||||||||||||
attributes |
|
||||||||||||||
annotation |
|
||||||||||||||
source | <xs:element name="IND2"> <xs:annotation> <xs:documentation>The second indicator of a field.</xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element ref="DESCRIPTION" minOccurs="0"/> <xs:element ref="OPTION" minOccurs="0" maxOccurs="unbounded"/> <xs:element ref="SEEEX" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> <xs:attribute name="name" type="xs:string"> <xs:annotation> <xs:documentation>The indicator name.</xs:documentation> </xs:annotation> </xs:attribute> </xs:complexType> </xs:element> |
diagram | |||||||||||||||||||||||||||||||
children | DESCRIPTION SEEEX | ||||||||||||||||||||||||||||||
used by |
|
||||||||||||||||||||||||||||||
attributes |
|
||||||||||||||||||||||||||||||
annotation |
|
||||||||||||||||||||||||||||||
source | <xs:element name="ITEM"> <xs:annotation> <xs:documentation>A valid value to be used in a MARC record (in fields or subfields).</xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element ref="DESCRIPTION"/> <xs:element ref="SEEEX" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> <xs:attribute name="code" type="xs:string" use="required"> <xs:annotation> <xs:documentation>The coded value.</xs:documentation> </xs:annotation> </xs:attribute> <xs:attribute name="name" type="xs:string" use="required"> <xs:annotation> <xs:documentation>The item name.</xs:documentation> </xs:annotation> </xs:attribute> <xs:attribute name="type"> <xs:annotation> <xs:documentation>The item type. It can have three types: normal, range and separator. Normal type applies to standard discreet codes (a, b, c, ...); range type is used to describe intervals (1-9, 000-999, ...); separator items can be used to add clarity to code lists, such as popups (and most probably will be discarded).</xs:documentation> </xs:annotation> <xs:simpleType> <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="separator"/> <xs:enumeration value="normal"/> <xs:enumeration value="range"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:complexType> </xs:element> |
diagram | |||
children | FIELD | ||
annotation |
|
||
source | <xs:element name="MARCDOC"> <xs:annotation> <xs:documentation>The manual document.</xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element ref="FIELD" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> </xs:element> |
diagram | |||
children | P SEEEX TABLE | ||
used by |
|
||
annotation |
|
||
source | <xs:element name="NOTES"> <xs:annotation> <xs:documentation>Used to add aditional information about an element.</xs:documentation> </xs:annotation> <xs:complexType mixed="true"> <xs:choice minOccurs="0" maxOccurs="unbounded"> <xs:element ref="P"/> <xs:element ref="SEEEX"/> <xs:element ref="TABLE"/> </xs:choice> </xs:complexType> </xs:element> |
diagram | |||||||||||||||||||||||||||||||
children | DESCRIPTION SEEEX | ||||||||||||||||||||||||||||||
used by |
|
||||||||||||||||||||||||||||||
attributes |
|
||||||||||||||||||||||||||||||
annotation |
|
||||||||||||||||||||||||||||||
source | <xs:element name="OPTION"> <xs:annotation> <xs:documentation>An acceptable indicator value.</xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element ref="DESCRIPTION" minOccurs="0"/> <xs:element ref="SEEEX" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> <xs:attribute name="value" type="xs:string"> <xs:annotation> <xs:documentation>The option value.</xs:documentation> </xs:annotation> </xs:attribute> <xs:attribute name="name" type="xs:string"> <xs:annotation> <xs:documentation>The option name.</xs:documentation> </xs:annotation> </xs:attribute> <xs:attribute name="type"> <xs:annotation> <xs:documentation>See ITEM type documentation.</xs:documentation> </xs:annotation> <xs:simpleType> <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="normal"/> <xs:enumeration value="range"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:complexType> </xs:element> |
diagram | |||
type | xs:string | ||
used by |
|
||
annotation |
|
||
source | <xs:element name="P" type="xs:string"> <xs:annotation> <xs:documentation>Documentation text.</xs:documentation> </xs:annotation> </xs:element> |
diagram | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
children | DESCRIPTION VOCABULARY EXAMPLES RELATED SEEEX | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
used by |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
attributes |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
annotation |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
source | <xs:element name="PSUBFIELD"> <xs:annotation> <xs:documentation>A positional subfield or sub-subfield.</xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element ref="DESCRIPTION"/> <xs:element ref="VOCABULARY" minOccurs="0" maxOccurs="unbounded"/> <xs:element ref="EXAMPLES" minOccurs="0" maxOccurs="unbounded"/> <xs:element ref="RELATED" minOccurs="0" maxOccurs="unbounded"/> <xs:element ref="SEEEX" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> <xs:attribute name="n" type="xs:string" use="required"> <xs:annotation> <xs:documentation>The sequence number.</xs:documentation> </xs:annotation> </xs:attribute> <xs:attribute name="name" type="xs:string" use="required"> <xs:annotation> <xs:documentation>The subfield name, for display purposes.</xs:documentation> </xs:annotation> </xs:attribute> <xs:attribute name="display-name" type="xs:string"/> <xs:attribute name="start" type="xs:string" use="required"> <xs:annotation> <xs:documentation>The start position (zero-based).</xs:documentation> </xs:annotation> </xs:attribute> <xs:attribute name="mandatory" use="required"> <xs:annotation> <xs:documentation>Is it mandatory?</xs:documentation> </xs:annotation> <xs:simpleType> <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="y"/> <xs:enumeration value="n"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="repetitions" type="xs:string"> <xs:annotation> <xs:documentation>Number of times it will be repeated.</xs:documentation> </xs:annotation> </xs:attribute> <xs:attribute name="end" type="xs:string" use="required"> <xs:annotation> <xs:documentation>The end position (zero-based).</xs:documentation> </xs:annotation> </xs:attribute> </xs:complexType> </xs:element> |
diagram | |||||||||||||||||||||||
children | DESCRIPTION | ||||||||||||||||||||||
used by |
|
||||||||||||||||||||||
attributes |
|
||||||||||||||||||||||
annotation |
|
||||||||||||||||||||||
source | <xs:element name="RELATED"> <xs:annotation> <xs:documentation>Contains information about related fields or positional fields.</xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element ref="DESCRIPTION"/> </xs:sequence> <xs:attribute name="tag" type="xs:string" use="required"> <xs:annotation> <xs:documentation>The related field tag.</xs:documentation> </xs:annotation> </xs:attribute> <xs:attribute name="name" type="xs:string" use="required"> <xs:annotation> <xs:documentation>The related field name.</xs:documentation> </xs:annotation> </xs:attribute> </xs:complexType> </xs:element> |
diagram | |||||||||||||||
used by |
|
||||||||||||||
attributes |
|
||||||||||||||
annotation |
|
||||||||||||||
source | <xs:element name="SEEEX"> <xs:annotation> <xs:documentation>Indicates an example of the current element.</xs:documentation> </xs:annotation> <xs:complexType> <xs:attribute name="N" type="xs:string" use="required"> <xs:annotation> <xs:documentation>The number of the referenced example.</xs:documentation> </xs:annotation> </xs:attribute> </xs:complexType> </xs:element> |
diagram | |||||||||||||||||||||||||||||||||||||||||||||
children | DESCRIPTION PSUBFIELD SEEEX VOCABULARY | ||||||||||||||||||||||||||||||||||||||||||||
used by |
|
||||||||||||||||||||||||||||||||||||||||||||
attributes |
|
||||||||||||||||||||||||||||||||||||||||||||
annotation |
|
||||||||||||||||||||||||||||||||||||||||||||
source | <xs:element name="SUBFIELD"> <xs:annotation> <xs:documentation>A MARC subfield.</xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element ref="DESCRIPTION"/> <xs:element ref="PSUBFIELD" minOccurs="0" maxOccurs="unbounded"/> <xs:element ref="SEEEX" minOccurs="0" maxOccurs="unbounded"/> <xs:element ref="VOCABULARY" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> <xs:attribute name="tag" type="xs:string" use="required"> <xs:annotation> <xs:documentation>The subfield code.</xs:documentation> </xs:annotation> </xs:attribute> <xs:attribute name="name" type="xs:string" use="required"> <xs:annotation> <xs:documentation>The subfield name, for display-purposes.</xs:documentation> </xs:annotation> </xs:attribute> <xs:attribute name="display-name" type="xs:string"/> <xs:attribute name="mandatory" use="required"> <xs:annotation> <xs:documentation>Is the subfield mandatory?</xs:documentation> </xs:annotation> <xs:simpleType> <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="y"/> <xs:enumeration value="n"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="repeatable" use="required"> <xs:annotation> <xs:documentation>Is the subfield repeatable?</xs:documentation> </xs:annotation> <xs:simpleType> <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="y"/> <xs:enumeration value="n"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:complexType> </xs:element> |
diagram | |||||||||||||||||||||||||
children | TR | ||||||||||||||||||||||||
used by |
|
||||||||||||||||||||||||
attributes |
|
||||||||||||||||||||||||
annotation |
|
||||||||||||||||||||||||
source | <xs:element name="TABLE"> <xs:annotation> <xs:documentation>Information laid down in tabular form (this is a simple subset of HTML tables).</xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element ref="TR" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> <xs:attribute name="CELLPADDING" type="xs:string"/> <xs:attribute name="CELLSPACING" type="xs:string"/> <xs:attribute name="BORDER" type="xs:string"/> </xs:complexType> </xs:element> |
diagram | |||||||||||||||||||
children | P | ||||||||||||||||||
used by |
|
||||||||||||||||||
attributes |
|
||||||||||||||||||
source | <xs:element name="TD"> <xs:complexType mixed="true"> <xs:choice minOccurs="0" maxOccurs="unbounded"> <xs:element ref="P"/> </xs:choice> <xs:attribute name="WIDTH" type="xs:string"/> <xs:attribute name="VALIGN" type="xs:string"/> </xs:complexType> </xs:element> |
diagram | |||
children | TD | ||
used by |
|
||
source | <xs:element name="TR"> <xs:complexType> <xs:sequence> <xs:element ref="TD" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> </xs:element> |
diagram | |||||||||||||||||||||||||||||||
children | ITEM | ||||||||||||||||||||||||||||||
used by |
|
||||||||||||||||||||||||||||||
attributes |
|
||||||||||||||||||||||||||||||
annotation |
|
||||||||||||||||||||||||||||||
source | <xs:element name="VOCABULARY"> <xs:annotation> <xs:documentation>A set of acceptable coded values.</xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element ref="ITEM" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> <xs:attribute name="type" use="required"> <xs:annotation> <xs:documentation>If local, the vocabulary is composed of the following items; otherwise, it's an external vocabulary document stored at the location pointed by src attribute (probably maintained by external agencies).</xs:documentation> </xs:annotation> <xs:simpleType> <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="local"/> <xs:enumeration value="system"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="name" type="xs:string" use="required"> <xs:annotation> <xs:documentation>The vocabulary name.</xs:documentation> </xs:annotation> </xs:attribute> <xs:attribute name="src" type="xs:string"> <xs:annotation> <xs:documentation>The system vocabulary locator.</xs:documentation> </xs:annotation> </xs:attribute> </xs:complexType> </xs:element> |