A
PPENDIX
A DTD
S FOR
XML D
ATA
S
TRUCTURES
R
EADER
I
NTERFACE
G
UIDE
D
OC
. C
ONTROL
# 8101938-000 R
EV
05
93
APPENDIX A
DTDs for XML Data Structures
The reader has the capability to generate three different types of XML-formatted
documents. This appendix gives a Document Type Definition (DTD) for each of
these XML documents.
Heartbeat DTD
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Alien-RFID-Reader-Heartbeat [
<!ELEMENT Alien-RFID-Reader-Heartbeat (ReaderName, ReaderType,
IPAddress, CommandPort, HeartbeatTime, MACAddress?)>
<!ELEMENT ReaderName (#PCDATA)>
<!ELEMENT ReaderType (#PCDATA)>
<!ELEMENT IPAddress (#PCDATA)>
<!ELEMENT CommandPort (#PCDATA)>
<!ELEMENT HeartbeatTime (#PCDATA)>
<!ELEMENT MACAddress (#PCDATA)>
]>
TagList DTD
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Alien-RFID-Tag_List [
<!ELEMENT Alien-RFID-Tag_List (Alien-RFID-Tag*)>
<!ELEMENT Alien-RFID-Tag (TagID, DiscoveryTime, LastSeenTime,
Antenna, ReadCount, Protocol?)>
<!ELEMENT TagID (#PCDATA)>
<!ELEMENT DiscoveryTime (#PCDATA)>
<!ELEMENT LastSeenTime (#PCDATA)>
<!ELEMENT Antenna (#PCDATA)>
<!ELEMENT ReadCount (#PCDATA)>
<!ELEMENT Protocol (#PCDATA)>
]>
Notification DTD
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Alien-RFID-Reader-Auto-Notification [
<!ELEMENT Alien-RFID-Reader-Auto-Notification (ReaderName, ReaderType,
IPAddress, CommandPort, Time, Reason, StartTriggerLines?,
StopTriggerLines?, Alien-RFID-Tag-List)>
<!ELEMENT ReaderName (#PCDATA)>
<!ELEMENT ReaderType (#PCDATA)>
<!ELEMENT IPAddress (#PCDATA)>
<!ELEMENT CommandPort (#PCDATA)>
<!ELEMENT Time (#PCDATA)>
<!ELEMENT Reason (#PCDATA)>
<!ELEMENT StartTriggerLines (#PCDATA)>
<!ELEMENT StopTriggerLines (#PCDATA)>
]>
Summary of Contents for ALR-8780
Page 8: ......