1
|
<?xml version="1.0" ?>
|
2
|
<!DOCTYPE XMLToDBMS SYSTEM "../xmldbms.dtd">
|
3
|
<XMLToDBMS Version="1.0">
|
4
|
<Maps>
|
5
|
<ClassMap>
|
6
|
<ElementType Name="Lease"/>
|
7
|
<ToRootTable>
|
8
|
<Table Name="LeaseData"/>
|
9
|
<CandidateKey Generate="Yes">
|
10
|
<Column Name="LeaseNumber"/>
|
11
|
</CandidateKey>
|
12
|
</ToRootTable>
|
13
|
<PropertyMap>
|
14
|
<ElementType Name="Lessee"/>
|
15
|
<ToColumn>
|
16
|
<Column Name="Lessee"/>
|
17
|
</ToColumn>
|
18
|
<OrderColumn Name="LesseeOrder" Generate="Yes"/>
|
19
|
</PropertyMap>
|
20
|
<PropertyMap>
|
21
|
<ElementType Name="Address"/>
|
22
|
<ToColumn>
|
23
|
<Column Name="Address"/>
|
24
|
</ToColumn>
|
25
|
<OrderColumn Name="AddressOrder" Generate="Yes"/>
|
26
|
</PropertyMap>
|
27
|
<PropertyMap>
|
28
|
<ElementType Name="Lessor"/>
|
29
|
<ToColumn>
|
30
|
<Column Name="Lessor"/>
|
31
|
</ToColumn>
|
32
|
<OrderColumn Name="LessorOrder" Generate="Yes"/>
|
33
|
</PropertyMap>
|
34
|
<PropertyMap>
|
35
|
<ElementType Name="LeaseTerm"/>
|
36
|
<ToColumn>
|
37
|
<Column Name="LeaseTerm"/>
|
38
|
</ToColumn>
|
39
|
<OrderColumn Name="LeaseTermOrder" Generate="Yes"/>
|
40
|
</PropertyMap>
|
41
|
<PropertyMap>
|
42
|
<ElementType Name="Price"/>
|
43
|
<ToColumn>
|
44
|
<Column Name="Price"/>
|
45
|
</ToColumn>
|
46
|
<OrderColumn Name="PriceOrder" Generate="Yes"/>
|
47
|
</PropertyMap>
|
48
|
<PropertyMap>
|
49
|
<PCDATA/>
|
50
|
<ToPropertyTable KeyInParentTable="Candidate">
|
51
|
<Table Name="LeaseText"/>
|
52
|
<CandidateKey Generate="Yes">
|
53
|
<Column Name="LeaseNumber"/>
|
54
|
</CandidateKey>
|
55
|
<ForeignKey>
|
56
|
<Column Name="Number"/>
|
57
|
</ForeignKey>
|
58
|
<Column Name="Text"/>
|
59
|
</ToPropertyTable>
|
60
|
<OrderColumn Name="Order" Generate="Yes"/>
|
61
|
</PropertyMap>
|
62
|
</ClassMap>
|
63
|
</Maps>
|
64
|
</XMLToDBMS>
|
65
|
|