Rent a bike

From ICO wiki
Revision as of 10:12, 21 April 2017 by Eehmann (talk | contribs)
Jump to navigationJump to search

Meeskond: rent-A-bike

  • Erika Ehmann

XML

Teema

On firma, mis tegeleb rattarendiga. Firmal on mitmeid tüüpi rattaid, mis võivad asuda erinevates kohtades, kust neid rentida saab.

xml

<?xml version="1.0" encoding="utf-8"?>

 <?xml-stylesheet type="text/xsl" href="bikerenttt.xslt"?>

<BikeRent> <Bikes> <Bike Type="Mountain Bike" Code="000001" Colour="White" Size="Medium" Name="FASTER_XS"> <PriceDay validFrom="2016-10-01">

       <Amount>20</Amount>
       <Currency>EUR</Currency>

</PriceDay>

     <PriceHour validFrom="2016-10-01">
       <Amount>4</Amount>
       <Currency>EUR</Currency>
     </PriceHour>

<Image><![CDATA[1]]></Image>

     <AdditionalInfo>2014</AdditionalInfo>

<PickupPoints> <PickupPoint ID="1"> <Address>Tallinn, Kopli 69n-2</Address> <AdditionalInfo>Esimene korrus, nurga taga</AdditionalInfo>

         <OpenTimes>
           <OpenTime ID="1" day="Monday" time="7:00-20:00"></OpenTime>
           <OpenTime ID="2" day="Tuesday" time="7:00-20:00"></OpenTime>
           <OpenTime ID="3" day="Wednesday" time="7:00-20:00"></OpenTime>
           <OpenTime ID="4" day="Thursday" time="7:00-20:00"></OpenTime>
           <OpenTime ID="5" day="Friday" time="7:00-20:00"></OpenTime>
         </OpenTimes>

</PickupPoint> <PickupPoint ID="2"> <Address>Tartu mnt. 45</Address>

         <OpenTimes>
           <OpenTime ID="1" day="Monday" time="7:00-20:00"></OpenTime>
           <OpenTime ID="2" day="Tuesday" time="7:00-20:00"></OpenTime>
           <OpenTime ID="3" day="Wednesday" time="7:00-20:00"></OpenTime>
           <OpenTime ID="4" day="Thursday" time="7:00-20:00"></OpenTime>
           <OpenTime ID="5" day="Friday" time="7:00-20:00"></OpenTime>
           <OpenTime ID="6" day="Saturday" time="10:00-20:00"></OpenTime>
           <OpenTime ID="7" day="Sunday" time="12:00-20:00"></OpenTime>
         </OpenTimes>

</PickupPoint> </PickupPoints> </Bike> <Bike Type="Mountain Bike" Code="000002" Colour="White" Size="Medium" Name="MUCH MOUNTAIN"> <PriceDay validFrom="2016-10-01">

       <Amount>23</Amount>
       <Currency>EUR</Currency>

</PriceDay>

     <PriceHour validFrom="2016-10-01">
       <Amount>5</Amount>
       <Currency>EUR</Currency>
     </PriceHour>

<Image><![CDATA[2]]></Image>

     <AdditionalInfo>2014</AdditionalInfo>

<PickupPoints>

       <PickupPoint ID="1">
         <Address>Tallinn, Kopli 69n-2</Address>
         <AdditionalInfo>Esimene korrus, nurga taga</AdditionalInfo>
         <OpenTimes>
           <OpenTime ID="1" day="Monday" time="7:00-20:00"></OpenTime>
           <OpenTime ID="2" day="Tuesday" time="7:00-20:00"></OpenTime>
           <OpenTime ID="3" day="Wednesday" time="7:00-20:00"></OpenTime>
           <OpenTime ID="4" day="Thursday" time="7:00-20:00"></OpenTime>
           <OpenTime ID="5" day="Friday" time="7:00-20:00"></OpenTime>
         </OpenTimes>
       </PickupPoint>

</PickupPoints> </Bike> <Bike Type="City Bike" Code="000003" Colour="Red" Size="Large" Name="Dainty Lady 88"> <PriceDay validFrom="2016-10-01">

       <Amount>25</Amount>
       <Currency>EUR</Currency>

</PriceDay>

     <PriceHour validFrom="2016-10-01">
       <Amount>5</Amount>
       <Currency>EUR</Currency>
     </PriceHour>

<Image><![CDATA[3]]></Image>

     <AdditionalInfo>2010</AdditionalInfo>

<PickupPoints>

       <PickupPoint ID="2">
         <Address>Tartu mnt. 45</Address>
         <OpenTimes>
           <OpenTime ID="1" day="Monday" time="7:00-20:00"></OpenTime>
           <OpenTime ID="2" day="Tuesday" time="7:00-20:00"></OpenTime>
           <OpenTime ID="3" day="Wednesday" time="7:00-20:00"></OpenTime>
           <OpenTime ID="4" day="Thursday" time="7:00-20:00"></OpenTime>
           <OpenTime ID="5" day="Friday" time="7:00-20:00"></OpenTime>
           <OpenTime ID="6" day="Saturday" time="10:00-20:00"></OpenTime>
           <OpenTime ID="7" day="Sunday" time="12:00-20:00"></OpenTime>
         </OpenTimes>
       </PickupPoint>

<PickupPoint ID="3"> <Address>Pärnu mnt. 100</Address>

         <OpenTimes>
           <OpenTime ID="1" day="Monday" time="7:00-20:00"></OpenTime>
           <OpenTime ID="2" day="Tuesday" time="7:00-20:00"></OpenTime>
           <OpenTime ID="3" day="Wednesday" time="7:00-20:00"></OpenTime>
           <OpenTime ID="4" day="Thursday" time="7:00-20:00"></OpenTime>
           <OpenTime ID="5" day="Friday" time="7:00-20:00"></OpenTime>
           <OpenTime ID="6" day="Saturday" time="10:00-20:00"></OpenTime>
         </OpenTimes>

</PickupPoint> <PickupPoint ID="4"> <Address>Mäepealse 8</Address> <AdditionalInfo>Majaesine parem uks</AdditionalInfo>

         <OpenTimes>
           <OpenTime ID="8" day="Monday" time="7:00-18:00"></OpenTime>
           <OpenTime ID="9" day="Tuesday" time="7:00-18:00"></OpenTime>
           <OpenTime ID="10" day="Wednesday" time="7:00-18:00"></OpenTime>
           <OpenTime ID="11" day="Thursday" time="7:00-18:00"></OpenTime>
           <OpenTime ID="12" day="Friday" time="7:00-18:00"></OpenTime>
         </OpenTimes>

</PickupPoint> <PickupPoint ID="5"> <Address>Laagna tee 187</Address>

         <OpenTimes>
           <OpenTime ID="1" day="Monday" time="7:00-20:00"></OpenTime>
           <OpenTime ID="2" day="Tuesday" time="7:00-20:00"></OpenTime>
           <OpenTime ID="3" day="Wednesday" time="7:00-20:00"></OpenTime>
           <OpenTime ID="4" day="Thursday" time="7:00-20:00"></OpenTime>
           <OpenTime ID="5" day="Friday" time="7:00-20:00"></OpenTime>
           <OpenTime ID="6" day="Saturday" time="10:00-20:00"></OpenTime>
           <OpenTime ID="7" day="Sunday" time="12:00-20:00"></OpenTime>
         </OpenTimes>

</PickupPoint> </PickupPoints> </Bike> <Bike Type="General Bike" Code="000004" Colour="Blue" Size="Medium" Name="aBike 003"> <PriceDay validFrom="2016-10-01">

       <Amount>15</Amount>
       <Currency>EUR</Currency>

</PriceDay>

     <PriceHour validFrom="2016-10-01">
       <Amount>3</Amount>
       <Currency>EUR</Currency>
     </PriceHour>

<Image><![CDATA[4]]></Image>

     <AdditionalInfo>2015</AdditionalInfo>

<PickupPoints>

       <PickupPoint ID="1">
         <Address>Tallinn, Kopli 69n-2</Address>
         <AdditionalInfo>Esimene korrus, nurga taga</AdditionalInfo>
         <OpenTimes>
           <OpenTime ID="1" day="Monday" time="7:00-20:00"></OpenTime>
           <OpenTime ID="2" day="Tuesday" time="7:00-20:00"></OpenTime>
           <OpenTime ID="3" day="Wednesday" time="7:00-20:00"></OpenTime>
           <OpenTime ID="4" day="Thursday" time="7:00-20:00"></OpenTime>
           <OpenTime ID="5" day="Friday" time="7:00-20:00"></OpenTime>
         </OpenTimes>
       </PickupPoint>
       <PickupPoint ID="2">
         <Address>Tartu mnt. 45</Address>
         <OpenTimes>
           <OpenTime ID="1" day="Monday" time="7:00-20:00"></OpenTime>
           <OpenTime ID="2" day="Tuesday" time="7:00-20:00"></OpenTime>
           <OpenTime ID="3" day="Wednesday" time="7:00-20:00"></OpenTime>
           <OpenTime ID="4" day="Thursday" time="7:00-20:00"></OpenTime>
           <OpenTime ID="5" day="Friday" time="7:00-20:00"></OpenTime>
           <OpenTime ID="6" day="Saturday" time="10:00-20:00"></OpenTime>
           <OpenTime ID="7" day="Sunday" time="12:00-20:00"></OpenTime>
         </OpenTimes>
       </PickupPoint>

</PickupPoints> </Bike> </Bikes> </BikeRent>