Alt + Tab: Difference between revisions

From ICO wiki
Jump to navigationJump to search
Mroots (talk | contribs)
No edit summary
Mroots (talk | contribs)
No edit summary
Line 6: Line 6:


==Esimene Osa==
==Esimene Osa==
<div class="toccolours mw-collapsible mw-collapsed" style="width:75em">
==XML==
==XML==


Line 91: Line 92:
<source lang="xml">
<source lang="xml">
</source>
</source>
</div>

Revision as of 19:38, 20 March 2017

Meeskond Alt + Tab Võrgurakendused II

  • Mihkel Roots
  • Roland Soosaar
  • Krista Norak

Esimene Osa

XML

  <?xml version="1.0" encoding="utf-8" ?>
  <?xml-stylesheet type="text/xsl" href="Echo-html.xslt"?>
  <Carshop>
    <Shop>
      <Name>United Motors</Name>
      <Address>
        <Country>Estonia</Country>
        <City>Tallinn</City>
        <MobileNumber>7777777</MobileNumber>
      </Address>
    </Shop>
    <Cars>
      
      <Car type="saloon">
        <CarMake Name="BMW">
          <CarModel ModelName="X1" Year="2011">
            <Mileage>1000</Mileage>
            <Price>
              <Amount>20000</Amount>
              <Currency>EUR</Currency>
            </Price>
            <Image><![CDATA[http://bmw.co.uk/dam/brandBM/common/newvehicles/x-series/x1/2015/flash/f48_x1_highlights_assets/lines_slider/img/digital/sport-line-front.jpg]]></Image>
          </CarModel>
        </CarMake>
      </Car>
      
      <Car type="SUV">
        <CarMake Name="BMW">
          <CarModel ModelName="X5" Year="2010">
            <Mileage>500</Mileage>
            <Price>
              <Amount>25000</Amount>
              <Currency>EUR</Currency>
            </Price>
            <Image><![CDATA[http://www.bmw.com.au/content/dam/bmw/common/all-models/x-series/x5/2015/at-a-glance/x5_at-a-glance_stagepresentation.jpg/jcr:content/renditions/cq5dam.resized.img.1680.large.time1448008829330.jpg]]></Image>
          </CarModel>
        </CarMake>
      </Car>
      
      <Car type="saloon">
        <CarMake Name="BMW">
          <CarModel ModelName="X3" Year="2012">
            <Mileage>700</Mileage>
            <Price>
              <Amount>15000</Amount>
              <Currency>EUR</Currency>
            </Price>
            <Image><![CDATA[http://s3.caradvice.com.au/thumb/1000/562/wp-content/uploads/2014/08/2015-BMW-X3-36.jpg]]></Image>
          </CarModel>
        </CarMake>
      </Car>
      
      <Car type="SUV">
        <CarMake Name="BMW">
          <CarModel ModelName="X6" Year="2009">
            <Mileage>800</Mileage>
            <Price>
              <Amount>23000</Amount>
              <Currency>EUR</Currency>
            </Price>
            <Image><![CDATA[https://i.ytimg.com/vi/a6hjQDtYSnM/maxresdefault.jpg]]></Image>
          </CarModel>
        </CarMake>
      </Car>
      
    </Cars>
  </Carshop>

XSD

XSLT HTML

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

XSLT XML