-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxmlWebShopGenerated.xml
159 lines (155 loc) · 5.88 KB
/
xmlWebShopGenerated.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
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
<?xml version="1.0" encoding="UTF-8"?>
<webShop xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="file:/C:/Users/S/Desktop/Studies/Primary%20%20subjects/XML/3rd%20class/XmlSchemaWebShop.xsd">
<products>
<product id="pi11" manufacturerId="m1">
<productName>amazon echo</productName>
<productDescription>speaker</productDescription>
<productPrice>12</productPrice>
<productUrl>http://something</productUrl>
<productDateAvailable>2017-04-09</productDateAvailable>
<productChangeDate>2017-04-09</productChangeDate>
</product>
<product id="pi12" manufacturerId="m1">
<productName>amazon echo</productName>
<productDescription>speaker</productDescription>
<productPrice>12</productPrice>
<productUrl>http://something</productUrl>
<productDateAvailable>2017-04-09</productDateAvailable>
<productChangeDate>2017-04-09</productChangeDate>
</product>
</products>
<productImages>
<productImage productImageId="pi1" productId="pi11">
<image>asnsaddi</image>
<hTMLContent>http://abudavi</hTMLContent>
<imageSortOrder>date</imageSortOrder>
</productImage>
<productImage productImageId="pi2" productId="pi12">
<image>asndi</image>
<hTMLContent>http://soemtas</hTMLContent>
<imageSortOrder>time</imageSortOrder>
</productImage>
</productImages>
<productSpecials>
<productSpecial promotionCode="pc1" productId="pi11">
<newProductPrice>12</newProductPrice>
<startDate>2017-04-09</startDate>
<expiryDate>2017-04-09</expiryDate>
</productSpecial>
<productSpecial promotionCode="pc2" productId="pi12">
<newProductPrice>15</newProductPrice>
<startDate>2017-04-09</startDate>
<expiryDate>2017-04-09</expiryDate>
</productSpecial>
</productSpecials>
<manufacturers>
<manufacturer manufacturerId="m1">
<manufacturerName>Amazon</manufacturerName>
<manufacturerLogo>http://somethin</manufacturerLogo>
</manufacturer>
<manufacturer manufacturerId="m2">
<manufacturerName>Google</manufacturerName>
<manufacturerLogo>http://gogol</manufacturerLogo>
</manufacturer>
</manufacturers>
<customers>
<customer customerId="ci1">
<gender>1</gender>
<firstName>Miroslav</firstName>
<middleName>Miki</middleName>
<lastName>Maksimovic</lastName>
<birthDate>2000-04-09</birthDate>
<emailAddress>[email protected]</emailAddress>
<phoneNumber>232141</phoneNumber>
<faxNumber>2134214</faxNumber>
<password>ansdmoe1423</password>
</customer>
<customer customerId="ci2">
<gender>1</gender>
<firstName>Tomo</firstName>
<middleName>Tom</middleName>
<lastName>Klacar</lastName>
<birthDate>2000-04-09</birthDate>
<emailAddress>[email protected]</emailAddress>
<phoneNumber>242342</phoneNumber>
<faxNumber>241342</faxNumber>
<password>eofk342sd</password>
</customer>
</customers>
<orders>
<order orderId="oi1" customerId="ci1" addressId="ai1">
<reference>echo</reference>
<billingName>Miroslav</billingName>
<deliveryName>miroslav</deliveryName>
<emailAddress>[email protected]</emailAddress>
<purchaseDate>2017-09-04</purchaseDate>
</order>
<order orderId="oi2" customerId="ci2" addressId="ai1">
<reference>home</reference>
<billingName>Tomo</billingName>
<deliveryName>tomo</deliveryName>
<emailAddress>[email protected]</emailAddress>
<purchaseDate>2017-09-04</purchaseDate>
</order>
</orders>
<orderedProducts>
<orderedProduct orderedProductId="opi1" productId="pi1" orderId="oi1">
<productName>echo</productName>
<productDescription>speaker</productDescription>
<productPrice>12</productPrice>
<productTax>11</productTax>
<quantity>23</quantity>
</orderedProduct>
<orderedProduct orderedProductId="opi2" productId="pi12" orderId="oi2">
<productName>amazon</productName>
<productDescription>home</productDescription>
<productPrice>12</productPrice>
<productTax>11</productTax>
<quantity>23</quantity>
</orderedProduct>
</orderedProducts>
<reviews>
<review reviewId="ri1" customerId="ci1" productId="pi1">
<reviewRating>10</reviewRating>
<reviewReads>10</reviewReads>
<ReviewText>nice</ReviewText>
</review>
<review reviewId="ri2" customerId="ci2" productId="pi12">
<reviewRating>6</reviewRating>
<reviewReads>5</reviewReads>
<ReviewText>bad</ReviewText>
</review>
</reviews>
<addresses>
<address addressId="ai1" customerId="ci1">
<addressFromDate>2000-04-09</addressFromDate>
<addressToDate>2000-04-09</addressToDate>
<addressStreet>bosnia</addressStreet>
<ZipCode>73300</ZipCode>
<addressType>flat</addressType>
</address>
<address addressId="ai2" customerId="ci2">
<addressFromDate>2000-04-09</addressFromDate>
<addressToDate>2000-04-09</addressToDate>
<addressStreet>hungary</addressStreet>
<ZipCode>3515</ZipCode>
<addressType>house</addressType>
</address>
</addresses>
<baskets>
<basket basketId="bi1" customerId="ci1">
<basketDateAdded>2000-04-09</basketDateAdded>
</basket>
<basket basketId="bi2" customerId="ci2">
<basketDateAdded>2000-04-09</basketDateAdded>
</basket>
</baskets>
<basketProducts>
<basketProduct basketId="bi1" productId="pi11">
<quantity>4</quantity>
</basketProduct>
<basketProduct basketId="bi2" productId="pi12">
<quantity>10</quantity>
</basketProduct>
</basketProducts>
</webShop>