Backbone: Difference between revisions

From ICO wiki
Jump to navigationJump to search
Slumi (talk | contribs)
Created page with "=Backbone= ==Meeskonna liikmed== *Mikk Visnap *Silver Lumi ==XML andmefail== ===XML fail=== ===XML skeemifail=== ===XSLT failid=== ==Veebiteenuse analüüs== ==Veebiteenu…"
 
Slumi (talk | contribs)
Line 8: Line 8:


===XML fail===
===XML fail===
<pre>
<?xml version="1.0" encoding="utf-8" ?>
<sales>
  <sale id="1000">
    <saleHeader>
      <saleDate>2015-01-04</saleDate>
      <totalAmount>5000</totalAmount>
      <vatAmount percentage="20">4166</vatAmount>
      <salesPerson personId="6"><![CDATA[Silver Lumi]]></salesPerson>
      <client clientId="987"><![CDATA[Federico Garcia Lorca]]></client>   
    </saleHeader>
    <saleRows>
      <saleRow rowNumber="1">
        <product id="12345" unit="kg" quantity="200" value="500" currency="EUR" conversionToEur="1.0"><![CDATA[Ham]]></product>
      </saleRow>
      <saleRow rowNumber="2">
        <product id="54321" unit="kg" quantity="100" value="2500" currency="EUR" conversionToEur="1.0"><![CDATA[Cheese]]></product>
      </saleRow>
      <saleRow rowNumber="3">
        <product id="98521" unit="g" quantity="750" value="55" currency="EUR" conversionToEur="1.0"><![CDATA[Sugar]]></product>
      </saleRow>
      <saleRow rowNumber="4">
        <product id="1112" unit="liter" quantity="47" value="1999" currency="EUR" conversionToEur="1.0"><![CDATA[Olive oil]]></product>
      </saleRow>
    </saleRows>
  </sale>
  <sale id="1001">
    <saleHeader>
        <saleDate>2015-01-04</saleDate>
        <totalAmount>19000</totalAmount>
        <vatAmount percentage="20">15833</vatAmount>
        <salesPerson personId="7"><![CDATA[Mait Poska]]></salesPerson>
        <client clientId="885"><![CDATA[Jose Lopez Añudo]]></client> 
    </saleHeader>
    <saleRows>
      <saleRow rowNumber="1">
        <product id="5147" unit="g" quantity="125" value="19" currency="EUR" conversionToEur="1.0"><![CDATA[Chocolate]]></product>
      </saleRow>
      <saleRow rowNumber="2">
        <product id="5151" unit="kg" quantity="25" value="250" currency="EUR" conversionToEur="1.0"><![CDATA[Butter]]></product>
      </saleRow>
      <saleRow rowNumber="3">
        <product id="1112" unit="liter" quantity="50" value="2050" currency="EUR" conversionToEur="1.0"><![CDATA[Olive oil]]></product>
      </saleRow>
    </saleRows>
  </sale>
  <sale id="1002">
    <saleHeader>
        <saleDate>2015-01-05</saleDate>
        <totalAmount>749</totalAmount>
        <vatAmount percentage="20">624</vatAmount>
        <salesPerson personId="1"><![CDATA[Mati Mäeots]]></salesPerson>
        <client clientId="885"><![CDATA[Mario Vargas Llosa]]></client> 
    </saleHeader>
    <saleRows>
      <saleRow rowNumber="1">
        <product id="4444" unit="kg" quantity="51" value="1" currency="EUR" conversionToEur="1.0"><![CDATA[Sugar]]></product>
      </saleRow>
      <saleRow rowNumber="2">
        <product id="6666" unit="kg" quantity="750" value="2500" currency="EUR" conversionToEur="1.0"><![CDATA[Ketchup]]></product>
      </saleRow>
    </saleRows>
  </sale>
  <sale id="1003">
    <saleHeader>
      <saleDate>2015-01-05</saleDate>
      <totalAmount>749</totalAmount>
      <vatAmount percentage="20">624</vatAmount>
      <salesPerson personId="1"><![CDATA[Mikk Visnap]]></salesPerson>
      <client clientId="885"><![CDATA[Some One]]></client>
    </saleHeader>
    <saleRows>
      <saleRow rowNumber="1">
        <product id="4444" unit="kg" quantity="10" value="10" currency="USD" conversionToEur="1.5"><![CDATA[Sugar]]></product>
      </saleRow>
      <saleRow rowNumber="2">
        <product id="4444" unit="kg" quantity="10" value="10" currency="SEK" conversionToEur="2"><![CDATA[Sugar]]></product>
      </saleRow>
    </saleRows>
  </sale>
</sales>
</pre>


===XML skeemifail===
===XML skeemifail===

Revision as of 22:58, 6 March 2015

Backbone

Meeskonna liikmed

  • Mikk Visnap
  • Silver Lumi


XML andmefail

XML fail

<?xml version="1.0" encoding="utf-8" ?>
<sales>
  <sale id="1000">
    <saleHeader>
      <saleDate>2015-01-04</saleDate>
      <totalAmount>5000</totalAmount>
      <vatAmount percentage="20">4166</vatAmount>
      <salesPerson personId="6"><![CDATA[Silver Lumi]]></salesPerson>
      <client clientId="987"><![CDATA[Federico Garcia Lorca]]></client>    
    </saleHeader>
    <saleRows>
      <saleRow rowNumber="1">
        <product id="12345" unit="kg" quantity="200" value="500" currency="EUR" conversionToEur="1.0"><![CDATA[Ham]]></product>
      </saleRow>
      <saleRow rowNumber="2">
        <product id="54321" unit="kg" quantity="100" value="2500" currency="EUR" conversionToEur="1.0"><![CDATA[Cheese]]></product>
      </saleRow>
      <saleRow rowNumber="3">
        <product id="98521" unit="g" quantity="750" value="55" currency="EUR" conversionToEur="1.0"><![CDATA[Sugar]]></product>
      </saleRow>
      <saleRow rowNumber="4">
        <product id="1112" unit="liter" quantity="47" value="1999" currency="EUR" conversionToEur="1.0"><![CDATA[Olive oil]]></product>
      </saleRow>
    </saleRows>
  </sale>
  <sale id="1001">
    <saleHeader>
        <saleDate>2015-01-04</saleDate>
        <totalAmount>19000</totalAmount>
        <vatAmount percentage="20">15833</vatAmount>
        <salesPerson personId="7"><![CDATA[Mait Poska]]></salesPerson>
        <client clientId="885"><![CDATA[Jose Lopez Añudo]]></client>   
    </saleHeader>
    <saleRows>
      <saleRow rowNumber="1">
        <product id="5147" unit="g" quantity="125" value="19" currency="EUR" conversionToEur="1.0"><![CDATA[Chocolate]]></product>
      </saleRow>
      <saleRow rowNumber="2">
        <product id="5151" unit="kg" quantity="25" value="250" currency="EUR" conversionToEur="1.0"><![CDATA[Butter]]></product>
      </saleRow>
      <saleRow rowNumber="3">
        <product id="1112" unit="liter" quantity="50" value="2050" currency="EUR" conversionToEur="1.0"><![CDATA[Olive oil]]></product>
      </saleRow>
    </saleRows>
  </sale>
  <sale id="1002">
    <saleHeader>
        <saleDate>2015-01-05</saleDate>
        <totalAmount>749</totalAmount>
        <vatAmount percentage="20">624</vatAmount>
        <salesPerson personId="1"><![CDATA[Mati Mäeots]]></salesPerson>
        <client clientId="885"><![CDATA[Mario Vargas Llosa]]></client>   
    </saleHeader>
    <saleRows>
      <saleRow rowNumber="1">
        <product id="4444" unit="kg" quantity="51" value="1" currency="EUR" conversionToEur="1.0"><![CDATA[Sugar]]></product>
      </saleRow>
       <saleRow rowNumber="2">
        <product id="6666" unit="kg" quantity="750" value="2500" currency="EUR" conversionToEur="1.0"><![CDATA[Ketchup]]></product>
      </saleRow>
    </saleRows>
  </sale>
  <sale id="1003">
    <saleHeader>
      <saleDate>2015-01-05</saleDate>
      <totalAmount>749</totalAmount>
      <vatAmount percentage="20">624</vatAmount>
      <salesPerson personId="1"><![CDATA[Mikk Visnap]]></salesPerson>
      <client clientId="885"><![CDATA[Some One]]></client>
    </saleHeader>
    <saleRows>
      <saleRow rowNumber="1">
        <product id="4444" unit="kg" quantity="10" value="10" currency="USD" conversionToEur="1.5"><![CDATA[Sugar]]></product>
      </saleRow>
      <saleRow rowNumber="2">
        <product id="4444" unit="kg" quantity="10" value="10" currency="SEK" conversionToEur="2"><![CDATA[Sugar]]></product>
      </saleRow>
    </saleRows>
  </sale>
</sales>

XML skeemifail

XSLT failid

Veebiteenuse analüüs

Veebiteenus

Klientrankendus

To-do