Lingviinid: Difference between revisions
From ICO wiki
Jump to navigationJump to search
Created page with "=Kodutöö aines "Võrgurakendused II: hajussüsteemide ehitamine"= ==Meeskond== *Olga Trikk *Johanna Kammiste *Triin Oja *Karin Lepik ==XML== ===XML fail näidisandmetega=== …" |
|||
Line 10: | Line 10: | ||
===XML fail näidisandmetega=== | ===XML fail näidisandmetega=== | ||
<pre> | |||
<?xml version="1.0" encoding="utf-8" ?> | |||
<Salon> | |||
<Division id="1" name="products"> | |||
<Item id="1" type="oil"> | |||
<Name><![CDATA[Massaažiõli]]></Name> | |||
<Description><![CDATA[Sobib suurepäraselt massaažide läbiviimiseks.]]></Description> | |||
<Amount unit="ml">200</Amount> | |||
<Price currency="eur">10.00</Price> | |||
<Stock>3</Stock> | |||
</Item> | |||
<Item id="2" type="oil"> | |||
<Name><![CDATA[Kehaõli]]></Name> | |||
<Description><![CDATA[Sobib igapäevaseks kasutamiseks.]]></Description> | |||
<Amount unit="ml">200</Amount> | |||
<Price currency="eur">7.00</Price> | |||
<Stock>0</Stock> | |||
</Item> | |||
<Item id="3" type="cream"> | |||
<Name><![CDATA[Näokreem]]></Name> | |||
<Description><![CDATA[Sobib igapäevaseks kasutamiseks.]]></Description> | |||
<Amount unit="ml">200</Amount> | |||
<Price currency="eur">8.00</Price> | |||
<Stock>3</Stock> | |||
</Item> | |||
<Item id="4" type="cream"> | |||
<Name><![CDATA[Kätekreem]]></Name> | |||
<Description><![CDATA[Teeb käed siidiselt pehmeks.]]></Description> | |||
<Amount unit="ml">100</Amount> | |||
<Price currency="eur">5.00</Price> | |||
<Stock>2</Stock> | |||
</Item> | |||
</Division> | |||
<Division id="2" name="services"> | |||
<Item id="1" type="massage"> | |||
<Name><![CDATA[Spordimassaaž]]></Name> | |||
<Description><![CDATA[Sobib hästi lihaste lõdvestamiseks peale tugevat sportimist.]]></Description> | |||
<Duration unit="min">45</Duration> | |||
<Price currency="eur">18.00</Price> | |||
<Employees> | |||
<Employee>Juta Juurikas</Employee> | |||
</Employees> | |||
</Item> | |||
<Item id="2" type="massage"> | |||
<Name><![CDATA[Seljamassaaž]]></Name> | |||
<Description><![CDATA[Põhjalik massaaž seljapiirkonnale. Sobib tööpingetest vabastamiseks.]]></Description> | |||
<Duration unit="h">1</Duration> | |||
<Price currency="eur">40.00</Price> | |||
<Employees> | |||
<Employee>Juta Juurikas</Employee> | |||
<Employee>Malle Maasikas</Employee> | |||
</Employees> | |||
</Item> | |||
<Item id="3" type="nailjob"> | |||
<Name><![CDATA[Klassikaline maniküür]]></Name> | |||
<Description><![CDATA[Igapäevaseks.]]></Description> | |||
<Duration unit="min">45</Duration> | |||
<Price currency="eur">18.00</Price> | |||
<Employees> | |||
<Employee>Kairi Kaalikas</Employee> | |||
<Employee>Mari Mustikas</Employee> | |||
</Employees> | |||
</Item> | |||
<Item id="4" type="nailjob"> | |||
<Name><![CDATA[Kiirmaniküür]]></Name> | |||
<Description><![CDATA[Kiireteks aegadeks.]]></Description> | |||
<Duration unit="min">25</Duration> | |||
<Price currency="eur">12.00</Price> | |||
<Employees> | |||
<Employee>Mari Mustikas</Employee> | |||
<Employee>Janne Joovikas</Employee> | |||
</Employees> | |||
</Item> | |||
<Item id="5" type="nailjob"> | |||
<Name><![CDATA[Prantsuse maniküür]]></Name> | |||
<Description><![CDATA[Midagi erilist erilisemateks päevadeks.]]></Description> | |||
<Duration unit="h">1</Duration> | |||
<Price currency="eur">21.00</Price> | |||
<Employees> | |||
<Employee>Sille Sinikas</Employee> | |||
<Employee>Vika Vaarikas</Employee> | |||
</Employees> | |||
</Item> | |||
<Item id="6" type="nailjob"> | |||
<Name><![CDATA[Klassikaline pediküür]]></Name> | |||
<Description><![CDATA[Turgutab keha ja vaimu.]]></Description> | |||
<Duration unit="h">1.5</Duration> | |||
<Price currency="eur">28.00</Price> | |||
<Employees> | |||
<Employee>Vika Vaarikas</Employee> | |||
<Employee>Janne Joovikas</Employee> | |||
</Employees> | |||
</Item> | |||
</Division> | |||
</Salon> | |||
</pre> | |||
===XML skeemifail=== | ===XML skeemifail=== |
Revision as of 16:26, 8 March 2014
Kodutöö aines "Võrgurakendused II: hajussüsteemide ehitamine"
Meeskond
- Olga Trikk
- Johanna Kammiste
- Triin Oja
- Karin Lepik
XML
XML fail näidisandmetega
<?xml version="1.0" encoding="utf-8" ?> <Salon> <Division id="1" name="products"> <Item id="1" type="oil"> <Name><![CDATA[Massaažiõli]]></Name> <Description><![CDATA[Sobib suurepäraselt massaažide läbiviimiseks.]]></Description> <Amount unit="ml">200</Amount> <Price currency="eur">10.00</Price> <Stock>3</Stock> </Item> <Item id="2" type="oil"> <Name><![CDATA[Kehaõli]]></Name> <Description><![CDATA[Sobib igapäevaseks kasutamiseks.]]></Description> <Amount unit="ml">200</Amount> <Price currency="eur">7.00</Price> <Stock>0</Stock> </Item> <Item id="3" type="cream"> <Name><![CDATA[Näokreem]]></Name> <Description><![CDATA[Sobib igapäevaseks kasutamiseks.]]></Description> <Amount unit="ml">200</Amount> <Price currency="eur">8.00</Price> <Stock>3</Stock> </Item> <Item id="4" type="cream"> <Name><![CDATA[Kätekreem]]></Name> <Description><![CDATA[Teeb käed siidiselt pehmeks.]]></Description> <Amount unit="ml">100</Amount> <Price currency="eur">5.00</Price> <Stock>2</Stock> </Item> </Division> <Division id="2" name="services"> <Item id="1" type="massage"> <Name><![CDATA[Spordimassaaž]]></Name> <Description><![CDATA[Sobib hästi lihaste lõdvestamiseks peale tugevat sportimist.]]></Description> <Duration unit="min">45</Duration> <Price currency="eur">18.00</Price> <Employees> <Employee>Juta Juurikas</Employee> </Employees> </Item> <Item id="2" type="massage"> <Name><![CDATA[Seljamassaaž]]></Name> <Description><![CDATA[Põhjalik massaaž seljapiirkonnale. Sobib tööpingetest vabastamiseks.]]></Description> <Duration unit="h">1</Duration> <Price currency="eur">40.00</Price> <Employees> <Employee>Juta Juurikas</Employee> <Employee>Malle Maasikas</Employee> </Employees> </Item> <Item id="3" type="nailjob"> <Name><![CDATA[Klassikaline maniküür]]></Name> <Description><![CDATA[Igapäevaseks.]]></Description> <Duration unit="min">45</Duration> <Price currency="eur">18.00</Price> <Employees> <Employee>Kairi Kaalikas</Employee> <Employee>Mari Mustikas</Employee> </Employees> </Item> <Item id="4" type="nailjob"> <Name><![CDATA[Kiirmaniküür]]></Name> <Description><![CDATA[Kiireteks aegadeks.]]></Description> <Duration unit="min">25</Duration> <Price currency="eur">12.00</Price> <Employees> <Employee>Mari Mustikas</Employee> <Employee>Janne Joovikas</Employee> </Employees> </Item> <Item id="5" type="nailjob"> <Name><![CDATA[Prantsuse maniküür]]></Name> <Description><![CDATA[Midagi erilist erilisemateks päevadeks.]]></Description> <Duration unit="h">1</Duration> <Price currency="eur">21.00</Price> <Employees> <Employee>Sille Sinikas</Employee> <Employee>Vika Vaarikas</Employee> </Employees> </Item> <Item id="6" type="nailjob"> <Name><![CDATA[Klassikaline pediküür]]></Name> <Description><![CDATA[Turgutab keha ja vaimu.]]></Description> <Duration unit="h">1.5</Duration> <Price currency="eur">28.00</Price> <Employees> <Employee>Vika Vaarikas</Employee> <Employee>Janne Joovikas</Employee> </Employees> </Item> </Division> </Salon>