Meeskond:VariableMoods2: Difference between revisions

From ICO wiki
Jump to navigationJump to search
Kkamla (talk | contribs)
Kkamla (talk | contribs)
Line 6: Line 6:


=XML=
=XML=
 
<source lang="xml" collapse="true" first-line="2">
<code>[xml]
<?xml version="1.0" encoding="utf-8" ?>
<xml sample="goes">
<Catalog>
   <here/>
  <Category id="1" visible="true">
</xml>
    <Name><![CDATA[Riided]]></Name>
</code>
    <Description><![CDATA[Asjad, mida saab selga panna]]></Description>
    <Image><![CDATA[riided.JPG]]></Image>
    <Subcategory id="2" visible="true">
      <Name><![CDATA[Sokid]]></Name>
      <Description><![CDATA[Vähemalt paari kaupa müügil olev energiasõltumatu jalasoojendusvahend]]></Description>
      <Image><![CDATA[sokid.JPG]]></Image>
      <Product id="1" serialCode="AB4756478sd" priority="1" visible="true">
        <Name><![CDATA[Selvä sokki]]></Name>
        <Image><![CDATA[selva.JPG]]></Image>
        <Description><![CDATA[Väga head soojad sokid meestele]]></Description>
        <Price unit="eur" discount="10" discountUnit="%" discountActive="false">2.00</Price>
        <Size unit=""><![CDATA[M-XXL]]></Size>
        <Quantity unit="tk">40</Quantity>
        <Guarantee unit="aastat">3</Guarantee>
        <Tags>
          <Tag id="1"><![CDATA[Meestele]]></Tag>
        </Tags>
      </Product>
      <Product id="2" serialCode="AB4756478se" priority="1" visible="true">
        <Name><![CDATA[Hüva sokki]]></Name>
        <Image><![CDATA[hyvaSokk.JPG]]></Image>
        <Description><![CDATA[Väga head soojad sokid naistele, roosa]]></Description>
        <Price unit="eur" discount="0.10" discountUnit="eur" discountActive="true">1.40</Price>
        <Size unit=""><![CDATA[S-L]]></Size>
        <Quantity unit="tk">12</Quantity>
        <Guarantee unit="aastat">3</Guarantee>
        <Tags>
          <Tag id="2"><![CDATA[70-ndad]]></Tag>
          <Tag id="3"><![CDATA[Naistele]]></Tag>
          <Tag id="4"><![CDATA[Kingitused]]></Tag>
        </Tags>
      </Product>
    </Subcategory>
  </Category>
  <Category id="3" visible="true">
    <Name><![CDATA[Toidukaubad]]></Name>
    <Description><![CDATA[Asjad, mida saab suhu panna]]></Description>
    <Image><![CDATA[toidud.JPG]]></Image>
    <Subcategory id="4" visible="true">
      <Name><![CDATA[Maiustused]]></Name>
      <Description><![CDATA[Hammastele kahjulikud kaubad]]></Description>
      <Image><![CDATA[komm.JPG]]></Image>
      <Product id="3" serialCode="Aa756478sd" priority="2" visible="true">
        <Name><![CDATA[Selga küpsised]]></Name>
        <Image><![CDATA[selga.JPG]]></Image>
        <Description><![CDATA[MMM selga]]></Description>
        <Price unit="eur" discount="0" discountUnit="%" discountActive="false">0.64</Price>
        <Size unit="g"><![CDATA[400]]></Size>
        <Quantity unit="tk">600</Quantity>
        <Guarantee unit=""></Guarantee>
        <Tags>
          <Tag id="3"><![CDATA[Naistele]]></Tag>
        </Tags>
      </Product>
      <Product id="4" serialCode="Ax4776478se" priority="1" visible="true">
        <Name><![CDATA[Martsipan]]></Name>
        <Image><![CDATA[martsipan.JPG]]></Image>
        <Description><![CDATA[MMM martsipan]]></Description>
        <Price unit="eur" discount="0.15" discountUnit="eur" discountActive="true">2.60</Price>
        <Size unit="g"><![CDATA[170]]></Size>
        <Quantity unit="tk">37</Quantity>
        <Guarantee unit=""></Guarantee>
        <Tags>
          <Tag id="5"><![CDATA[Ostjate lemmik]]></Tag>
          <Tag id="6"><![CDATA[Nädala diil]]></Tag>
        </Tags>
      </Product>
    </Subcategory>
    <Subcategory id="5" visible="false">
      <Name><![CDATA[Hommikueined]]></Name>
      <Description><![CDATA[Hommikusöök on kõige tähtsam!]]></Description>
      <Image><![CDATA[puder.JPG]]></Image>
      <Product id="5" serialCode="Ax4776asdf8se" priority="1" visible="true">
        <Name><![CDATA[Neljaviljapuder]]></Name>
        <Image><![CDATA[4puder.JPG]]></Image>
        <Description><![CDATA[Väkk puder]]></Description>
        <Price unit="eur" discount="0.60" discountUnit="eur" discountActive="true">1.00</Price>
        <Size unit="g"><![CDATA[400]]></Size>
        <Quantity unit="tk">37</Quantity>
        <Guarantee unit=""></Guarantee>
        <Tags>
          <Tag id="7"><![CDATA[Keegi ei osta]]></Tag>
          <Tag id="8"><![CDATA[Parim enne möödunud]]></Tag>
        </Tags>
      </Product>
    </Subcategory>
   </Category>
</Catalog>
</source>

Revision as of 16:37, 5 March 2015

Liikmed

  • Mihkel Künnapas
  • Krister Kamla - projektijuht
  • Berit Veidemann

XML

<?xml version="1.0" encoding="utf-8" ?>
<Catalog>
  <Category id="1" visible="true">
    <Name><![CDATA[Riided]]></Name>
    <Description><![CDATA[Asjad, mida saab selga panna]]></Description>
    <Image><![CDATA[riided.JPG]]></Image>
    <Subcategory id="2" visible="true">
      <Name><![CDATA[Sokid]]></Name>
      <Description><![CDATA[Vähemalt paari kaupa müügil olev energiasõltumatu jalasoojendusvahend]]></Description>
      <Image><![CDATA[sokid.JPG]]></Image>
      <Product id="1" serialCode="AB4756478sd" priority="1" visible="true">
        <Name><![CDATA[Selvä sokki]]></Name>
        <Image><![CDATA[selva.JPG]]></Image>
        <Description><![CDATA[Väga head soojad sokid meestele]]></Description>
        <Price unit="eur" discount="10" discountUnit="%" discountActive="false">2.00</Price>
        <Size unit=""><![CDATA[M-XXL]]></Size>
        <Quantity unit="tk">40</Quantity>
        <Guarantee unit="aastat">3</Guarantee>
        <Tags>
          <Tag id="1"><![CDATA[Meestele]]></Tag>
        </Tags>
      </Product>
      <Product id="2" serialCode="AB4756478se" priority="1" visible="true">
        <Name><![CDATA[Hüva sokki]]></Name>
        <Image><![CDATA[hyvaSokk.JPG]]></Image>
        <Description><![CDATA[Väga head soojad sokid naistele, roosa]]></Description>
        <Price unit="eur" discount="0.10" discountUnit="eur" discountActive="true">1.40</Price>
        <Size unit=""><![CDATA[S-L]]></Size>
        <Quantity unit="tk">12</Quantity>
        <Guarantee unit="aastat">3</Guarantee>
        <Tags>
          <Tag id="2"><![CDATA[70-ndad]]></Tag>
          <Tag id="3"><![CDATA[Naistele]]></Tag>
          <Tag id="4"><![CDATA[Kingitused]]></Tag>
        </Tags>
      </Product>
    </Subcategory>
  </Category>
  <Category id="3" visible="true">
    <Name><![CDATA[Toidukaubad]]></Name>
    <Description><![CDATA[Asjad, mida saab suhu panna]]></Description>
    <Image><![CDATA[toidud.JPG]]></Image>
    <Subcategory id="4" visible="true">
      <Name><![CDATA[Maiustused]]></Name>
      <Description><![CDATA[Hammastele kahjulikud kaubad]]></Description>
      <Image><![CDATA[komm.JPG]]></Image>
      <Product id="3" serialCode="Aa756478sd" priority="2" visible="true">
        <Name><![CDATA[Selga küpsised]]></Name>
        <Image><![CDATA[selga.JPG]]></Image>
        <Description><![CDATA[MMM selga]]></Description>
        <Price unit="eur" discount="0" discountUnit="%" discountActive="false">0.64</Price>
        <Size unit="g"><![CDATA[400]]></Size>
        <Quantity unit="tk">600</Quantity>
        <Guarantee unit=""></Guarantee>
        <Tags>
          <Tag id="3"><![CDATA[Naistele]]></Tag>
        </Tags>
      </Product>
      <Product id="4" serialCode="Ax4776478se" priority="1" visible="true">
        <Name><![CDATA[Martsipan]]></Name>
        <Image><![CDATA[martsipan.JPG]]></Image>
        <Description><![CDATA[MMM martsipan]]></Description>
        <Price unit="eur" discount="0.15" discountUnit="eur" discountActive="true">2.60</Price>
        <Size unit="g"><![CDATA[170]]></Size>
        <Quantity unit="tk">37</Quantity>
        <Guarantee unit=""></Guarantee>
        <Tags>
          <Tag id="5"><![CDATA[Ostjate lemmik]]></Tag>
          <Tag id="6"><![CDATA[Nädala diil]]></Tag>
        </Tags>
      </Product>
    </Subcategory>
    <Subcategory id="5" visible="false">
      <Name><![CDATA[Hommikueined]]></Name>
      <Description><![CDATA[Hommikusöök on kõige tähtsam!]]></Description>
      <Image><![CDATA[puder.JPG]]></Image>
      <Product id="5" serialCode="Ax4776asdf8se" priority="1" visible="true">
        <Name><![CDATA[Neljaviljapuder]]></Name>
        <Image><![CDATA[4puder.JPG]]></Image>
        <Description><![CDATA[Väkk puder]]></Description>
        <Price unit="eur" discount="0.60" discountUnit="eur" discountActive="true">1.00</Price>
        <Size unit="g"><![CDATA[400]]></Size>
        <Quantity unit="tk">37</Quantity>
        <Guarantee unit=""></Guarantee>
        <Tags>
          <Tag id="7"><![CDATA[Keegi ei osta]]></Tag>
          <Tag id="8"><![CDATA[Parim enne möödunud]]></Tag>
        </Tags>
      </Product>
    </Subcategory>
  </Category>
</Catalog>