<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.itcollege.ee/index.php?action=history&amp;feed=atom&amp;title=Meeskond%3A_Travo_2.0_XML</id>
	<title>Meeskond: Travo 2.0 XML - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.itcollege.ee/index.php?action=history&amp;feed=atom&amp;title=Meeskond%3A_Travo_2.0_XML"/>
	<link rel="alternate" type="text/html" href="https://wiki.itcollege.ee/index.php?title=Meeskond:_Travo_2.0_XML&amp;action=history"/>
	<updated>2026-06-16T17:14:24Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://wiki.itcollege.ee/index.php?title=Meeskond:_Travo_2.0_XML&amp;diff=102269&amp;oldid=prev</id>
		<title>Treinpal: Created page with &quot;== XML/XSD/XSLT ==  === XML === &lt;pre&gt; &lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&gt; &lt;?xml-stylesheet type=&quot;text/xsl&quot; href=&quot;XML.xslt&quot; ?&gt; &lt;!-- Kooli andmebaas --&gt; &lt;School&gt;   &lt;!-- Klas...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.itcollege.ee/index.php?title=Meeskond:_Travo_2.0_XML&amp;diff=102269&amp;oldid=prev"/>
		<updated>2016-03-27T20:05:26Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== XML/XSD/XSLT ==  === XML === &amp;lt;pre&amp;gt; &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot; ?&amp;gt; &amp;lt;?xml-stylesheet type=&amp;quot;text/xsl&amp;quot; href=&amp;quot;XML.xslt&amp;quot; ?&amp;gt; &amp;lt;!-- Kooli andmebaas --&amp;gt; &amp;lt;School&amp;gt;   &amp;lt;!-- Klas...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== XML/XSD/XSLT ==&lt;br /&gt;
&lt;br /&gt;
=== XML ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;?xml-stylesheet type=&amp;quot;text/xsl&amp;quot; href=&amp;quot;XML.xslt&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;!-- Kooli andmebaas --&amp;gt;&lt;br /&gt;
&amp;lt;School&amp;gt;&lt;br /&gt;
  &amp;lt;!-- Klassid --&amp;gt;&lt;br /&gt;
  &amp;lt;Groups&amp;gt;&lt;br /&gt;
    &amp;lt;Group id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;Name&amp;gt;&amp;lt;![CDATA[1]]&amp;gt;&amp;lt;/Name&amp;gt;&lt;br /&gt;
      &lt;br /&gt;
      &amp;lt;Group id=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;Name&amp;gt;&amp;lt;![CDATA[1A]]&amp;gt;&amp;lt;/Name&amp;gt;&lt;br /&gt;
      &amp;lt;/Group&amp;gt;&lt;br /&gt;
      &amp;lt;Group id=&amp;quot;3&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;Name&amp;gt;&amp;lt;![CDATA[1B]]&amp;gt;&amp;lt;/Name&amp;gt;&lt;br /&gt;
      &amp;lt;/Group&amp;gt;&lt;br /&gt;
    &amp;lt;/Group&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
    &amp;lt;Group id=&amp;quot;4&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;Name&amp;gt;&amp;lt;![CDATA[2]]&amp;gt;&amp;lt;/Name&amp;gt;&lt;br /&gt;
      &lt;br /&gt;
      &amp;lt;Group id=&amp;quot;5&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;Name&amp;gt;&amp;lt;![CDATA[2A]]&amp;gt;&amp;lt;/Name&amp;gt;&lt;br /&gt;
      &amp;lt;/Group&amp;gt;&lt;br /&gt;
      &amp;lt;Group id=&amp;quot;6&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;Name&amp;gt;&amp;lt;![CDATA[2B]]&amp;gt;&amp;lt;/Name&amp;gt;&lt;br /&gt;
      &amp;lt;/Group&amp;gt;&lt;br /&gt;
    &amp;lt;/Group&amp;gt;&lt;br /&gt;
  &amp;lt;/Groups&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;!-- Õpilased --&amp;gt;&lt;br /&gt;
  &amp;lt;Students&amp;gt;&lt;br /&gt;
    &amp;lt;Student id=&amp;quot;1&amp;quot; birthDate=&amp;quot;2008-03-09 16:05:07.123&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;Name&amp;gt;&amp;lt;![CDATA[Mait Käver]]&amp;gt;&amp;lt;/Name&amp;gt;&lt;br /&gt;
      &amp;lt;GroupId&amp;gt;2&amp;lt;/GroupId&amp;gt;&lt;br /&gt;
    &amp;lt;/Student&amp;gt;&lt;br /&gt;
    &amp;lt;Student id=&amp;quot;2&amp;quot; birthDate=&amp;quot;2008-03-09 16:05:07.123&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;Name&amp;gt;&amp;lt;![CDATA[Poska-Käver Maitandres]]&amp;gt;&amp;lt;/Name&amp;gt;&lt;br /&gt;
      &amp;lt;GroupId&amp;gt;2&amp;lt;/GroupId&amp;gt;&lt;br /&gt;
    &amp;lt;/Student&amp;gt;&lt;br /&gt;
    &amp;lt;Student id=&amp;quot;3&amp;quot; birthDate=&amp;quot;2008-03-09 16:05:07.123&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;Name&amp;gt;&amp;lt;![CDATA[Andres Poska]]&amp;gt;&amp;lt;/Name&amp;gt;&lt;br /&gt;
      &amp;lt;GroupId&amp;gt;5&amp;lt;/GroupId&amp;gt;&lt;br /&gt;
    &amp;lt;/Student&amp;gt;&lt;br /&gt;
  &amp;lt;/Students&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;!-- Kursused --&amp;gt;&lt;br /&gt;
  &amp;lt;Courses&amp;gt;&lt;br /&gt;
    &amp;lt;Course id=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;Name&amp;gt;&amp;lt;![CDATA[Võrgurakendused 2: XML-i algkursus C# baasil]]&amp;gt;&amp;lt;/Name&amp;gt;&lt;br /&gt;
      &amp;lt;Students&amp;gt;&lt;br /&gt;
        &amp;lt;Student id=&amp;quot;1&amp;quot;&amp;gt;&amp;lt;/Student&amp;gt;&lt;br /&gt;
        &amp;lt;Student id=&amp;quot;2&amp;quot;&amp;gt;&amp;lt;/Student&amp;gt;&lt;br /&gt;
      &amp;lt;/Students&amp;gt;&lt;br /&gt;
    &amp;lt;/Course&amp;gt;&lt;br /&gt;
    &amp;lt;Course id=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;Name&amp;gt;&amp;lt;![CDATA[XML 3: C# baaskursus Java baasil]]&amp;gt;&amp;lt;/Name&amp;gt;&lt;br /&gt;
      &amp;lt;Students&amp;gt;&lt;br /&gt;
        &amp;lt;Student id=&amp;quot;1&amp;quot;&amp;gt;&amp;lt;/Student&amp;gt;&lt;br /&gt;
        &amp;lt;Student id=&amp;quot;2&amp;quot;&amp;gt;&amp;lt;/Student&amp;gt;&lt;br /&gt;
        &amp;lt;Student id=&amp;quot;3&amp;quot;&amp;gt;&amp;lt;/Student&amp;gt;&lt;br /&gt;
      &amp;lt;/Students&amp;gt;&lt;br /&gt;
    &amp;lt;/Course&amp;gt;&lt;br /&gt;
  &amp;lt;/Courses&amp;gt;&lt;br /&gt;
&amp;lt;/School&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== XSD ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;xs:schema attributeFormDefault=&amp;quot;unqualified&amp;quot; elementFormDefault=&amp;quot;qualified&amp;quot; xmlns:xs=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;xs:element name=&amp;quot;School&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;xs:complexType&amp;gt;&lt;br /&gt;
      &amp;lt;xs:sequence&amp;gt;&lt;br /&gt;
        &amp;lt;xs:element name=&amp;quot;Groups&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;xs:complexType&amp;gt;&lt;br /&gt;
            &amp;lt;xs:sequence&amp;gt;&lt;br /&gt;
              &amp;lt;xs:element maxOccurs=&amp;quot;unbounded&amp;quot; name=&amp;quot;Group&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;xs:complexType&amp;gt;&lt;br /&gt;
                  &amp;lt;xs:sequence&amp;gt;&lt;br /&gt;
                    &amp;lt;xs:element name=&amp;quot;Name&amp;quot;&amp;gt;&lt;br /&gt;
                      &amp;lt;xs:simpleType&amp;gt;&lt;br /&gt;
                        &amp;lt;xs:restriction base=&amp;quot;xs:string&amp;quot;&amp;gt;&lt;br /&gt;
                          &amp;lt;xs:minLength value=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
                          &amp;lt;xs:maxLength value=&amp;quot;32&amp;quot;/&amp;gt;&lt;br /&gt;
                        &amp;lt;/xs:restriction&amp;gt;&lt;br /&gt;
                      &amp;lt;/xs:simpleType&amp;gt;&lt;br /&gt;
                    &amp;lt;/xs:element&amp;gt;&lt;br /&gt;
                    &amp;lt;xs:element maxOccurs=&amp;quot;unbounded&amp;quot; name=&amp;quot;Group&amp;quot;&amp;gt;&lt;br /&gt;
                      &amp;lt;xs:complexType&amp;gt;&lt;br /&gt;
                        &amp;lt;xs:sequence&amp;gt;&lt;br /&gt;
                          &amp;lt;xs:element name=&amp;quot;Name&amp;quot;&amp;gt;&lt;br /&gt;
                            &amp;lt;xs:simpleType&amp;gt;&lt;br /&gt;
                              &amp;lt;xs:restriction base=&amp;quot;xs:string&amp;quot;&amp;gt;&lt;br /&gt;
                                &amp;lt;xs:minLength value=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
                                &amp;lt;xs:maxLength value=&amp;quot;32&amp;quot;/&amp;gt;&lt;br /&gt;
                              &amp;lt;/xs:restriction&amp;gt;&lt;br /&gt;
                            &amp;lt;/xs:simpleType&amp;gt;&lt;br /&gt;
                          &amp;lt;/xs:element&amp;gt;&lt;br /&gt;
                        &amp;lt;/xs:sequence&amp;gt;&lt;br /&gt;
                        &amp;lt;xs:attribute name=&amp;quot;id&amp;quot; type=&amp;quot;xs:unsignedByte&amp;quot; use=&amp;quot;required&amp;quot; /&amp;gt;&lt;br /&gt;
                      &amp;lt;/xs:complexType&amp;gt;&lt;br /&gt;
                    &amp;lt;/xs:element&amp;gt;&lt;br /&gt;
                  &amp;lt;/xs:sequence&amp;gt;&lt;br /&gt;
                  &amp;lt;xs:attribute name=&amp;quot;id&amp;quot; type=&amp;quot;xs:unsignedByte&amp;quot; use=&amp;quot;required&amp;quot; /&amp;gt;&lt;br /&gt;
                &amp;lt;/xs:complexType&amp;gt;&lt;br /&gt;
              &amp;lt;/xs:element&amp;gt;&lt;br /&gt;
            &amp;lt;/xs:sequence&amp;gt;&lt;br /&gt;
          &amp;lt;/xs:complexType&amp;gt;&lt;br /&gt;
        &amp;lt;/xs:element&amp;gt;&lt;br /&gt;
        &amp;lt;xs:element name=&amp;quot;Students&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;xs:complexType&amp;gt;&lt;br /&gt;
            &amp;lt;xs:sequence&amp;gt;&lt;br /&gt;
              &amp;lt;xs:element maxOccurs=&amp;quot;unbounded&amp;quot; name=&amp;quot;Student&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;xs:complexType&amp;gt;&lt;br /&gt;
                  &amp;lt;xs:sequence&amp;gt;&lt;br /&gt;
                    &amp;lt;xs:element name=&amp;quot;Name&amp;quot;&amp;gt;&lt;br /&gt;
                      &amp;lt;xs:simpleType&amp;gt;&lt;br /&gt;
                        &amp;lt;xs:restriction base=&amp;quot;xs:string&amp;quot;&amp;gt;&lt;br /&gt;
                          &amp;lt;xs:minLength value=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
                          &amp;lt;xs:maxLength value=&amp;quot;32&amp;quot;/&amp;gt;&lt;br /&gt;
                        &amp;lt;/xs:restriction&amp;gt;&lt;br /&gt;
                      &amp;lt;/xs:simpleType&amp;gt;&lt;br /&gt;
                    &amp;lt;/xs:element&amp;gt;&lt;br /&gt;
                    &amp;lt;xs:element name=&amp;quot;GroupId&amp;quot; type=&amp;quot;xs:unsignedByte&amp;quot; /&amp;gt;&lt;br /&gt;
                  &amp;lt;/xs:sequence&amp;gt;&lt;br /&gt;
                  &amp;lt;xs:attribute name=&amp;quot;id&amp;quot; type=&amp;quot;xs:unsignedByte&amp;quot; use=&amp;quot;required&amp;quot; /&amp;gt;&lt;br /&gt;
                  &amp;lt;xs:attribute name=&amp;quot;birthDate&amp;quot; type=&amp;quot;xs:string&amp;quot; use=&amp;quot;required&amp;quot; /&amp;gt;&lt;br /&gt;
                &amp;lt;/xs:complexType&amp;gt;&lt;br /&gt;
              &amp;lt;/xs:element&amp;gt;&lt;br /&gt;
            &amp;lt;/xs:sequence&amp;gt;&lt;br /&gt;
          &amp;lt;/xs:complexType&amp;gt;&lt;br /&gt;
        &amp;lt;/xs:element&amp;gt;&lt;br /&gt;
        &amp;lt;xs:element name=&amp;quot;Courses&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;xs:complexType&amp;gt;&lt;br /&gt;
            &amp;lt;xs:sequence&amp;gt;&lt;br /&gt;
              &amp;lt;xs:element maxOccurs=&amp;quot;unbounded&amp;quot; name=&amp;quot;Course&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;xs:complexType&amp;gt;&lt;br /&gt;
                  &amp;lt;xs:sequence&amp;gt;&lt;br /&gt;
                    &amp;lt;xs:element name=&amp;quot;Name&amp;quot;&amp;gt;&lt;br /&gt;
                      &amp;lt;xs:simpleType&amp;gt;&lt;br /&gt;
                        &amp;lt;xs:restriction base=&amp;quot;xs:string&amp;quot;&amp;gt;&lt;br /&gt;
                          &amp;lt;xs:minLength value=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
                          &amp;lt;xs:maxLength value=&amp;quot;32&amp;quot;/&amp;gt;&lt;br /&gt;
                        &amp;lt;/xs:restriction&amp;gt;&lt;br /&gt;
                      &amp;lt;/xs:simpleType&amp;gt;&lt;br /&gt;
                    &amp;lt;/xs:element&amp;gt;&lt;br /&gt;
                    &amp;lt;xs:element name=&amp;quot;Students&amp;quot;&amp;gt;&lt;br /&gt;
                      &amp;lt;xs:complexType&amp;gt;&lt;br /&gt;
                        &amp;lt;xs:sequence&amp;gt;&lt;br /&gt;
                          &amp;lt;xs:element maxOccurs=&amp;quot;unbounded&amp;quot; name=&amp;quot;Student&amp;quot;&amp;gt;&lt;br /&gt;
                            &amp;lt;xs:complexType&amp;gt;&lt;br /&gt;
                              &amp;lt;xs:attribute name=&amp;quot;id&amp;quot; type=&amp;quot;xs:unsignedByte&amp;quot; use=&amp;quot;required&amp;quot; /&amp;gt;&lt;br /&gt;
                            &amp;lt;/xs:complexType&amp;gt;&lt;br /&gt;
                          &amp;lt;/xs:element&amp;gt;&lt;br /&gt;
                        &amp;lt;/xs:sequence&amp;gt;&lt;br /&gt;
                      &amp;lt;/xs:complexType&amp;gt;&lt;br /&gt;
                    &amp;lt;/xs:element&amp;gt;&lt;br /&gt;
                  &amp;lt;/xs:sequence&amp;gt;&lt;br /&gt;
                  &amp;lt;xs:attribute name=&amp;quot;id&amp;quot; type=&amp;quot;xs:unsignedByte&amp;quot; use=&amp;quot;required&amp;quot; /&amp;gt;&lt;br /&gt;
                &amp;lt;/xs:complexType&amp;gt;&lt;br /&gt;
              &amp;lt;/xs:element&amp;gt;&lt;br /&gt;
            &amp;lt;/xs:sequence&amp;gt;&lt;br /&gt;
          &amp;lt;/xs:complexType&amp;gt;&lt;br /&gt;
        &amp;lt;/xs:element&amp;gt;&lt;br /&gt;
      &amp;lt;/xs:sequence&amp;gt;&lt;br /&gt;
    &amp;lt;/xs:complexType&amp;gt;&lt;br /&gt;
  &amp;lt;/xs:element&amp;gt;&lt;br /&gt;
&amp;lt;/xs:schema&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== XSLT ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;xsl:stylesheet version=&amp;quot;1.0&amp;quot;&lt;br /&gt;
  xmlns:xsl=&amp;quot;http://www.w3.org/1999/XSL/Transform&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;xsl:output method=&amp;quot;html&amp;quot; indent=&amp;quot;yes&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;!-- Key definitions --&amp;gt;&lt;br /&gt;
  &amp;lt;xsl:key name=&amp;quot;group&amp;quot; match=&amp;quot;Group&amp;quot; use=&amp;quot;@id&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;xsl:key name=&amp;quot;student&amp;quot; match=&amp;quot;School/Students/Student&amp;quot; use=&amp;quot;@id&amp;quot; /&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;xsl:template match=&amp;quot;/&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;html&amp;gt;&lt;br /&gt;
      &amp;lt;body&amp;gt;&lt;br /&gt;
        &amp;lt;h1&amp;gt;Kool&amp;lt;/h1&amp;gt;&lt;br /&gt;
&lt;br /&gt;
        &amp;lt;!-- Klassid --&amp;gt;&lt;br /&gt;
        &amp;lt;h2&amp;gt;Klassid&amp;lt;/h2&amp;gt;&lt;br /&gt;
        &amp;lt;xsl:for-each select=&amp;quot;School/Groups/Group&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;h4&amp;gt;&lt;br /&gt;
            Klassi grupp: &amp;lt;xsl:value-of select=&amp;quot;Name&amp;quot;/&amp;gt;&lt;br /&gt;
          &amp;lt;/h4&amp;gt;&lt;br /&gt;
&lt;br /&gt;
          &amp;lt;table border=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;tr bgcolor=&amp;quot;#9acd32&amp;quot;&amp;gt;&lt;br /&gt;
              &amp;lt;th&amp;gt;Id&amp;lt;/th&amp;gt;&lt;br /&gt;
              &amp;lt;th&amp;gt;Nimi&amp;lt;/th&amp;gt;&lt;br /&gt;
            &amp;lt;/tr&amp;gt;&lt;br /&gt;
            &amp;lt;xsl:for-each select=&amp;quot;Group&amp;quot;&amp;gt;&lt;br /&gt;
              &amp;lt;tr&amp;gt;&lt;br /&gt;
                &amp;lt;td&amp;gt;&lt;br /&gt;
                  &amp;lt;xsl:value-of select=&amp;quot;@id&amp;quot;/&amp;gt;&lt;br /&gt;
                &amp;lt;/td&amp;gt;&lt;br /&gt;
                &amp;lt;td&amp;gt;&lt;br /&gt;
                  &amp;lt;xsl:value-of select=&amp;quot;Name&amp;quot;/&amp;gt;&lt;br /&gt;
                &amp;lt;/td&amp;gt;&lt;br /&gt;
              &amp;lt;/tr&amp;gt;&lt;br /&gt;
            &amp;lt;/xsl:for-each&amp;gt;&lt;br /&gt;
          &amp;lt;/table&amp;gt;&lt;br /&gt;
        &amp;lt;/xsl:for-each&amp;gt;&lt;br /&gt;
        &lt;br /&gt;
        &amp;lt;!-- Õpilased --&amp;gt;&lt;br /&gt;
        &amp;lt;h2&amp;gt;Õpilased&amp;lt;/h2&amp;gt;&lt;br /&gt;
        &amp;lt;table border=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;tr bgcolor=&amp;quot;#9acd32&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;th&amp;gt;Id&amp;lt;/th&amp;gt;&lt;br /&gt;
            &amp;lt;th&amp;gt;Nimi&amp;lt;/th&amp;gt;&lt;br /&gt;
            &amp;lt;th&amp;gt;Klass&amp;lt;/th&amp;gt;&lt;br /&gt;
          &amp;lt;/tr&amp;gt;&lt;br /&gt;
          &amp;lt;xsl:for-each select=&amp;quot;School/Students/Student&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;tr&amp;gt;&lt;br /&gt;
              &amp;lt;td&amp;gt;&lt;br /&gt;
                &amp;lt;xsl:value-of select=&amp;quot;@id&amp;quot;/&amp;gt;&lt;br /&gt;
              &amp;lt;/td&amp;gt;&lt;br /&gt;
              &amp;lt;td&amp;gt;&lt;br /&gt;
                &amp;lt;xsl:value-of select=&amp;quot;Name&amp;quot;/&amp;gt;&lt;br /&gt;
              &amp;lt;/td&amp;gt;&lt;br /&gt;
              &amp;lt;td&amp;gt;&lt;br /&gt;
                &amp;lt;xsl:for-each select=&amp;quot;key(&amp;#039;group&amp;#039;, GroupId)&amp;quot;&amp;gt;&lt;br /&gt;
                    &amp;lt;xsl:value-of select=&amp;quot;Name&amp;quot;/&amp;gt;&lt;br /&gt;
                &amp;lt;/xsl:for-each&amp;gt;&lt;br /&gt;
              &amp;lt;/td&amp;gt;&lt;br /&gt;
            &amp;lt;/tr&amp;gt;&lt;br /&gt;
          &amp;lt;/xsl:for-each&amp;gt;&lt;br /&gt;
        &amp;lt;/table&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
        &amp;lt;!-- Kursused --&amp;gt;&lt;br /&gt;
        &amp;lt;h2&amp;gt;Kursused&amp;lt;/h2&amp;gt;&lt;br /&gt;
        &amp;lt;table border=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;tr bgcolor=&amp;quot;#9acd32&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;th&amp;gt;Id&amp;lt;/th&amp;gt;&lt;br /&gt;
            &amp;lt;th&amp;gt;Nimi&amp;lt;/th&amp;gt;&lt;br /&gt;
            &amp;lt;th&amp;gt;Tudengid&amp;lt;/th&amp;gt;&lt;br /&gt;
          &amp;lt;/tr&amp;gt;&lt;br /&gt;
          &amp;lt;xsl:for-each select=&amp;quot;School/Courses/Course&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;tr&amp;gt;&lt;br /&gt;
              &amp;lt;td&amp;gt;&lt;br /&gt;
                &amp;lt;xsl:value-of select=&amp;quot;@id&amp;quot;/&amp;gt;&lt;br /&gt;
              &amp;lt;/td&amp;gt;&lt;br /&gt;
              &amp;lt;td&amp;gt;&lt;br /&gt;
                &amp;lt;xsl:value-of select=&amp;quot;Name&amp;quot;/&amp;gt;&lt;br /&gt;
              &amp;lt;/td&amp;gt;&lt;br /&gt;
              &amp;lt;td&amp;gt;&lt;br /&gt;
                &amp;lt;xsl:for-each select=&amp;quot;key(&amp;#039;student&amp;#039;, Students/Student/@id)&amp;quot;&amp;gt;&lt;br /&gt;
                  &amp;lt;xsl:value-of select=&amp;quot;Name&amp;quot;/&amp;gt;&lt;br /&gt;
                  &amp;lt;br/&amp;gt;&lt;br /&gt;
                &amp;lt;/xsl:for-each&amp;gt;&lt;br /&gt;
              &amp;lt;/td&amp;gt;&lt;br /&gt;
            &amp;lt;/tr&amp;gt;&lt;br /&gt;
          &amp;lt;/xsl:for-each&amp;gt;&lt;br /&gt;
        &amp;lt;/table&amp;gt;&lt;br /&gt;
      &amp;lt;/body&amp;gt;&lt;br /&gt;
    &amp;lt;/html&amp;gt;&lt;br /&gt;
  &amp;lt;/xsl:template&amp;gt;&lt;br /&gt;
&amp;lt;/xsl:stylesheet&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Treinpal</name></author>
	</entry>
</feed>