File: opendb-items_1.1.dtd

package info (click to toggle)
opendb 0.81p18-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 4,716 kB
  • ctags: 6,787
  • sloc: php: 50,213; sql: 3,098; sh: 272; makefile: 54; xml: 48
file content (34 lines) | stat: -rw-r--r-- 879 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!--
	Document Type Description for OpenDb 0.80-dev12+ XML export format.
	
	All OpenDb Item XML must include a DOCTYPE
	of the following form:
		<!DOCTYPE opendb-items 
			PUBLIC "-//Open Media Lending Database//DTD OpenDb Item Export 1.1//EN" 
			"http://opendb.i-am-vegan.net/dtd/opendb-items_1.1.dtd"
		>
-->

<!ELEMENT opendb-items (item)*>
<!ATTLIST opendb-items
	version		CDATA	#REQUIRED>
	
<!ELEMENT item (instance|attribute|item)*>
<!ATTLIST item
	item_id			CDATA	#IMPLIED
	s_item_type		CDATA	#REQUIRED
	title			CDATA	#REQUIRED
	category		CDATA	#REQUIRED>

<!ELEMENT instance EMPTY>
<!ATTLIST instance
	instance_no		CDATA	#IMPLIED
	owner_id		CDATA	#REQUIRED
	borrow_duration	CDATA	#REQUIRED
	s_status_type	CDATA	#REQUIRED
	status_comment	CDATA	#IMPLIED>
	
<!ELEMENT attribute (#PCDATA)>
<!ATTLIST attribute
	s_attribute_type	CDATA	#REQUIRED
	order_no			CDATA	#REQUIRED>