-
Notifications
You must be signed in to change notification settings - Fork 0
/
Membership.xml
98 lines (85 loc) · 3.34 KB
/
Membership.xml
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
<?xml version="1.0" encoding="UTF-8"?>
<!--
This XML document represents a list of memberships for an organisation or institution
Each membership contains details e.g. purchase price, type, purchase data, expiration
date, visitor ID and membership type
-->
<!DOCTYPE Members [
<!ELEMENT Members (Membership+)> <!-- The '+' cardinality is used to indicate that there must
be at least one 'Membership' element in the document-->
<!ELEMENT Membership (price, expirationDate, visitorID, type)> <!-- Each 'Membership' element
contains child elements -->
<!ELEMENT purchasePrice (#PCDATA)>
<!ELEMENT purchaseType (#PCDATA)>
<!ELEMENT purchaseDate (#PCDATA)>
<!ELEMENT expirationDate (#PCDATA)>
<!ELEMENT visitorID (#PCDATA) >
<!ELEMENT type (#PCDATA)>
<!ATTLIST Membership membershipID CDATA #REQUIRED> <!-- The 'membershipID' attribute is required
for each 'Membership' element to uniquely identify it-->
]>
<Members>
<!-- Membership record for Visitor ID 1234 with a Patron membership-->
<Membership membershipID = "0001">
<purchasePrice>500</purchasePrice>
<purchaseType>Final</purchaseType>
<purchaseDate>2023-11-14</purchaseDate>
<expirationDate>2024-11-14</expirationDate>
<visitorID>1234</visitorID>
<type>Patron</type>
</Membership>
<!-- Membership record for Visitor ID 2345 with a Patron membership-->
<Membership membershipID = "0002">
<purchasePrice>500.00</purchasePrice>
<purchaseType>Final</purchaseType>
<purchaseDate>2023-11-14</purchaseDate>
<expirationDate>2024-11-14</expirationDate>
<visitorID>2345</visitorID>
<type>Patron</type>
</Membership>
<!-- Membership record for Visitor ID 3456 with a Patron_Curator membership-->
<Membership membershipID = "0003">
<purchasePrice>1500.00</purchasePrice>
<purchaseType>Final</purchaseType>
<purchaseDate>2023-11-14</purchaseDate>
<expirationDate>2024-11-14</expirationDate>
<visitorID>3456</visitorID>
<type>Patron_Curator</type>
</Membership>
<!-- Membership record for Visitor ID 4567 with a Patron_Curator membership-->
<Membership membershipID = "0004">
<purchasePrice>1500.00</purchasePrice>
<purchaseType>Recurring</purchaseType>
<purchaseDate>2023-11-15</purchaseDate>
<expirationDate>2024-11-15</expirationDate>
<visitorID>4567</visitorID>
<type>Patron_Curator</type>
</Membership>
<!-- Membership record for Visitor ID 5678 with a Patron_Curator membership-->
<Membership membershipID = "0005">
<purchasePrice>1500.00</purchasePrice>
<purchaseType>Recurring</purchaseType>
<purchaseDate>2023-11-15</purchaseDate>
<expirationDate>2024-11-15</expirationDate>
<visitorID>5678</visitorID>
<type>Patron_Curator</type>
</Membership>
<!-- Membership record for Visitor ID 6789 with a Patron_Director membership-->
<Membership membershipID = "0006">
<purchasePrice>5000.00</purchasePrice>
<purchaseType>Recurring</purchaseType>
<purchaseDate>2023-11-15</purchaseDate>
<expirationDate>2024-11-15</expirationDate>
<visitorID>6789</visitorID>
<type>Patron_Director</type>
</Membership>
<!-- Membership record for Visitor ID 7890 with a Patron_Dargan membership-->
<Membership membershipID = "0007">
<purchasePrice>10000.00</purchasePrice>
<purchaseType>Final</purchaseType>
<purchaseDate>2023-11-16</purchaseDate>
<expirationDate>2024-11-16</expirationDate>
<visitorID>7890</visitorID>
<type>Patron_Dargan</type>
</Membership>
</Members>