The Records DTD
The elements in the records DTD describe a record in the Innovative system.
NOTE
The output from the XML Server is a combination of WebPAC page data and record data. WebPAC page output is defined by the heading DTD.
The records DTD is as follows:
<!ELEMENT IIIRECORD (NULLRECORD | (RECORDINFO, TYPEINFO, PUBDEFTAGS, VARFLDPRIMARYALTERNATEPAIR*, LINKFIELD*, HASCOPIESORVOLS?, BIBCOPIESAVAILABLE?, ITEMISAVAILABLE?, ITEMPASSEDREQUESTRL?, PUBDEFCALLNUMBER?, ITEMSTATUS?, ITEMIMESSAGETEXT?, ITEMLOCATION?, CHECKINHOLDINGS?, ORDERSTATUS? ) ) > <!ELEMENT NULLRECORD (MESSAGE)* > <!ELEMENT MESSAGE (#PCDATA) > <!ELEMENT PUBDEFTAGS (#PCDATA) > <!ELEMENT VARFLDPRIMARYALTERNATEPAIR (VARFLD)+> <!ELEMENT HASCOPIESORVOLS (#PCDATA) > <!ELEMENT BIBCOPIESAVAILABLE (BIBCOPIESFORMATTED, NBRCOPIES, NBRLOCATIONS, LOCATIONNAMES) > <!ELEMENT BIBCOPIESFORMATTED (#PCDATA) > <!ELEMENT NBRCOPIES (#PCDATA) > <!ELEMENT NBRLOCATIONS (#PCDATA) > <!ELEMENT LOCATIONNAMES (#PCDATA) > <!ELEMENT RECORDINFO ( RECORDKEY, CREATEDATE, LASTUPDATEDATE, REVISIONS, PREVUPDATEDATE ) > <!ELEMENT RECORDKEY (#PCDATA) > <!ELEMENT CREATEDATE (#PCDATA) > <!ELEMENT LASTUPDATEDATE (#PCDATA) > <!ELEMENT PREVUPDATEDATE (#PCDATA) > <!ELEMENT REVISIONS (#PCDATA) > <!ELEMENT TYPEINFO ( BIBLIOGRAPHIC | ORDER | CHECKIN | AUTHORITY | ITEM | COURSE | PATRON | INVOICE | VENDOR ) > <!ELEMENT BIBLIOGRAPHIC (FIXFLD)+> <!ELEMENT ORDER (FIXFLD)+> <!ELEMENT CHECKIN (FIXFLD)+> <!ELEMENT AUTHORITY (FIXFLD)+> <!ELEMENT ITEM (FIXFLD)+> <!ELEMENT COURSE (FIXFLD)+> <!ELEMENT PATRON (FIXFLD)+> <!ELEMENT INVOICE (FIXFLD)+> <!ELEMENT VENDOR (FIXFLD)+> <!ELEMENT FIXFLD (FIXLABEL, FIXNUMBER, FIXVALUE) > <!ELEMENT FIXLABEL (#PCDATA) > <!ELEMENT FIXNUMBER (#PCDATA) > <!ELEMENT FIXVALUE (#PCDATA) > <!ELEMENT ITEMLOCATION (#PCDATA) > <!ELEMENT ITEMSTATUS (#PCDATA) > <!ELEMENT ITEMIMESSAGETEXT (#PCDATA) > <!ELEMENT ITEMISAVAILABLE (#PCDATA) > <!ELEMENT ITEMPASSEDREQUESTRL (#PCDATA) > <!ELEMENT CHECKINCOPIES (#PCDATA) > <!ELEMENT CHECKINHOLDINGS (CHECKINHOLDINGSLINE*) > <!ELEMENT CHECKINHOLDINGSLINE (#PCDATA) > <!ELEMENT ORDERSTATUS (#PCDATA) > <!ELEMENT PUBDEFCALLNUMBER (#PCDATA) > <!ENTITY % wxvarfld SYSTEM "/dtd/wxvarfld.dtd" > %wxvarfld; <!ELEMENT LINKFIELD (LinkType, LinkCount, (Link)* ) > <!ELEMENT LinkType (#PCDATA) > <!ELEMENT LinkCount (#PCDATA) > <!ELEMENT Link (SequenceNumber, RecordId, IIIRECORD? ) > <!ELEMENT SequenceNumber (#PCDATA) > <!ELEMENT RecordId (RecordKey, (Campus)? ) > <!ELEMENT RecordKey (#PCDATA) > <!ELEMENT Campus (#PCDATA) >
Explanation of the Records DTD Elements
Element | Explanation | Attributes | Required |
---|---|---|---|
IIIRECORD | This element is comprised of either
|
None. | Yes. |
NULLRECORD | This element is comprised of one or more MESSAGE elements. | None. | NULLRECORD is required if all other possible elements of IIIRECORD are absent. |
MESSAGE | This element is character data. It is typically used to display a message when a null record is returned. | None. | Yes. |
RECORDINFO | This element is comprised of RECORDKEY, CREATEDATE, LASTUPDATEDATE, REVISIONS, and PREVUPDATEDATE elements. | None. | Yes, if NULLRECORD is absent. |
TYPEINFO | This element is composed of one of the following elements: BIBLIOGRAPHIC, ORDER, CHECKIN, AUTHORITY, ITEM, COURSE, PATRON, INVOICE, or VENDOR. | None. | Yes, if NULLRECORD is absent. |
PUBDEFTAGS | This element is character data. It is typically used to indicate the order that fields display in the WebPAC. | None. | Yes, if NULLRECORD is absent. |
VARFLDPRIMARYALTERNATEPAIR | This element is comprised of VARFLD elements. The VARFLDPRIMARYALTERNATEPAIR element typically indicates a variable-length field and its matching MARC 880 variable-length field. | None. | Yes, if NULLRECORD is absent. |
LINKFIELD | This element is comprised of LinkType, LinkCount, and zero or more Link elements. This element is typically used to indicate links to bibliographic records. It is repeated for each record type that has links to bibliographic records. The details of each link are described in the repeatable elements that comprise this element. | None. | Yes, if NULLRECORD is absent. |
HASCOPIESORVOLS | This element is character data. It is typically used to indicate whether the record has copies or volumes. | None. | No. |
BIBCOPIESAVAILABLE | This element is comprised of BIBCOPIESFORMATTED, NBRCOPIES, NBRLOCATIONS, and LOCATIONNAMES elements. It is typically used to indicate that the bibliographic record meets the definition of available (not held, checked out, etc.) | None. | No. |
ITEMISAVAILABLE | This element is character data. It is typically used to indicate that the item record meets the definition of available (not held, checked out, etc.) | None. | No. |
ITEMPASSEDREQUESTRL | This element is character data. It is typically used to indicate whether the item can be requested. | None. | No. |
PUBDEFCALLNUMBER | This element is character data. It is typically used to indicate which record type stores the call number that is displayed in the WebPAC. | None. | No. |
ITEMSTATUS | This element is character data. It is typically used to indicate the item status. | None. | No. |
ITEMIMESSAGETEXT | This element is character data. It is typically used to indicate the item record message. | None. | No. |
ITEMLOCATION | This element is character data. It is typically used to indicate the item location. | None. | No. |
CHECKINHOLDINGS | This element is comprised of one or more CHECKINHOLDINGSLINE elements. | None. | No. |
CHECKINHOLDINGSLINE | This element is character data. It is typically used to indicate the holdings statement. | None. | No. |
ORDERSTATUS | This element is character data. It is typically used to indicate order status. | None. | No. |
BIBCOPIESFORMATTED | This element is character data. It is typically used to indicate the format for displaying in the WebPAC information about copies. | None. | Yes. |
NBRCOPIES | This element is character data. It is typically used to indicate the number of copies attached to a bibliographic record. | None. | Yes. |
NBRLOCATIONS | This element is character data. It is typically used to indicate the number of locations in copies attached to a bibliographic record. | None. | Yes. |
LOCATIONNAMES | This element is character data. It is typically used to indicate the location names in copies attached to a bibliographic record. | None. | Yes. |
RECORDKEY | This element is character data. It is typically used to indicate the record number. | None. | Yes. |
CREATEDATE | This element is character data. It is typically used to indicate the record's date of creation. | None. | Yes. |
LASTUPDATEDATE | This element is character data. It is typically used to indicate the date that the record was last updated. | None. | Yes. |
REVISIONS | This element is character data. It is typically used to indicate the number of revisions to the record. | None. | Yes. |
PREVUPDATEDATE | This element is character data. It is typically used to indicate the date of the penultimate update. | None. | Yes. |
BIBLIOGRAPHIC | This element is comprised of one or more FIXFLD elements. | None. | Yes. |
ORDER | This element is comprised of one or more FIXFLD elements. | None. | Yes. |
CHECKIN | This element is comprised of one or more FIXFLD elements. | None. | Yes. |
AUTHORITY | This element is comprised of one or more FIXFLD elements. | None. | Yes. |
ITEM | This element is comprised of one or more FIXFLD elements. | None. | Yes. |
COURSE | This element is comprised of one or more FIXFLD elements. | None. | Yes. |
PATRON | This element is comprised of one or more FIXFLD elements. | None. | Yes. |
INVOICE | This element is comprised of one or more FIXFLD elements. | None. | Yes. |
VENDOR | This element is comprised of one or more FIXFLD elements. | None. | Yes. |
FIXFLD | This element is comprised of FIXLABEL, FIXNUMBER, and FIXVALUE elements. | None. | Yes. |
FIXLABEL | This element is character data. It is typically used to indicate the label or name given to a fixed-length field. | None. | Yes. |
FIXNUMBER | This element is character data. It is typically used to indicate the number given to a fixed-length field. | None. | Yes. |
FIXVALUE | This element is character data. It is typically used to indicate the value of a fixed-length field. | None. | Yes. |
wxvarfld | This entity is defined by the wxvarfld (Variable-Length Field) DTD. | None. | Yes. |
LinkType | This element is character data. It is typically used to indicate the linked record's type. | None. | Yes. |
LinkCount | This element is character data. It is typically used to indicate number of links. | None. | Yes. |
Link | This element is comprised of SequenceNumber, RecordId, and IIIRECORD. | None. | Yes. |
SequenceNumber | This element is character data. It is typically used to hold a number indicating the link's place in a sequential numbering of links. | None. | Yes. |
RecordId | This element is comprised of RecordKey and Campus. | None. | Yes. |
RecordKey | This element is character data. It is typically used to indicate a record number. | None. | Yes. |
Campus | This element is character data. It is typically used to indicate the campus. | None. | Yes. |
Variable-Length Field DTD
The DTD for a variable-length field is as follows:
<!-- DTD for Innovative Variable Length field --> <!ELEMENT VARFLD (HEADER, DisplayForm?, RTL?, ((MARCINFO, (MARCFIXDATA | (MARCSUBFLD)+)) | FIELDDATA)) > <!ELEMENT HEADER (TAG, NAME, LABEL, SEQUENCENUM) > <!ELEMENT TAG (#PCDATA) > <!ELEMENT NAME (#PCDATA) > <!ELEMENT LABEL (#PCDATA) > <!ELEMENT SEQUENCENUM (#PCDATA) > <!ELEMENT DisplayForm (#PCDATA) > <!ELEMENT RTL (#PCDATA) > <!ELEMENT MARCINFO (MARCTAG,INDICATOR1,INDICATOR2) > <!ELEMENT MARCTAG (#PCDATA) > <!ELEMENT INDICATOR1 (#PCDATA) > <!ELEMENT INDICATOR2 (#PCDATA) > <!ELEMENT MARCFIXDATA (#PCDATA) > <!ELEMENT MARCSUBFLD (SUBFIELDINDICATOR,SUBFIELDDATA) > <!ELEMENT SUBFIELDINDICATOR (#PCDATA) > <!ELEMENT SUBFIELDDATA (#PCDATA) > <!ELEMENT FIELDDATA (#PCDATA) >
Explanation of the Variable-Length Field DTD Elements
Element | Explanation | Attributes | Required |
---|---|---|---|
VARFLD | This element is comprised of HEADER, DisplayForm, RTL, MARCINFO, and either MARCFIXDATA, MARCSUBFLD, or FIELDDATA elements. | None. | Yes. |
HEADER | This element is comprised of TAG, NAME, LABEL, SEQUENCENUM elements. | None. | Yes. |
DisplayForm | This element is character data. It is typically used to indicate the field formatted as it displays in the WebPAC. | None. | No. |
RTL | This element is character data. It is typically used to indicate that the language being used for display is read right-to-left. | None. | No. |
MARCINFO | This element is comprised of MARCTAG, INDICATOR1, and INDICATOR2 elements. | None. | Yes. |
MARCFIXDATA | This element is character data. It is typically used for a field's value. | None. | Yes. |
MARCSUBFLD | This element is comprised of SUBFIELDINDICATOR and SUBFIELDDATA elements. | None. | Yes. |
FIELDDATA | This element is character data. It is typically used for a field's value. | None. | Yes. |
TAG | This element is character data. It is typically used for a field's tag. | None. | Yes. |
NAME | This element is character data. It is typically used for a field's name. | None. | Yes. |
LABEL | This element is character data. It is typically used for a field's label. | None. | Yes. |
SEQUENCENUM | This element is character data. It is typically used to hold a number indicating the field's place in a sequential numbering of fields. | None. | Yes. |
MARCTAG | This element is character data. It is typically used for MARC tags. | None. | Yes. |
INDICATOR1 | This element is character data. It is typically used for MARC indicators. | None. | Yes. |
INDICATOR2 | This element is character data. It is typically used for MARC indicators. | None. | Yes. |
SUBFIELDINDICATOR | This element is character data. It is typically used for MARC subfield indicators. | None. | Yes. |
SUBFIELDDATA | This element is character data. It is typically used for the data in a MARC subfield. | None. | Yes. |