1 |
<!-- The Document Type Definition for Output of the Command `estcmd' --> |
2 |
|
3 |
|
4 |
<!-- root element --> |
5 |
<!ELEMENT estresult (meta?,document*)> |
6 |
<!-- meta: meta information --> |
7 |
<!-- document: a document --> |
8 |
<!ATTLIST estresult |
9 |
version NMTOKEN #REQUIRED> |
10 |
<!-- @version: version number of Hyper Estraier --> |
11 |
|
12 |
|
13 |
<!-- element for meta information --> |
14 |
<!ELEMENT meta (node?,hit+,time?,total,link+)> |
15 |
<!-- node: information of the node server --> |
16 |
<!-- hit: a hint of a word in the phrase --> |
17 |
<!-- time: elapsed time for search --> |
18 |
<!-- total: information of the index --> |
19 |
<!-- link: information of a link --> |
20 |
|
21 |
|
22 |
<!-- element for information of the node server --> |
23 |
<!ELEMENT node EMPTY> |
24 |
<!ATTLIST node |
25 |
url CDATA #REQUIRED> |
26 |
<!-- @url: the URL of the server --> |
27 |
|
28 |
|
29 |
<!-- element for a hint of a word in the phrase --> |
30 |
<!ELEMENT hit EMPTY> |
31 |
<!ATTLIST hit |
32 |
key CDATA #IMPLIED |
33 |
number NMTOKEN #REQUIRED> |
34 |
<!-- @key: the normalized string --> |
35 |
<!-- @number: the number of corresponding documents --> |
36 |
|
37 |
|
38 |
<!-- element for elapsed time for search --> |
39 |
<!ELEMENT time EMPTY> |
40 |
<!ATTLIST time |
41 |
time NMTOKEN #REQUIRED> |
42 |
<!-- @time: elapsed time in seconds --> |
43 |
|
44 |
|
45 |
<!-- element for information of the index --> |
46 |
<!ELEMENT total EMPTY> |
47 |
<!ATTLIST total |
48 |
documents NMTOKEN #REQUIRED |
49 |
words NMTOKEN #REQUIRED> |
50 |
<!-- @documents: the number of documents --> |
51 |
<!-- @words: the number of unique words --> |
52 |
|
53 |
|
54 |
<!-- element for information of a link --> |
55 |
<!ELEMENT link EMPTY> |
56 |
<!ATTLIST link |
57 |
url CDATA #REQUIRED |
58 |
label CDATA #REQUIRED |
59 |
credit NMTOKEN #REQUIRED |
60 |
docnum NMTOKEN #REQUIRED |
61 |
wordnum NMTOKEN #REQUIRED |
62 |
size NMTOKEN #REQUIRED |
63 |
hit CDATA #REQUIRED> |
64 |
<!-- @url: URL --> |
65 |
<!-- @label: label --> |
66 |
<!-- @credit: credit --> |
67 |
<!-- @docnum: number of documents --> |
68 |
<!-- @wordnum: number of words --> |
69 |
<!-- @size: size of the database --> |
70 |
<!-- @hit: number of hits --> |
71 |
|
72 |
|
73 |
<!-- element for a document --> |
74 |
<!ELEMENT document (attribute*,vector?,snippet?)> |
75 |
<!-- attribute: an attribute --> |
76 |
<!-- vector: the keyword vector --> |
77 |
<!-- text: the body text --> |
78 |
<!ATTLIST document |
79 |
id NMTOKEN #REQUIRED |
80 |
uri CDATA #REQUIRED> |
81 |
<!-- @id: the ID number --> |
82 |
<!-- @uri: the URI --> |
83 |
|
84 |
|
85 |
<!-- element for an attribute --> |
86 |
<!ELEMENT attribute EMPTY> |
87 |
<!ATTLIST attribute |
88 |
name CDATA #REQUIRED |
89 |
value CDATA #REQUIRED> |
90 |
<!-- @name: the name --> |
91 |
<!-- @value: the value --> |
92 |
|
93 |
|
94 |
<!-- element for the keyword vector --> |
95 |
<!ELEMENT vector (element)*> |
96 |
<!-- element: an element --> |
97 |
|
98 |
|
99 |
<!-- element for the keyword vector --> |
100 |
<!ELEMENT element EMPTY> |
101 |
<!ATTLIST element |
102 |
key CDATA #REQUIRED |
103 |
number NMTOKEN #REQUIRED> |
104 |
<!-- @key: the normalized string --> |
105 |
<!-- @number: the number of corresponding documents --> |
106 |
|
107 |
|
108 |
<!-- element for the snippet --> |
109 |
<!ELEMENT snippet (#PCDATA|key|delimiter)*> |
110 |
<!-- #PCDATA: an arbitarary string --> |
111 |
<!-- key: a keyword string --> |
112 |
<!-- delimiter: a delimiter --> |
113 |
|
114 |
|
115 |
<!-- element for a keyword string --> |
116 |
<!ELEMENT key (#PCDATA)> |
117 |
<!-- #PCDATA: an arbitarary string --> |
118 |
<!ATTLIST key |
119 |
normal CDATA #REQUIRED> |
120 |
<!-- @normal: the normalized string --> |
121 |
|
122 |
|
123 |
<!-- element for a delimiter --> |
124 |
<!ELEMENT delimiter EMPTY> |
125 |
|
126 |
|
127 |
|
128 |
<!-- END OF FILE --> |