| schema location: | //www.loc.gov/standards/marcxml/schema/MARC21slim.xsd |
| targetNamespace: | //www.loc.gov/MARC21/slim |
| schema location: | //www.loc.gov/standards/marcxml/schema/xml.xsd |
| targetNamespace: | http://www.w3.org/XML/1998/namespace |
| Attr. groups |
| xmlGlobalAttributes |
| diagram | ![]() |
||||||||||||
| namespace | //www.loc.gov/MARC21/slim | ||||||||||||
| type | collectionType | ||||||||||||
| children | record | ||||||||||||
| attributes |
|
||||||||||||
| annotation |
|
||||||||||||
| source | <xsd:element name="collection" type="collectionType" nillable="true" id="collection.e"> <xsd:annotation> <xsd:documentation>collection is a top level container element for 0 or many records</xsd:documentation> </xsd:annotation> </xsd:element> |
| diagram | ![]() |
||||||||||||||||||
| namespace | //www.loc.gov/MARC21/slim | ||||||||||||||||||
| type | recordType | ||||||||||||||||||
| children | leader controlfield datafield | ||||||||||||||||||
| used by |
|
||||||||||||||||||
| attributes |
|
||||||||||||||||||
| annotation |
|
||||||||||||||||||
| source | <xsd:element name="record" type="recordType" nillable="true" id="record.e"> <xsd:annotation> <xsd:documentation>record is a top level container element for all of the field elements which compose the record</xsd:documentation> </xsd:annotation> </xsd:element> |
| diagram | ![]() |
||||||||||||
| namespace | //www.loc.gov/MARC21/slim | ||||||||||||
| children | record | ||||||||||||
| used by |
|
||||||||||||
| attributes |
|
||||||||||||
| source | <xsd:complexType name="collectionType" id="collection.ct"> <xsd:sequence minOccurs="0" maxOccurs="unbounded"> <xsd:element ref="record"/> </xsd:sequence> <xsd:attribute name="id" type="idDataType" use="optional"/> </xsd:complexType> |
| diagram | |||||||||||||||||||||||||
| namespace | //www.loc.gov/MARC21/slim | ||||||||||||||||||||||||
| type | extension of controlDataType | ||||||||||||||||||||||||
| used by |
|
||||||||||||||||||||||||
| facets |
|
||||||||||||||||||||||||
| attributes |
|
||||||||||||||||||||||||
| annotation |
|
||||||||||||||||||||||||
| source | <xsd:complexType name="controlFieldType" id="controlfield.ct"> <xsd:annotation> <xsd:documentation>MARC21 Fields 001-009</xsd:documentation> </xsd:annotation> <xsd:simpleContent> <xsd:extension base="controlDataType"> <xsd:attribute name="id" type="idDataType" use="optional"/> <xsd:attribute name="tag" type="controltagDataType" use="required"/> <xsd:attribute ref="xml:space" fixed="preserve"/> </xsd:extension> </xsd:simpleContent> </xsd:complexType> |
| diagram | ![]() |
||||||||||||||||||||||||||||||
| namespace | //www.loc.gov/MARC21/slim | ||||||||||||||||||||||||||||||
| children | subfield | ||||||||||||||||||||||||||||||
| used by |
|
||||||||||||||||||||||||||||||
| attributes |
|
||||||||||||||||||||||||||||||
| annotation |
|
||||||||||||||||||||||||||||||
| source | <xsd:complexType name="dataFieldType" id="datafield.ct"> <xsd:annotation> <xsd:documentation>MARC21 Variable Data Fields 010-999</xsd:documentation> </xsd:annotation> <xsd:sequence maxOccurs="unbounded"> <xsd:element name="subfield" type="subfieldatafieldType"/> </xsd:sequence> <xsd:attribute name="id" type="idDataType" use="optional"/> <xsd:attribute name="tag" type="tagDataType" use="required"/> <xsd:attribute name="ind1" type="indicatorDataType" use="required"/> <xsd:attribute name="ind2" type="indicatorDataType" use="required"/> </xsd:complexType> |
| diagram | |||||||||||||||||||
| namespace | //www.loc.gov/MARC21/slim | ||||||||||||||||||
| type | subfieldatafieldType | ||||||||||||||||||
| facets |
|
||||||||||||||||||
| attributes |
|
||||||||||||||||||
| source | <xsd:element name="subfield" type="subfieldatafieldType"/> |
| diagram | |||||||||||||||||||
| namespace | //www.loc.gov/MARC21/slim | ||||||||||||||||||
| type | extension of leaderDataType | ||||||||||||||||||
| used by |
|
||||||||||||||||||
| facets |
|
||||||||||||||||||
| attributes |
|
||||||||||||||||||
| annotation |
|
||||||||||||||||||
| source | <xsd:complexType name="leaderFieldType" id="leader.ct"> <xsd:annotation> <xsd:documentation>MARC21 Leader, 24 bytes</xsd:documentation> </xsd:annotation> <xsd:simpleContent> <xsd:extension base="leaderDataType"> <xsd:attribute name="id" type="idDataType" use="optional"/> <xsd:attribute ref="xml:space" fixed="preserve"/> </xsd:extension> </xsd:simpleContent> </xsd:complexType> |
| diagram | ![]() |
||||||||||||||||||
| namespace | //www.loc.gov/MARC21/slim | ||||||||||||||||||
| children | leader controlfield datafield | ||||||||||||||||||
| used by |
|
||||||||||||||||||
| attributes |
|
||||||||||||||||||
| source | <xsd:complexType name="recordType" id="record.ct"> <xsd:sequence minOccurs="0"> <xsd:element name="leader" type="leaderFieldType"/> <xsd:element name="controlfield" type="controlFieldType" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="datafield" type="dataFieldType" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> <xsd:attribute name="type" type="recordTypeType" use="optional"/> <xsd:attribute name="id" type="idDataType" use="optional"/> </xsd:complexType> |
| diagram | |||||||||||||||||||
| namespace | //www.loc.gov/MARC21/slim | ||||||||||||||||||
| type | leaderFieldType | ||||||||||||||||||
| facets |
|
||||||||||||||||||
| attributes |
|
||||||||||||||||||
| source | <xsd:element name="leader" type="leaderFieldType"/> |
| diagram | |||||||||||||||||||||||||
| namespace | //www.loc.gov/MARC21/slim | ||||||||||||||||||||||||
| type | controlFieldType | ||||||||||||||||||||||||
| facets |
|
||||||||||||||||||||||||
| attributes |
|
||||||||||||||||||||||||
| source | <xsd:element name="controlfield" type="controlFieldType" minOccurs="0" maxOccurs="unbounded"/> |
| diagram | ![]() |
||||||||||||||||||||||||||||||
| namespace | //www.loc.gov/MARC21/slim | ||||||||||||||||||||||||||||||
| type | dataFieldType | ||||||||||||||||||||||||||||||
| children | subfield | ||||||||||||||||||||||||||||||
| attributes |
|
||||||||||||||||||||||||||||||
| source | <xsd:element name="datafield" type="dataFieldType" minOccurs="0" maxOccurs="unbounded"/> |
| diagram | |||||||||||||||||||
| namespace | //www.loc.gov/MARC21/slim | ||||||||||||||||||
| type | extension of subfieldDataType | ||||||||||||||||||
| used by |
|
||||||||||||||||||
| facets |
|
||||||||||||||||||
| attributes |
|
||||||||||||||||||
| source | <xsd:complexType name="subfieldatafieldType" id="subfield.ct"> <xsd:simpleContent> <xsd:extension base="subfieldDataType"> <xsd:attribute name="id" type="idDataType" use="optional"/> <xsd:attribute name="code" type="subfieldcodeDataType" use="required"/> </xsd:extension> </xsd:simpleContent> </xsd:complexType> |
| namespace | //www.loc.gov/MARC21/slim | ||
| type | restriction of xsd:string | ||
| used by |
|
||
| facets |
|
||
| source | <xsd:simpleType name="controlDataType" id="controlfield.st"> <xsd:restriction base="xsd:string"> <xsd:whiteSpace value="preserve"/> </xsd:restriction> </xsd:simpleType> |
| namespace | //www.loc.gov/MARC21/slim | ||||
| type | restriction of xsd:string | ||||
| used by |
|
||||
| facets |
|
||||
| source | <xsd:simpleType name="controltagDataType" id="controltag.st"> <xsd:restriction base="xsd:string"> <xsd:whiteSpace value="preserve"/> <xsd:pattern value="00[1-9A-Za-z]{1}"/> </xsd:restriction> </xsd:simpleType> |
| namespace | //www.loc.gov/MARC21/slim | ||
| type | xsd:ID | ||
| used by |
|
||
| source | <xsd:simpleType name="idDataType" id="id.st"> <xsd:restriction base="xsd:ID"/> </xsd:simpleType> |
| namespace | //www.loc.gov/MARC21/slim | ||||
| type | restriction of xsd:string | ||||
| used by |
|
||||
| facets |
|
||||
| source | <xsd:simpleType name="indicatorDataType" id="ind.st"> <xsd:restriction base="xsd:string"> <xsd:whiteSpace value="preserve"/> <xsd:pattern value="[\dA-Za-z ]{1}"/> </xsd:restriction> </xsd:simpleType> |
| namespace | //www.loc.gov/MARC21/slim | ||||
| type | restriction of xsd:string | ||||
| used by |
|
||||
| facets |
|
||||
| source | <xsd:simpleType name="leaderDataType" id="leader.st"> <xsd:restriction base="xsd:string"> <xsd:whiteSpace value="preserve"/> <xsd:pattern value="[\d ]{5}[\dA-Za-z ]{1}[\dA-Za-z]{1}[\dA-Za-z ]{3}(2| )(2| )[\d ]{5}[\dA-Za-z ]{3}(4500| )"/> </xsd:restriction> </xsd:simpleType> |
| namespace | //www.loc.gov/MARC21/slim | ||||||||||
| type | restriction of xsd:string | ||||||||||
| used by |
|
||||||||||
| facets |
|
||||||||||
| source | <xsd:simpleType name="recordTypeType" id="type.st"> <xsd:restriction base="xsd:string"> <xsd:enumeration value="Bibliographic"/> <xsd:enumeration value="Authority"/> <xsd:enumeration value="Holdings"/> <xsd:enumeration value="Classification"/> <xsd:enumeration value="Community"/> </xsd:restriction> </xsd:simpleType> |
| namespace | //www.loc.gov/MARC21/slim | ||||
| type | restriction of xsd:string | ||||
| used by |
|
||||
| facets |
|
||||
| source | <xsd:simpleType name="subfieldcodeDataType" id="code.st"> <xsd:restriction base="xsd:string"> <xsd:whiteSpace value="preserve"/> <xsd:pattern value="[\dA-Za-z!"#$%&'()*+,-./:;<=>?{}_^`~\[\]\\]{1}"/> </xsd:restriction> </xsd:simpleType> |
| namespace | //www.loc.gov/MARC21/slim | ||
| type | restriction of xsd:string | ||
| used by |
|
||
| facets |
|
||
| source | <xsd:simpleType name="subfieldDataType" id="subfield.st"> <xsd:restriction base="xsd:string"> <xsd:whiteSpace value="preserve"/> </xsd:restriction> </xsd:simpleType> |
| namespace | //www.loc.gov/MARC21/slim | ||||
| type | restriction of xsd:string | ||||
| used by |
|
||||
| facets |
|
||||
| source | <xsd:simpleType name="tagDataType" id="tag.st"> <xsd:restriction base="xsd:string"> <xsd:whiteSpace value="preserve"/> <xsd:pattern value="(0([1-9A-Z]|[1-9a-z]){1}[\dA-Z]{1})|(([1-9A-Z]|[1-9a-z]){1}([\dA-Z]|[\da-z]){2})"/> </xsd:restriction> </xsd:simpleType> |