Givela
From ICO wiki
Kodutöö aines "Võrgurakendused II: hajussüsteemide ehitamine"
Meeskond
- Mikk Raudsepp
- Alar Ameerikas
- Vladimir Rõkovanov
Idee
XML/XSD/XSLT
XML
<?xml version="1.0" encoding="utf-8" ?> <Products> <Persons> <Person><![CDATA[Mikk]]></Person> <Person><![CDATA[Alar]]></Person> <Person><![CDATA[Vladimir]]></Person> </Persons> <Categories> <Category><![CDATA[Riided]]></Category> <Category><![CDATA[Köögitehnika]]></Category> </Categories> <Product> <Name><![CDATA[Siidisukad 160]]></Name> <Person><![CDATA[Mikk]]></Person> <Category><![CDATA[Riided]]></Category> <ImageUrl>http://enos.itcollege.ee/~vrokovan/haju/sukad.jpg</ImageUrl> <Comments> <Comment><![CDATA[Kus asute?]]></Comment> <Comment><![CDATA[Kas on uued või kasutatud]]></Comment> </Comments> </Product> <Product> <Name><![CDATA[Külmkapp]]></Name> <Person><![CDATA[Alar]]></Person> <Category><![CDATA[Köögitehnika]]></Category> <ImageUrl>http://enos.itcollege.ee/~vrokovan/haju/kylmik.jpg</ImageUrl> <Comments> <Comment><![CDATA[Saatke mõõdud palun]]></Comment> <Comment><![CDATA[kui vana külmkapp on?]]></Comment> </Comments> </Product> <Product> <Name><![CDATA[Veekeetja]]></Name> <Person><![CDATA[Vladimir]]></Person> <Category><![CDATA[Köögitehnika]]></Category> <ImageUrl>http://enos.itcollege.ee/~vrokovan/haju/keetja.jpg</ImageUrl> <Comments> <Comment><![CDATA[Kas on töökorras?]]></Comment> <Comment><![CDATA[mitme liitrine on?]]></Comment> </Comments> </Product> </Products>
XSD
<?xml version="1.0" encoding="utf-8"?> <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="Products"> <xs:complexType> <xs:sequence> <xs:element name="Persons"> <xs:complexType> <xs:sequence> <xs:element maxOccurs="unbounded" name="Person" type="xs:string" /> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="Categories"> <xs:complexType> <xs:sequence> <xs:element maxOccurs="unbounded" name="Category" type="xs:string" /> </xs:sequence> </xs:complexType> </xs:element> <xs:element maxOccurs="unbounded" name="Product"> <xs:complexType> <xs:sequence> <xs:element name="Name" type="xs:string" /> <xs:element name="Person" type="xs:string" /> <xs:element name="Category" type="xs:string" /> <xs:element name="Comments"> <xs:complexType> <xs:sequence> <xs:element maxOccurs="unbounded" name="Comment" type="xs:string" /> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> </xs:schema>
XSLT
Logi
- 09.03.16 - Esimene kohtumine