??? Profit: Difference between revisions

From ICO wiki
Jump to navigationJump to search
Aromandi (talk | contribs)
Aromandi (talk | contribs)
Line 6: Line 6:
==XML/XSD/XSLT==
==XML/XSD/XSLT==
===XML===
===XML===
<div class="toccolours mw-collapsible mw-collapsed" style="width:75em">
<source lang="xml">
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Series>
<Series>
Line 52: Line 54:
   </Show>
   </Show>
</Series>
</Series>
</source>
</div>


===XSD===
===XSD===

Revision as of 18:15, 20 March 2017

Tiim "??? Profit"

  • Aivar Romandi
  • Frank Karl Koppel

XML/XSD/XSLT

XML

<?xml version="1.0" encoding="utf-8"?>
<Series>
  <Show id="0" releaseYear="2010" onGoing="true" country="USA" language="English">
    <ShowName><![CDATA[Hea saate nimi]]></ShowName>
    <ShowDescription><![CDATA[saade on selline]]> </ShowDescription>
    <BannerUrl><![CDATA[http://img2.tvtome.com/i/u/0aa3afb3cbe3468fc6e43e50070b0810.png]]></BannerUrl>
    <Genres>
      <Genre><![CDATA[drama]]></Genre>
    </Genres>
    <Seasons>
      <Season nr="1">
        <SeasonDescription><![CDATA[description]]></SeasonDescription>
        <Episodes>
          <Episode nr="1" releaseDate="2010-10-10" length="88" lengthType="min">
            <EpisodeName><![CDATA[What?!]]></EpisodeName>
            <EpisodeDescription><![CDATA[description]]></EpisodeDescription>
          </Episode>
        </Episodes>
      </Season>
      <Season nr="2">
        <SeasonDescription><![CDATA[description]]></SeasonDescription>
        <Episodes>
          <Episode nr="1" releaseDate="2010-10-10" length="88" lengthType="min">
            <EpisodeName><![CDATA[What?!]]></EpisodeName>
            <EpisodeDescription><![CDATA[description]]></EpisodeDescription>
          </Episode>
        </Episodes>
      </Season>
    </Seasons>
    <Credits>
      <Actors>
        <Actor sex="m" birthDate="1980-10-10">
          <FirstName><![CDATA[Pakiraam]]></FirstName>
          <LastName><![CDATA[Peeter]]></LastName>
          <Role><![CDATA[Anderson]]></Role>
        </Actor>
      </Actors>
      <Directors>
        <Director sex="m" birthDate="1980-10-10">
          <FirstName><![CDATA[Peeter]]></FirstName>
          <LastName><![CDATA[Pakiraam]]></LastName>
        </Director>
      </Directors>
    </Credits>
  </Show>
</Series>

XSD

XSLT HTML

XSLT XML

Väljund