Menu

[r2]: / etc / sql2java.cfg.dtd  Maximize  Restore  History

Download this file

88 lines (80 with data), 3.3 kB

 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
<?xml version="1.0" encoding="UTF-8"?>
<!--
Document : sql2java.cfg.dtd
Created on : 20 maart 2007, 8:57
Author : daang
Description:
Purpose of the document follows.
TODO define vocabulary identification data
PUBLIC ID : -//vendor//vocabulary//EN
SYSTEM ID : http://server/path/sql2java.cfg.dtd
-->
<!-- TODO define your own vocabulary/syntax. Example follows: -->
<!ELEMENT config (information, translations, conversions, scripts, generation)>
<!ELEMENT information (credentials, interests, includes, locking, relation, sequence, columns)>
<!ATTLIST information driverClass CDATA #REQUIRED
url CDATA #REQUIRED>
<!ELEMENT credentials EMPTY>
<!ATTLIST credentials username CDATA #REQUIRED
password CDATA #REQUIRED>
<!ELEMENT interests (interest*)>
<!ELEMENT interest EMPTY>
<!ATTLIST interest name CDATA #REQUIRED>
<!ELEMENT includes (include*)>
<!ELEMENT include EMPTY>
<!ATTLIST include id CDATA #REQUIRED
includePattern CDATA #REQUIRED>
<!ELEMENT locking EMPTY>
<!ATTLIST locking type (none|timestamp) "none"
column CDATA #REQUIRED>
<!ELEMENT relation EMPTY>
<!ATTLIST relation type (sql|xml|none) #REQUIRED
filename CDATA #REQUIRED>
<!ELEMENT sequence (#PCDATA)>
<!ATTLIST sequence timing (before|after) #REQUIRED>
<!ELEMENT columns (column*)>
<!ELEMENT column EMPTY>
<!ATTLIST column name CDATA #REQUIRED
type CDATA #REQUIRED
size CDATA #REQUIRED>
<!ELEMENT translations (translation*, translationlist*)>
<!ELEMENT translation EMPTY>
<!ATTLIST translation name CDATA #REQUIRED
context CDATA #REQUIRED
replace CDATA #REQUIRED
casesensitive (true|false) "false">
<!ELEMENT translationlist EMPTY>
<!ATTLIST translationlist resource CDATA #REQUIRED>
<!ELEMENT conversions (conversion*)>
<!ELEMENT conversion EMPTY>
<!ATTLIST conversion databaseType CDATA #REQUIRED
javaType CDATA #REQUIRED>
<!ELEMENT scripts (script*)>
<!ATTLIST scripts basepath CDATA #REQUIRED
type CDATA "js">
<!ELEMENT script (function*)>
<!ATTLIST script id ID #IMPLIED
resource CDATA #IMPLIED
refid IDREF #IMPLIED>
<!ELEMENT function (parameter*)>
<!ATTLIST function name CDATA #REQUIRED>
<!ELEMENT parameter EMPTY>
<!ATTLIST parameter name CDATA #REQUIRED>
<!ELEMENT generation (properties, templates)?>
<!ATTLIST generation targetpath CDATA #IMPLIED
type (database|schema|table|column) #IMPLIED
package CDATA #IMPLIED
extension CDATA #IMPLIED>
<!ELEMENT properties (property*)>
<!ELEMENT property EMPTY>
<!ATTLIST property key CDATA #REQUIRED
value CDATA #REQUIRED>
<!ELEMENT templates (template*)>
<!ATTLIST templates basePath CDATA #REQUIRED
basePackage CDATA #REQUIRED>
<!ELEMENT template (generation, script*, dependencies, properties)>
<!ATTLIST template id ID #REQUIRED
resource CDATA #REQUIRED>
<!ELEMENT dependencies (dependency*)>
<!ELEMENT dependency EMPTY>
<!ATTLIST dependency refid IDREF #REQUIRED>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.