aboutsummaryrefslogtreecommitdiffhomepage
path: root/data/doc/manuals_generated/sisu_manual/sisu_sqlite/sax.xml
blob: a8d3580f4092324b5cc282fb647989321b84169b (plain)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?xml-stylesheet type="text/css" href="../_sisu/css/sax.css"?>
<!-- Document processing information:
     * Generated by: SiSU 0.59.0 of 2007w38/0 (2007-09-23)
     * Ruby version: ruby 1.8.6 (2007-06-07 patchlevel 36) [i486-linux]
     * 
     * Last Generated on: Sun Sep 23 04:12:05 +0100 2007
     * SiSU http://www.jus.uio.no/sisu
-->

<document>
<head>
	<meta>Title:</meta>
	<title class="dc">
		SiSU - SiSU information Structuring Universe - Search [0.58]
	</title>
	<br />
	<meta>Creator:</meta>
	<creator class="dc">
		Ralph Amissah
	</creator>
	<br />
	<meta>Rights:</meta>
	<rights class="dc">
		Copyright (C) Ralph Amissah 2007, part of SiSU documentation, License GPL 3
	</rights>
	<br />
	<meta>Type:</meta>
	<type class="dc">
		information
	</type>
	<br />
	<meta>Subject:</meta>
	<subject class="dc">
		ebook, epublishing, electronic book, electronic publishing, electronic document, electronic citation, data structure, citation systems, search
	</subject>
	<br />
	<meta>Date created:</meta>
	<date_created class="extra">
		2002-08-28
	</date_created>
	<br />
	<meta>Date issued:</meta>
	<date_issued class="extra">
		2002-08-28
	</date_issued>
	<br />
	<meta>Date available:</meta>
	<date_available class="extra">
		2002-08-28
	</date_available>
	<br />
	<meta>Date modified:</meta>
	<date_modified class="extra">
		2007-09-16
	</date_modified>
	<br />
	<meta>Date:</meta>
	<date class="dc">
		2007-09-16
	</date>
	<br />
</head>
<body>
<object id="1">
	<ocn>1</ocn>
	<text class="h1">
		SiSU - SiSU information Structuring Universe - Search [0.58],<br />
Ralph Amissah
	</text>
</object>
<object id="2">
	<ocn>2</ocn>
	<text class="h2">
		SiSU Search
	</text>
</object>
<object id="3">
	<ocn>3</ocn>
	<text class="h3">
		SiSU Sqlite
	</text>
</object>
<object id="4">
	<ocn>4</ocn>
	<text class="h4">
		1. Sqlite 
	</text>
</object>
<object id="5">
	<ocn>5</ocn>
	<text class="h5">
		1.1 Name
	</text>
</object>
<object id="6">
	<ocn>6</ocn>
	<text class="norm">
		<b>SiSU</b> - Structured information, Serialized Units - a document
publishing system.
	</text>
</object>
<object id="7">
	<ocn>7</ocn>
	<text class="h5">
		1.2 Description
	</text>
</object>
<object id="8">
	<ocn>8</ocn>
	<text class="norm">
		Information related to using sqlite with sisu (and related to the
sisu_sqlite dependency package, which is a dummy package to install
dependencies needed for <b>SiSU</b> to populate an sqlite database,
this being part of <b>SiSU</b> - man sisu).
	</text>
</object>
<object id="9">
	<ocn>9</ocn>
	<text class="h5">
		1.3 Synopsis
	</text>
</object>
<object id="10">
	<ocn>10</ocn>
	<text class="indent1">
		 sisu -d [instruction] [filename/wildcard if required]
	</text>
</object>
<object id="11">
	<ocn>11</ocn>
	<text class="indent1">
		 sisu -d --(sqlite|pg) --[instruction] [filename/wildcard if
required]
	</text>
</object>
<object id="12">
	<ocn>12</ocn>
	<text class="h5">
		1.4 Commands
	</text>
</object>
<object id="13">
	<ocn>13</ocn>
	<text class="norm">
		Mappings to two databases are provided by default, postgresql and
sqlite, the same commands are used within sisu to construct and
populate databases however -d (lowercase) denotes sqlite and -D
(uppercase) denotes postgresql, alternatively --sqlite or --pgsql may
be used
	</text>
</object>
<object id="14">
	<ocn>14</ocn>
	<text class="norm">
		<b>-d or --sqlite</b> may be used interchangeably.
	</text>
</object>
<object id="15">
	<ocn>15</ocn>
	<text class="h6">
		1.4.1 create and destroy database
	</text>
</object>
<object id="16">
	<ocn>16</ocn>
	<text class="norm">
		<b>--sqlite --createall</b><br /> initial step, creates required
relations (tables, indexes) in existing (sqlite) database (a database
should be created manually and given the same name as working
directory, as requested) (rb.dbi)
	</text>
</object>
<object id="17">
	<ocn>17</ocn>
	<text class="norm">
		<b>sisu -d --createdb</b><br /> creates database where no database
existed before
	</text>
</object>
<object id="18">
	<ocn>18</ocn>
	<text class="norm">
		<b>sisu -d --create</b><br /> creates database tables where no database
tables existed before
	</text>
</object>
<object id="19">
	<ocn>19</ocn>
	<text class="norm">
		<b>sisu -d --dropall</b><br /> destroys database (including all its
content)! kills data and drops tables, indexes and database associated
with a given directory (and directories of the same name).
	</text>
</object>
<object id="20">
	<ocn>20</ocn>
	<text class="norm">
		<b>sisu -d --recreate</b><br /> destroys existing database and builds a
new empty database structure
	</text>
</object>
<object id="21">
	<ocn>21</ocn>
	<text class="h6">
		1.4.2 import and remove documents
	</text>
</object>
<object id="22">
	<ocn>22</ocn>
	<text class="norm">
		<b>sisu -d --import -v [filename/wildcard]</b><br /> populates database
with the contents of the file. Imports documents(s) specified to an
sqlite database (at an object level).
	</text>
</object>
<object id="23">
	<ocn>23</ocn>
	<text class="norm">
		<b>sisu -d --update -v [filename/wildcard]</b><br /> updates file
contents in database
	</text>
</object>
<object id="24">
	<ocn>24</ocn>
	<text class="norm">
		<b>sisu -d --remove -v [filename/wildcard]</b><br /> removes specified
document from sqlite database.
	</text>
</object>
</body>
</document>