Laenutajad

From ICO wiki
Jump to navigationJump to search

Meeskond

  • Kristjan Tõnismäe
  • Veiko Lääts

Kirjeldus

Eesmärk on luua kodune filmide laenutus.

XML fail

Stiilifail

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


<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:output method="html"/>

<xsl:template match="/"> <html> <body>

Movie Store

Action Movies

<xsl:for-each select="movieStore/movies/žanr/action/movie"> </xsl:for-each>
Title Description Subtitles Director Prices

<xsl:value-of select="title"/>

<xsl:value-of select="description"/>

<xsl:for-each select="subtitles/subtitle">

  • <xsl:value-of select="@value"/>
  • </xsl:for-each>
  • <xsl:value-of select="director"/>
  • <xsl:for-each select="prices/price-day"> For Day:

  • <xsl:value-of select="@value"/>
  • </xsl:for-each> <xsl:for-each select="prices/price-week"> For Week:
  • <xsl:value-of select="@value"/>
  • </xsl:for-each>

    Horror Movies

    <xsl:for-each select="movieStore/movies/žanr/horror/movie"> </xsl:for-each>
    Title Description Subtitles Director Prices

    <xsl:value-of select="title"/>

    <xsl:value-of select="description"/>

    <xsl:for-each select="subtitles/subtitle">

  • <xsl:value-of select="@value"/>
  • </xsl:for-each>
  • <xsl:value-of select="director"/>
  • <xsl:for-each select="prices/price-day"> For Day:

  • <xsl:value-of select="@value"/>
  • </xsl:for-each> <xsl:for-each select="prices/price-week"> For Week:
  • <xsl:value-of select="@value"/>
  • </xsl:for-each>

    Comedy Movies

    <xsl:for-each select="movieStore/movies/žanr/comedy/movie"> </xsl:for-each>
    Title Description Subtitles Director Prices

    <xsl:value-of select="title"/>

    <xsl:value-of select="description"/>

    <xsl:for-each select="subtitles/subtitle">

  • <xsl:value-of select="@value"/>
  • </xsl:for-each>
  • <xsl:value-of select="director"/>
  • <xsl:for-each select="prices/price-day"> For Day:

  • <xsl:value-of select="@value"/>
  • </xsl:for-each> <xsl:for-each select="prices/price-week"> For Week:
  • <xsl:value-of select="@value"/>
  • </xsl:for-each>

    </body> </html>

    </xsl:template>

    </xsl:stylesheet>

    Skeemifail

    Log

    21.märts 2013

    • Kokkusaamine

    23.märts 2013

    • Wiki lehe loomine, XML faili, stiilifaili ja skeemifaili lisamine.