Electronic Packing Slip DTD Description

The Electronic Packing Slip (EPS) DTD is:

<!-- DTD for Electronic Packing Slip -->
<!-- VERSION 150.1
<!-- File eps.dtd -->

<!-- Root element of an Electronic Packing Slip -->
<!ELEMENT EPS (LOGIN?, SUPPLIER, SHIPMENT)>

<!ELEMENT LOGIN EMPTY>
<!ATTLIST LOGIN USERNAME CDATA #REQUIRED>
<!ATTLIST LOGIN PASSWORD CDATA #REQUIRED>

<!ELEMENT SUPPLIER (SAN, NAME)>
<!ELEMENT SAN (#PCDATA)>
<!ELEMENT NAME (#PCDATA)>

<!-- A shipment may contain a number of issues -->
<!ELEMENT SHIPMENT (EPS_ISSUE+)>
<!ATTLIST SHIPMENT DATE CDATA #REQUIRED>
<!ATTLIST SHIPMENT DATEFORMAT CDATA #REQUIRED>
<!ATTLIST SHIPMENT NUMBER CDATA #REQUIRED>

<!ELEMENT EPS_ISSUE (SICI, TRANSACTION, MEDIA, NUM_COPIES, COPY*)>
<!-- Serial Issue Control Identifier -->
<!ELEMENT SICI (#PCDATA)>
<!-- Transaction is default to CHECKIN -->
<!ELEMENT TRANSACTION EMPTY>
<!ATTLIST TRANSACTION TYPE (CHECKIN | WITHDRAW) "CHECKIN"#REQUIRED>

<!ELEMENT MEDIA (ELECTRONIC|PRINT)>
<!ELEMENT ELECTRONIC (LINK)>
<!ELEMENT PRINT (BARCODE*, LINK?)>
<!ELEMENT LINK (#PCDATA)>
<!ATTLIST LINK TYPE (CONTENTS|TOC|DOI|OPENURL) "CONTENTS">
<!ELEMENT BARCODE (#PCDATA)>
<!ATTLIST BARCODE COPY_NUM CDATA #IMPLIED>
<!-- Number of copies for this issue -->
<!ELEMENT NUM_COPIES (#PCDATA)>
<!--Optional list of copy ID's -->
<!ELEMENT COPY EMPTY>
<!ATTLIST COPY COPY_NUM CDATA #IMPLIED>
<!ATTLIST COPY COPY_ID CDATA #REQUIRED>

Explanation of the EPS DTD Elements

Element Explanation Attributes Required
LOGIN When present, the LOGIN element allows automated transmittal of Electronic Packing Slips. The login element does not contain any other elements. LOGIN attributes are USERNAME and PASSWORD, which are both character data and are both required. LOGIN is not a required element if Electronic Packing Slips are transferred using a browser, as the username and password are entered manually to access the page used for uploads.
LOGIN is a required element when Electronic Packing Slips are automatically transferred by software that establishes an http connection to the Checkin Server.
SUPPLIER The vendor SAN and vendor name comprise the supplier element. N/A Yes.
SAN The vendor Standard Address Number is character data. N/A Yes.
NAME The vendor name is character data. N/A Yes.
SHIPMENT The shipment element is composed of one or more EPS_ISSUE elements. SHIPMENT attributes are DATE, DATEFORMAT, and NUMBER, which are character data and are required. DATEFORMAT allows the format of the DATE attribute to be specified. Month (mm), day (dd), and year (yyyy or yy) may be in any order. Use dashes (-) or forward slashes (/) to separate them. The order of month, day, year and the separating punctuation must agree in the DATE and DATEFORMAT attributes. Yes.
EPS_ISSUE The EPS_ISSUE element is composed of SICI, TRANSACTION, MEDIA, and NUM_COPIES. N/A Yes. There must be one or more EPS_ISSUE elements.
SICI The SICI number for the serial. N/A Yes.
TRANSACTION The TRANSACTION is the action the system should take regarding the issue. The TRANSACTION element has a single attribute: TYPE. TYPE can be either "CHECKIN" or "WITHDRAW". The default is "CHECKIN". Yes.
MEDIA The MEDIA element is composed of the PRINT or ELECTRONIC elements, denoting serials published on paper or electronically. N/A Yes.
ELECTRONIC Serials published electronically. N/A Must choose either the ELECTRONIC or PRINT element.
PRINT Serials published on paper. N/A Must choose either the ELECTRONIC or PRINT element.
LINK The LINK element is character data. The LINK element has the following attributes: TYPE. TYPE can be "CONTENTS", "TOC", "DOI", or "OPENURL". "CONTENTS" is the default. Required for ELECTRONIC; optional for PRINT.
BARCODE BARCODE is character data. The BARCODE element has the attribute COPY_NUM. COPY_NUM is simply a number representing which of the sequentially numbered copies in the EPS the BARCODE applies to. For example, COPY_NUM="1" may be mentioned in the EPS as having a certain COPY_ID (<COPY COPY_NUM="1" COPY_ID="Main"/> and a certain barcode (<BARCODE COPY_NUM="1">
1223456
</BARCODE>)
No. There can be zero, one, or many barcodes. If one issue contains barcodes, all must. The number of barcodes must equal the NUM_COPIES for each EPS_ISSUE.
NUM_COPIES NUM_COPIES is character data. N/A Yes.
COPY If copies must be uniquely identified, use the COPY element to do so. The COPY element has the attributes COPY_NUM and COPY_ID. COPY_NUM is simply a number representing which of the sequentially numbered copies in the EPS the COPY_ID applies to. COPY_ID is the data that allows the library to uniquely identify the copy. For example, COPY_NUM="1" may be mentioned in the EPS as having a certain barcode (<BARCODE COPY_NUM="1">
1223456
</BARCODE>) and a certain COPY_ID (<COPY COPY_NUM="1" COPY_ID="Main"/>
If you have agreed with the library that you will use specific data to uniquely identify copies, you must include a COPY element in the EPS.
See also:
Serials E-Checkin Overview
Processing Electronic Packing Slips