305
ID | 305 |
Data | 2010-02-08 |
Symbol | 2010/02/08/305 |
Instytucja | Urząd Miasta Tarnobrzeg |
Nazwa | Wniosek o zwrot podatku akcyzowego zawartego w cenie oleju napędowego wykorzystywanego do produkcji rolnej na rok...marzec... wrzesień... |
Czy Aktualny | 0 |
---|
Ustawy (1)
Pliki
Styl
<?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" xmlns:adr="http://crd.gov.pl/xml/schematy/adres/2009/03/06/" xmlns:wnio="http://crd.gov.pl/wzor/2010/02/08/305/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:inst="http://crd.gov.pl/xml/schematy/instytucja/2009/03/06/" xmlns:meta="http://crd.gov.pl/xml/schematy/meta/2009/03/06/" xmlns:mr="http://crd.gov.pl/xml/schematy/dziedzinowe/mr/2009/03/06/" xmlns:ns="http://www.unece.org/etrades/unedocs/repository/codelists/xml/CountryCode.xsd" xmlns:ns1="http://lcweb.loc.gov/standards/iso639-2/" xmlns:oso="http://crd.gov.pl/xml/schematy/osoba/2009/03/06/" xmlns:str="http://crd.gov.pl/xml/schematy/struktura/2009/03/06/" xmlns:typy="http://crd.gov.pl/xml/schematy/typy/2009/03/06/" xmlns:xades="http://uri.etsi.org/01903/v1.3.2#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0" xsi:schemaLocation="http://www.w3.org/1999/XSL/Transform http://www.w3.org/2005/02/schema-for-xslt20.xsd">
<xsl:output encoding="UTF-8" indent="yes" media-type="text/html" method="xml" version="1.0"/>
<xsl:template match="/wnio:Dokument">
<html xml:lang="pl">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="content-type"/>
<title>
Wniosek o zwrot podatku akcyzowego zawartego w cenie oleju napędowego wykorzystywanego do produkcji rolnej na rok...marzec... wrzesień...
<xsl:text> (</xsl:text>
MR-ZPAON
<xsl:text>)</xsl:text>
</title>
<style type="text/css">
<xsl:text>.fform { font-family: sans-serif; font-size: 10pt; color: black; } </xsl:text>
<xsl:text>.fform * { font-family: inherit; font-size: inherit; color: inherit; } </xsl:text>
<xsl:text>.fform p { margin: 0 0 0.2em 0; } </xsl:text>
<xsl:text>.fform p.title { text-align: center; font-size: 1.2em; font-weight: bold; margin-top: 1em; margin-bottom: 1em; } </xsl:text>
<xsl:text>.fform p.title .symbol { color: Gray; } </xsl:text>
<xsl:text>.fform div.trescDok { margin-top: 1em; margin-bottom: 1em; border: solid 1px Gray; background-color: WhiteSmoke; } </xsl:text>
<xsl:text>.fform div.trescDok table td { padding: 3px 0px 4px 15px; } </xsl:text>
<xsl:text>.fform div.trescDok table table td.sublevel, .fform div.trescDok table table table { background-color: WhiteSmoke; } </xsl:text>
<xsl:text>.fform div.daneDok { margin-top: 1em; margin-bottom: 1em; border: solid 1px #7099c5; background-color: #f0f0ff; } </xsl:text>
<xsl:text>.fform div.daneDok table td { padding: 3px 0px 4px 15px; } </xsl:text>
<xsl:text>.fform div.daneDok table table td.sublevel, .fform div.daneDok table table table { background-color: #f0f0ff; } </xsl:text>
<xsl:text>.fform div.sigInfo { margin-top: 1em; margin-bottom: 1em; border: solid 1px #7099c5; background-color: #f0f0ff; } </xsl:text>
<xsl:text>.fform div.sigInfo table td { padding: 3px 0px 4px 15px; } </xsl:text>
<xsl:text>.fform td.label { width: 20%; color: Gray; } </xsl:text>
<xsl:text>.fform td.value { font-weight: bold; width: 80%; } </xsl:text>
<xsl:text>.fform td.value2 { width: 80%; } </xsl:text>
<xsl:text>.fform table { width: 100%; } </xsl:text>
<xsl:text>.fform table td.sublevel, .fform table table { background-color: White; } </xsl:text>
<xsl:text>.fform table table table td.sublevel, .fform table table table table { background-color: White; } </xsl:text>
</style>
</head>
<body class="fform">
<div class="trescDok">
<p class="title">Wniosek o zwrot podatku akcyzowego zawartego w cenie oleju napędowego wykorzystywanego do produkcji rolnej na rok...marzec... wrzesień... <span class="symbol">(MR-ZPAON)</span>
</p>
<table>
<xsl:apply-templates select="wnio:TrescDokumentu/*"/>
</table>
</div>
<div class="daneDok">
<p class="title">Metryka dokumentu</p>
<table>
<xsl:apply-templates select="wnio:DaneDokumentu"/>
</table>
</div>
<div class="sigInfo">
<p class="title">Podpis elektroniczny</p>
<xsl:choose>
<xsl:when test="ds:Signature">
<p>
<xsl:text>Dokument został podpisany</xsl:text>
<xsl:choose>
<xsl:when test="ds:Signature/ds:Object/xades:QualifyingProperties/xades:SignedProperties/xades:SignedSignatureProperties/xades:SigningTime">
<xsl:text> w formacie XAdES v1.3.2 w dniu </xsl:text>
<b>
<xsl:value-of select="substring-before(ds:Signature/ds:Object/xades:QualifyingProperties/xades:SignedProperties/xades:SignedSignatureProperties/xades:SigningTime, 'T')"/>
</b>
<xsl:text> o godzinie </xsl:text>
<b>
<xsl:value-of select="substring-before(substring-after(ds:Signature/ds:Object/xades:QualifyingProperties/xades:SignedProperties/xades:SignedSignatureProperties/xades:SigningTime, 'T'), 'Z')"/>
</b>
<xsl:text> czasu uniwersalnego UTC</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text> w formacie XML DSig</xsl:text>
</xsl:otherwise>
</xsl:choose>
<xsl:text> - aby go zweryfikować należy użyć oprogramowania do weryfikacji podpisu.</xsl:text>
</p>
<xsl:if test="ds:Signature/ds:KeyInfo/ds:X509Data/ds:X509SubjectName">
<p>Dokument podpisany przy pomocy klucza weryfikowanego certyfikatem X.509 wystawionym dla <b>
<xsl:value-of select="ds:Signature/ds:KeyInfo/ds:X509Data/ds:X509SubjectName"/>
</b>.</p>
</xsl:if>
<p>Lista podpisanych elementów (referencji)</p>
<table>
<tr>
<th>Id obiektu</th>
<th>Adres URI obiektu</th>
<th>Skrót podpisanego obiektu</th>
</tr>
<xsl:for-each select="ds:Signature/ds:SignedInfo/ds:Reference">
<tr>
<td>
<xsl:choose>
<xsl:when test="@Id!=''">
<xsl:value-of select="@Id"/>
</xsl:when>
<xsl:otherwise>brak</xsl:otherwise>
</xsl:choose>
</td>
<td>
<xsl:choose>
<xsl:when test="@URI!=''">
<xsl:value-of select="@URI"/>
</xsl:when>
<xsl:otherwise>referencja do tego samego dokumentu</xsl:otherwise>
</xsl:choose>
</td>
<td>
<xsl:choose>
<xsl:when test="ds:DigestValue">
<xsl:value-of select="ds:DigestValue"/>
</xsl:when>
<xsl:otherwise>Brak skrótu!!!</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</xsl:for-each>
</table>
</xsl:when>
<xsl:otherwise>
<p>Dokument nie zawiera podpisu elektronicznego.</p>
</xsl:otherwise>
</xsl:choose>
</div>
</body>
</html>
</xsl:template>
<xsl:template match="wnio:DaneDokumentu">
<xsl:if test="str:Naglowek/str:NazwaDokumentu">
<tr>
<td class="label">Nazwa dokumentu</td>
<td class="value">
<xsl:value-of select="str:Naglowek/str:NazwaDokumentu"/>
</td>
</tr>
</xsl:if>
<xsl:apply-templates select="meta:Identyfikator"/>
<xsl:for-each select="str:Adresaci">
<tr>
<td class="sublevel" colspan="2">Adresat<br/>
<table class="level2">
<xsl:apply-templates select="meta:Podmiot"/>
</table>
</td>
</tr>
</xsl:for-each>
<xsl:for-each select="str:Nadawcy">
<tr>
<td class="sublevel" colspan="2">Nadawca<br/>
<table>
<xsl:apply-templates select="meta:Podmiot"/>
</table>
</td>
</tr>
</xsl:for-each>
</xsl:template>
<!-- Adres -->
<xsl:template match="adr:Adres">
<xsl:apply-templates select="adr:KodPocztowy"/>
<xsl:apply-templates select="adr:Poczta"/>
<xsl:apply-templates select="adr:Miejscowosc"/>
<xsl:apply-templates select="adr:Ulica"/>
<xsl:apply-templates select="adr:Budynek"/>
<xsl:apply-templates select="adr:Lokal"/>
<xsl:apply-templates select="adr:SkrytkaPocztowa"/>
<xsl:apply-templates select="adr:Kraj"/>
<xsl:apply-templates select="adr:TERC"/>
<xsl:apply-templates select="adr:SIMC"/>
<xsl:apply-templates select="adr:ULIC"/>
<xsl:apply-templates select="adr:Wojewodztwo"/>
<xsl:apply-templates select="adr:Powiat"/>
<xsl:apply-templates select="adr:Gmina"/>
<xsl:apply-templates select="adr:Uwagi"/>
</xsl:template>
<xsl:template match="adr:KodPocztowy">
<tr>
<td class="label">Kod pocztowy</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="adr:Poczta">
<tr>
<td class="label">Poczta</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="adr:Miejscowosc">
<tr>
<td class="label">Miejscowość</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="adr:Ulica">
<tr>
<td class="label">Ulica</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="adr:Budynek">
<tr>
<td class="label">Nr budynku</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="adr:Lokal">
<tr>
<td class="label">Nr lokalu</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="adr:SkrytkaPocztowa">
<tr>
<td class="label">Nr skrytki pocztowej</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="adr:Kraj">
<tr>
<td class="label">Kod kraju</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="adr:TERC">
<tr>
<td class="label">Kod TERC</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="adr:SIMC">
<tr>
<td class="label">Kod SIMC</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="adr:ULIC">
<tr>
<td class="label">Kod ULIC</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="adr:Wojewodztwo">
<tr>
<td class="label">Województwo</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="adr:Powiat">
<tr>
<td class="label">Powiat</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="adr:Gmina">
<tr>
<td class="label">Gmina</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="adr:Uwagi">
<tr>
<td class="label">Uwagi dotyczące adresu</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="adr:Kontakt">
<xsl:apply-templates select="adr:Telefon|adr:Faks|adr:Email|adr:URIKontakt|adr:InnyKontakt"/>
</xsl:template>
<xsl:template match="adr:Telefon">
<tr>
<td class="label">Telefon</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="adr:Faks">
<tr>
<td class="label">Faks</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="adr:Email">
<tr>
<td class="label">E-mail</td>
<td class="value">
<a href="mailto:{text()}">
<xsl:value-of select="text()"/>
</a>
</td>
</tr>
</xsl:template>
<xsl:template match="adr:URIKontakt">
<tr>
<td class="label">Kontakt URI</td>
<td class="value">
<a href="{text()}">
<xsl:value-of select="text()"/>
</a>
</td>
</tr>
</xsl:template>
<xsl:template match="adr:InnyKontakt">
<tr>
<td class="label">Inny kontakt</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<!-- Osoba -->
<xsl:template match="oso:Osoba">
<xsl:apply-templates select="oso:IdOsoby"/>
<xsl:apply-templates select="oso:Imie"/>
<xsl:apply-templates select="oso:ImieDrugie"/>
<xsl:if test="oso:Nazwisko">
<tr>
<td class="label">Nazwisko</td>
<td class="value">
<xsl:if test="oso:Nazwisko[@rodzajCzlonu='pierwszy']">
<xsl:value-of select="oso:Nazwisko[@rodzajCzlonu='pierwszy']"/>
<xsl:text> </xsl:text>
</xsl:if>
<xsl:if test="oso:Nazwisko[@rodzajCzlonu='drugi']">
<xsl:value-of select="oso:Nazwisko[@rodzajCzlonu='drugi']"/>
<xsl:text> </xsl:text>
</xsl:if>
<xsl:if test="oso:Nazwisko[@rodzajCzlonu='trzeci']">
<xsl:value-of select="oso:Nazwisko[@rodzajCzlonu='trzeci']"/>
<xsl:text> </xsl:text>
</xsl:if>
<xsl:if test="oso:Nazwisko[not(@rodzajCzlonu)]">
<xsl:value-of select="oso:Nazwisko[not(@rodzajCzlonu)]"/>
<xsl:text> </xsl:text>
</xsl:if>
</td>
</tr>
</xsl:if>
<xsl:apply-templates select="adr:Adres"/>
<xsl:apply-templates select="adr:Kontakt"/>
</xsl:template>
<xsl:template match="oso:IdOsoby">
<xsl:apply-templates select="oso:PESEL"/>
<xsl:apply-templates select="oso:NIP"/>
<xsl:apply-templates select="oso:InnyIdentyfikator"/>
</xsl:template>
<xsl:template match="oso:PESEL">
<tr>
<td class="label">Numer PESEL</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="oso:NIP">
<tr>
<td class="label">Numer NIP</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="oso:InnyIdentyfikator">
<tr>
<td class="label">Identyfikator <xsl:value-of select="oso:TypIdentyfikatora"/>
</td>
<td class="value">
<xsl:value-of select="oso:WartoscIdentyfikatora"/>
</td>
</tr>
</xsl:template>
<xsl:template match="oso:Imie">
<tr>
<td class="label">Imię</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="oso:ImieDrugie">
<tr>
<td class="label">Imię drugie</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="oso:ImieOjca">
<tr>
<td class="label">Imię ojca</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="oso:ImieMatki">
<tr>
<td class="label">Imię matki</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="oso:Nazwisko[not(@rodzajCzlonu)]">
<tr>
<td class="label">Nazwisko</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="oso:Nazwisko[@rodzajCzlonu='pierwszy']">
<tr>
<td class="label">Nazwisko - człon pierwszy</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="oso:Nazwisko[@rodzajCzlonu='drugi']">
<tr>
<td class="label">Nazwisko - człon drugi</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="oso:Nazwisko[@rodzajCzlonu='trzeci']">
<tr>
<td class="label">Nazwisko - człon trzeci</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="oso:NazwiskoRodowe">
<tr>
<td class="label">Nazwisko rodowe</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="oso:NazwiskoRodoweOjca">
<tr>
<td class="label">Nazwisko rodowe ojca</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="oso:NazwiskoRodoweMatki">
<tr>
<td class="label">Nazwisko rodowe matki</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="oso:NazwiskoPoprzednie">
<tr>
<td class="label">Nazwisko poprzednie</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="oso:MiejsceUrodzenia">
<tr>
<td class="label">Miejsce urodzenia</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="oso:DataUrodzenia">
<tr>
<td class="label">Data urodzenia</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="oso:Plec">
<tr>
<td class="label">Płeć</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="oso:RodzajDowoduTozsamosci">
<tr>
<td class="label">Rodzaj dowodu tożsamości</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="oso:NrDowoduTozsamosci">
<tr>
<td class="label">Nr dowodu tożsamości</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="oso:DataWydaniaDowoduTozsamosci">
<tr>
<td class="label">Data wydania dowodu tożsamości</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="oso:Obywatelstwo">
<tr>
<td class="label">Obywatelstwo</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="oso:Narodowosc">
<tr>
<td class="label">Narodowość</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="oso:StopienPokrewienstwa">
<tr>
<td class="label">Stopień pokrewieństwa</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="oso:StanCywilny">
<tr>
<td class="label">Stan cywilny</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="oso:WyksztalceniePoziom">
<tr>
<td class="label">Poziom wykształcenia</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="oso:WyksztalcenieOpis">
<tr>
<td class="label">Opis wykształcenia</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="oso:Zawod">
<tr>
<td class="label">Zawód</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<!-- Instytucja -->
<xsl:template match="inst:Instytucja">
<xsl:apply-templates select="inst:IdInstytucji/inst:KRS"/>
<xsl:apply-templates select="inst:IdInstytucji/inst:NIP"/>
<xsl:apply-templates select="inst:IdInstytucji/inst:REGON"/>
<xsl:apply-templates select="inst:IdInstytucji/inst:InnyIdentyfikator"/>
<xsl:apply-templates select="inst:NazwaInstytucji"/>
<xsl:if test="adr:Adres">
<tr>
<td class="sublevel" colspan="2">Adres<br/>
<table>
<xsl:apply-templates select="adr:Adres"/>
</table>
</td>
</tr>
</xsl:if>
<xsl:if test="adr:Kontakt">
<tr>
<td class="sublevel" colspan="2">Kontakt<br/>
<table>
<xsl:apply-templates select="adr:Kontakt"/>
</table>
</td>
</tr>
</xsl:if>
<xsl:apply-templates select="inst:Jednostka"/>
<xsl:apply-templates select="inst:Pracownik"/>
</xsl:template>
<xsl:template match="inst:Jednostka">
<tr>
<td class="sublevel" colspan="2">Jednostka organizacyjna<br/>
<table>
<xsl:apply-templates select="inst:NazwaInstytucji"/>
<xsl:if test="adr:Adres">
<tr>
<td class="sublevel" colspan="2">Adres<br/>
<table>
<xsl:apply-templates select="adr:Adres"/>
</table>
</td>
</tr>
</xsl:if>
<xsl:if test="adr:Kontakt">
<tr>
<td class="sublevel" colspan="2">Kontakt<br/>
<table>
<xsl:apply-templates select="adr:Kontakt"/>
</table>
</td>
</tr>
</xsl:if>
<xsl:apply-templates select="inst:Jednostka"/>
<xsl:apply-templates select="inst:Poziom"/>
<xsl:apply-templates select="inst:Pracownik"/>
</table>
</td>
</tr>
</xsl:template>
<xsl:template match="inst:KRS">
<tr>
<td class="label">Numer KRS</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="inst:NIP">
<tr>
<td class="label">Numer NIP</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="inst:REGON">
<tr>
<td class="label">Numer REGON</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="inst:InnyIdentyfikator">
<tr>
<td class="label">Identyfikator <xsl:value-of select="inst:TypIdentyfikatora"/>
</td>
<td class="value">
<xsl:value-of select="inst:WartoscIdentyfikatora"/>
</td>
</tr>
</xsl:template>
<xsl:template match="inst:NazwaInstytucji">
<tr>
<td class="label">Nazwa</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="inst:Poziom">
<tr>
<td class="label">Poziom w strukturze organizacyjnej</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="inst:Pracownik">
<tr>
<td class="sublevel" colspan="2">Pracownik<br/>
<table>
<xsl:apply-templates select="oso:IdOsoby"/>
<xsl:apply-templates select="oso:Imie"/>
<xsl:apply-templates select="oso:ImieDrugie"/>
<xsl:if test="oso:Nazwisko">
<tr>
<td class="label">Nazwisko</td>
<td class="value">
<xsl:if test="oso:Nazwisko[@rodzajCzlonu='pierwszy']">
<xsl:value-of select="oso:Nazwisko[@rodzajCzlonu='pierwszy']"/>
<xsl:text> </xsl:text>
</xsl:if>
<xsl:if test="oso:Nazwisko[@rodzajCzlonu='drugi']">
<xsl:value-of select="oso:Nazwisko[@rodzajCzlonu='pierwszy']"/>
<xsl:text> </xsl:text>
</xsl:if>
<xsl:if test="oso:Nazwisko[@rodzajCzlonu='trzeci']">
<xsl:value-of select="oso:Nazwisko[@rodzajCzlonu='pierwszy']"/>
<xsl:text> </xsl:text>
</xsl:if>
<xsl:if test="oso:Nazwisko[not(@rodzajCzlonu)]">
<xsl:value-of select="oso:Nazwisko[not(@rodzajCzlonu)]"/>
<xsl:text> </xsl:text>
</xsl:if>
</td>
</tr>
</xsl:if>
<xsl:apply-templates select="adr:Kontakt"/>
<xsl:apply-templates select="inst:Funkcja"/>
</table>
</td>
</tr>
</xsl:template>
<xsl:template match="inst:Funkcja">
<tr>
<td class="label">Funkcja</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<!-- Meta -->
<xsl:template match="meta:Data">
<tr>
<td class="label">
<xsl:choose>
<xsl:when test="@typDaty='dostepnyPo'">
Data udostępnienia
</xsl:when>
<xsl:when test="@typDaty='opublikowany'">
Data opublikowania
</xsl:when>
<xsl:when test="@typDaty='stworzony'">
Data stworzenia
</xsl:when>
<xsl:when test="@typDaty='uzyskany'">
Data uzyskania
</xsl:when>
<xsl:when test="@typDaty='otrzymany'">
Data otrzymania
</xsl:when>
<xsl:when test="@typDaty='wyslany'">
Data wysłania
</xsl:when>
<xsl:when test="@typDaty='zaakceptowany'">
Data zaakceptowania
</xsl:when>
<xsl:when test="@typDaty='zatwierdzony'">
Data zatwierdzenia
</xsl:when>
<xsl:when test="@typDaty='zmodyfikowany'">
Data zmodyfikowania
</xsl:when>
<xsl:when test="@typDaty='datySkrajne'">
Daty skrajne
</xsl:when>
<xsl:when test="@typDaty='zdarzenia'">
Data zdarzenie
</xsl:when>
<xsl:when test="@typDaty='waznosci'">
Data ważności
</xsl:when>
<xsl:when test="@typDaty='odrzucony'">
Data odrzucenia
</xsl:when>
<xsl:when test="@typDaty='inna'">
Inna data
</xsl:when>
</xsl:choose>
</td>
<td class="value">
<xsl:if test="meta:Czas">
<xsl:value-of select="meta:Czas"/>
<xsl:text> </xsl:text>
</xsl:if>
<xsl:if test="meta:Od">
<xsl:text>od </xsl:text>
<xsl:value-of select="meta:Od"/>
<xsl:text> </xsl:text>
</xsl:if>
<xsl:if test="meta:Do">
<xsl:text>do </xsl:text>
<xsl:value-of select="meta:Do"/>
<xsl:text> </xsl:text>
</xsl:if>
<xsl:if test="@typDatyUzupelnienie">
<br/>
<xsl:value-of select="@typDatyUzupelnienie"/>
</xsl:if>
</td>
</tr>
</xsl:template>
<xsl:template match="meta:Od">
<tr>
<td class="label">Od</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="meta:Do">
<tr>
<td class="label">Do</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="meta:Opis">
<tr>
<td class="label">Opis</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="meta:Identyfikator">
<tr>
<td class="label">Identyfikator <xsl:value-of select="@typIdentyfikatora"/>
</td>
<td class="value">
<xsl:value-of select="meta:Wartosc"/>
<xsl:if test="meta:Podmiot/inst:Instytucja/inst:NazwaInstytucji">
<br/>Rejestr prowadzony przez <xsl:value-of select="meta:Podmiot/inst:Instytucja/inst:NazwaInstytucji"/>
</xsl:if>
</td>
</tr>
</xsl:template>
<xsl:template match="meta:Podmiot">
<xsl:apply-templates select="inst:Instytucja"/>
<xsl:apply-templates select="oso:Osoba"/>
</xsl:template>
<xsl:template match="meta:ZnakSprawy">
<tr>
<td class="label">Znak sprawy</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<!-- Struktura -->
<xsl:template match="str:Zalaczniki">
<xsl:apply-templates select="str:Zalacznik"/>
</xsl:template>
<xsl:template match="str:Zalacznik">
<tr>
<td class="label">Załącznik</td>
<td class="value2">
<xsl:call-template name="str_ZalacznikTypValue"/>
</td>
</tr>
</xsl:template>
<xsl:template name="str_ZalacznikTypValue">
<xsl:choose>
<xsl:when test="@kodowanie='URI'">
<xsl:text>Załącznik zewnętrzny w formacie </xsl:text>
<b>
<xsl:value-of select="@format"/>
</b>
<xsl:text> dostępny pod adresem URI: </xsl:text>
<b>
<xsl:value-of select="str:DaneZalacznika"/>
</b>
</xsl:when>
<xsl:when test="@kodowanie='base64'">
<xsl:text>Załącznik w formacie </xsl:text>
<b>
<xsl:value-of select="@format"/>
</b>
<xsl:text> zapisany wewnątrz treści dokumentu.</xsl:text>
</xsl:when>
</xsl:choose>
<xsl:if test="@nazwaPliku">
<br/>Nazwa pliku: <b>
<xsl:value-of select="@nazwaPliku"/>
</b>
</xsl:if>
<xsl:if test="str:OpisZalacznika">
<br/>Opis załącznika:<br/>
<xsl:value-of select="str:OpisZalacznika"/>
</xsl:if>
</xsl:template>
<xsl:template match="str:OpisZalacznika">
<tr>
<td class="label">Opis załącznika</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="str:NumerDokumentu">
<tr>
<td class="label">Numer dokumentu</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<!-- DSig -->
<xsl:template match="ds:Signature">
<tr>
<td class="label">Podpis elektroniczny</td>
<td class="value2">
<xsl:text>Złożony </xsl:text>
<xsl:choose>
<xsl:when test="ds:Object/xades:QualifyingProperties/xades:SignedProperties/xades:SignedSignatureProperties/xades:SigningTime">
<xsl:text> w formacie XAdES v1.3.2 w dniu </xsl:text>
<b>
<xsl:value-of select="substring-before(ds:Object/xades:QualifyingProperties/xades:SignedProperties/xades:SignedSignatureProperties/xades:SigningTime, 'T')"/>
</b>
<xsl:text> o godzinie </xsl:text>
<b>
<xsl:value-of select="substring-before(substring-after(ds:Object/xades:QualifyingProperties/xades:SignedProperties/xades:SignedSignatureProperties/xades:SigningTime, 'T'), 'Z')"/>
</b>
<xsl:text> czasu uniwersalnego UTC</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text> w formacie XML DSig</xsl:text>
</xsl:otherwise>
</xsl:choose>
<xsl:text> - aby go zweryfikować należy użyć oprogramowania do weryfikacji podpisu. </xsl:text>
<br/>
<xsl:if test="ds:KeyInfo/ds:X509Data/ds:X509SubjectName">
<xsl:text>Złożony przy pomocy klucza weryfikowanego certyfikatem X.509 wystawionym dla </xsl:text>
<b>
<xsl:value-of select="ds:KeyInfo/ds:X509Data/ds:X509SubjectName"/>
</b>
<xsl:text>.</xsl:text>
<br/>
</xsl:if>
<xsl:text>Lista podpisanych elementów (referencji): </xsl:text>
<xsl:for-each select="ds:SignedInfo/ds:Reference">
<xsl:if test="position()!=1">
<xsl:text>, </xsl:text>
</xsl:if>
<xsl:choose>
<xsl:when test="@URI!=''">
<xsl:value-of select="@URI"/>
</xsl:when>
<xsl:otherwise>referencja do tego samego dokumentu<br/>
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
<xsl:text>.</xsl:text>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:Wniosek">
<tr>
<td class="sublevel" colspan="2">Wniosek o zwrot podatku akcyzowego zawartego w cenie oleju napędowego wykorzystanego do produkcji rolnej<br/>
<table>
<xsl:apply-templates select="typy:Rok"/>
<xsl:apply-templates select="wnio:Marzec"/>
<xsl:apply-templates select="wnio:Wrzesien"/>
</table>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:Wniosek/typy:Rok">
<tr>
<td class="label">na rok</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:Wniosek/wnio:Marzec">
<tr>
<td class="label">marzec</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:Wniosek/wnio:Wrzesien">
<tr>
<td class="label">wrzesień</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:MiejsceSkladaniaWniosku">
<tr>
<td class="label">Miejsce składania wniosku: wójt, burmistrz (prezydent miasta), do którego składany jest wniosek</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:DaneWnioskodawcy">
<tr>
<td class="sublevel" colspan="2">Dane identyfikacyjne wnioskodawcy<br/>
<table>
<xsl:apply-templates select="oso:Nazwisko"/>
<xsl:apply-templates select="oso:Imie"/>
<xsl:apply-templates select="oso:ImieDrugie"/>
<xsl:apply-templates select="wnio:NazwaFirmy"/>
<xsl:apply-templates select="wnio:NazwaFirmySkrocona"/>
<xsl:apply-templates select="oso:NIP"/>
<xsl:apply-templates select="wnio:PESEL"/>
<xsl:apply-templates select="wnio:DowodOsobisty"/>
<xsl:apply-templates select="wnio:InnyDokument"/>
</table>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:DaneWnioskodawcy/oso:Imie">
<tr>
<td class="label">Pierwsze imię</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:DaneWnioskodawcy/oso:ImieDrugie">
<tr>
<td class="label">Drugie imię</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:DaneWnioskodawcy/wnio:NazwaFirmy">
<tr>
<td class="label">Nazwa firmy</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:DaneWnioskodawcy/wnio:NazwaFirmySkrocona">
<tr>
<td class="label">Nazwa skrócona</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:DaneWnioskodawcy/wnio:PESEL">
<tr>
<td class="label">PESEL</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:DaneWnioskodawcy/wnio:DowodOsobisty">
<tr>
<td class="sublevel" colspan="2">Dowód osobisty<br/>
<table>
<xsl:apply-templates select="str:NumerDokumentu"/>
<xsl:apply-templates select="inst:NazwaInstytucji"/>
</table>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:DaneWnioskodawcy/wnio:DowodOsobisty/str:NumerDokumentu">
<tr>
<td class="label">Numer</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:DaneWnioskodawcy/wnio:DowodOsobisty/inst:NazwaInstytucji">
<tr>
<td class="label">Wydany przez</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:DaneWnioskodawcy/wnio:InnyDokument">
<tr>
<td class="sublevel" colspan="2">Inny dokument potwierdzający tożsamość<br/>
<table>
<xsl:apply-templates select="wnio:NazwaDokumentu"/>
<xsl:apply-templates select="str:NumerDokumentu"/>
<xsl:apply-templates select="inst:NazwaInstytucji"/>
</table>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:DaneWnioskodawcy/wnio:InnyDokument/wnio:NazwaDokumentu">
<tr>
<td class="label">Rodzaj dokumentu</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:DaneWnioskodawcy/wnio:InnyDokument/str:NumerDokumentu">
<tr>
<td class="label">Numer dokumentu</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:DaneWnioskodawcy/wnio:InnyDokument/inst:NazwaInstytucji">
<tr>
<td class="label">Wydany przez</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:AdresWnioskodawcy">
<tr>
<td class="sublevel" colspan="2">Miejsce zamieszkania i adres/siedziba i adres producenta rolnego<br/>
<table>
<xsl:apply-templates select="adr:KodPocztowy"/>
<xsl:apply-templates select="adr:Poczta"/>
<xsl:apply-templates select="adr:Miejscowosc"/>
<xsl:apply-templates select="adr:Ulica"/>
<xsl:apply-templates select="adr:Budynek"/>
<xsl:apply-templates select="adr:Lokal"/>
<xsl:apply-templates select="adr:SkrytkaPocztowa"/>
<xsl:apply-templates select="adr:Kraj"/>
<xsl:apply-templates select="adr:TERC"/>
<xsl:apply-templates select="adr:SIMC"/>
<xsl:apply-templates select="adr:ULIC"/>
<xsl:apply-templates select="adr:Wojewodztwo"/>
<xsl:apply-templates select="adr:Powiat"/>
<xsl:apply-templates select="adr:Gmina"/>
<xsl:apply-templates select="adr:Uwagi"/>
</table>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:PowierzchniaUzytkowRolnych">
<tr>
<td class="sublevel" colspan="2">Oświadczenie o powierzchni użytków rolnych<br/>
<table>
<xsl:apply-templates select="wnio:PosiadaczUzytkow"/>
<xsl:apply-templates select="wnio:WspolposiadaczUzytkow"/>
<xsl:apply-templates select="wnio:BudynekRok"/>
<xsl:apply-templates select="adr:Gmina"/>
</table>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:PowierzchniaUzytkowRolnych/wnio:PosiadaczUzytkow">
<tr>
<td class="sublevel" colspan="2">Oświadczam, że jestem posiadaczem użytków rolnych o powierzchni<br/>
<table>
<xsl:apply-templates select="wnio:Hektary"/>
<xsl:apply-templates select="wnio:Ary"/>
</table>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:PowierzchniaUzytkowRolnych/wnio:PosiadaczUzytkow/wnio:Hektary">
<tr>
<td class="label">ha</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:PowierzchniaUzytkowRolnych/wnio:PosiadaczUzytkow/wnio:Ary">
<tr>
<td class="label">a</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:PowierzchniaUzytkowRolnych/wnio:WspolposiadaczUzytkow">
<tr>
<td class="sublevel" colspan="2">współposiadaczem użytków rolnych o powierzchni określonej w ewidencji gruntów<br/>
<table>
<xsl:apply-templates select="wnio:Hektary"/>
<xsl:apply-templates select="wnio:Ary"/>
</table>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:PowierzchniaUzytkowRolnych/wnio:WspolposiadaczUzytkow/wnio:Hektary">
<tr>
<td class="label">ha</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:PowierzchniaUzytkowRolnych/wnio:WspolposiadaczUzytkow/wnio:Ary">
<tr>
<td class="label">a</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:PowierzchniaUzytkowRolnych/wnio:BudynekRok">
<tr>
<td class="label">i budynków wg stanu na dzień 1 kwietnia roku</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:PowierzchniaUzytkowRolnych/adr:Gmina">
<tr>
<td class="label">wykorzystywanych do produkcji rolnej, położonych na obszarze Gminy</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:Zalaczniki">
<tr>
<td class="sublevel" colspan="2">Informacja o załącznikach<br/>
<table>
<xsl:apply-templates select="wnio:ZalacznikiLiczba"/>
<xsl:apply-templates select="wnio:ZalacznikiWykaz"/>
</table>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:Zalaczniki/wnio:ZalacznikiLiczba">
<tr>
<td class="label">Liczba załączników</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:Zalaczniki/wnio:ZalacznikiWykaz">
<tr>
<td class="label">Potwierdzam za zgodność z oryginałem</td>
<td class="value">
<xsl:choose>
<xsl:when test="wnio:Potwierdzenie = 1">
<input type="checkbox" readonly="readonly" checked="checked" onclick="return false;"/>
</xsl:when>
<xsl:otherwise>
<input type="checkbox" readonly="readonly" onclick="return false;"/>
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
<tr>
<td class="sublevel" colspan="2">Wykaz załączników<br/>
<table>
<xsl:apply-templates select="wnio:NazwaZalacznika"/>
<xsl:apply-templates select="wnio:Liczba"/>
</table>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:Zalaczniki/wnio:ZalacznikiWykaz/wnio:NazwaZalacznika">
<tr>
<td class="label">Nazwa załącznika</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:Zalaczniki/wnio:ZalacznikiWykaz/wnio:Liczba">
<tr>
<td class="label">Liczba załączników</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:ZwrotPodatkuwGotowce">
<tr>
<td class="label">Prozę o wypłacenie zwrotu podatku w gotówce</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:ZwrotPodatkuRachunek">
<tr>
<td class="label">Prozę o przekazanie zwrotu podatku na rachunek bankowy</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:RachunekBankowyWnioskodawcy">
<tr>
<td class="sublevel" colspan="2">Numer rachunku bankowego<br/>
<table>
<xsl:apply-templates select="wnio:PosiadaczRachunku"/>
<xsl:apply-templates select="wnio:NazwaBanku"/>
<xsl:apply-templates select="wnio:NumerRachunku"/>
</table>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:RachunekBankowyWnioskodawcy/wnio:PosiadaczRachunku">
<tr>
<td class="sublevel" colspan="2">Posiadacz rachunku<br/>
<table>
<xsl:apply-templates select="oso:Imie"/>
<xsl:apply-templates select="oso:ImieDrugie"/>
<xsl:apply-templates select="oso:Nazwisko"/>
<xsl:apply-templates select="mr:OLD_NazwaFirmy"/>
<xsl:apply-templates select="adr:Adres"/>
</table>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:RachunekBankowyWnioskodawcy/wnio:PosiadaczRachunku/mr:OLD_NazwaFirmy">
<tr>
<td class="sublevel" colspan="2">Nazwa</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:RachunekBankowyWnioskodawcy/wnio:NazwaBanku">
<tr>
<td class="label">Nazwa pełna banku</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:RachunekBankowyWnioskodawcy/wnio:NumerRachunku">
<tr>
<td class="label">Pełny numer rachunku bankowego</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:Oswiadczenia">
<tr>
<td class="label">Oświadczenia</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:ZgodaWspolposiadaczy">
<tr>
<td class="sublevel" colspan="2">Zgoda współposiadaczy na wypłatę zwrotu podatku<br/>
<table>
<xsl:apply-templates select="wnio:Wspolposiadacz"/>
</table>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:ZgodaWspolposiadaczy/wnio:Wspolposiadacz">
<tr>
<td class="sublevel" colspan="2">Dane wpółposiadacza<br/>
<table>
<xsl:apply-templates select="wnio:Lp"/>
<xsl:apply-templates select="oso:Imie"/>
<xsl:apply-templates select="oso:ImieDrugie"/>
<xsl:apply-templates select="oso:Nazwisko"/>
<xsl:apply-templates select="wnio:Data"/>
</table>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:ZgodaWspolposiadaczy/wnio:Wspolposiadacz/wnio:Lp">
<tr>
<td class="label">Lp.</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:ZgodaWspolposiadaczy/wnio:Wspolposiadacz/wnio:Data">
<tr>
<td class="label">Data</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:DataZlozeniaWniosku">
<tr>
<td class="label">Data wypełnienia wniosku</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:Urzad">
<tr>
<td class="sublevel" colspan="2">Urząd<br/>
<table>
<xsl:apply-templates select="wnio:AdnotacjeUrzedu"/>
<xsl:apply-templates select="wnio:PotwierdzeniePrzyjeciaWniosku"/>
</table>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:Urzad/wnio:AdnotacjeUrzedu">
<tr>
<td class="label">Adnotacje urzędu gminy/miasta</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:Urzad/wnio:PotwierdzeniePrzyjeciaWniosku">
<tr>
<td class="sublevel" colspan="2">Potwierdzenie przyjęcia wniosku przez urząd gminy lub miasta<br/>
<table>
<xsl:apply-templates select="wnio:Data"/>
<xsl:apply-templates select="inst:Pracownik"/>
</table>
</td>
</tr>
</xsl:template>
<xsl:template match="wnio:Dokument/wnio:TrescDokumentu/wnio:Urzad/wnio:PotwierdzeniePrzyjeciaWniosku/wnio:Data">
<tr>
<td class="label">Data</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="typy:DataWszczeciaEgzekucji">
<tr>
<td class="label">Data wszczęcia egzekucji</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="typy:Rok">
<tr>
<td class="label">Rok</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="typy:NumerSystemowyOsoby">
<tr>
<td class="label">Numer systemowy osoby</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="typy:RodzajDecyzji">
<tr>
<td class="label">Rodzaj decyzji</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="typy:NumerDecyzji">
<tr>
<td class="label">Numer decyzji</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="typy:OznaczenieWaluty">
<tr>
<td class="label">Waluta</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="typy:NumerSystemowyWniosku">
<tr>
<td class="label">Numer systemowy wniosku</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="typy:OdbiorDecyzji">
<tr>
<td class="sublevel" colspan="2">Osoba odbierająca decyzję<br/>
<table>
<xsl:apply-templates select="typy:Data"/>
<xsl:apply-templates select="typy:Potwierdzajacy"/>
</table>
</td>
</tr>
</xsl:template>
<xsl:template match="typy:OdbiorDecyzji/typy:Data">
<tr>
<td class="label">Data</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="typy:OdbiorDecyzji/typy:Potwierdzajacy">
<tr>
<td class="sublevel" colspan="2">Podpisujący<br/>
<table>
<xsl:apply-templates select="oso:IdOsoby"/>
<xsl:apply-templates select="oso:Imie"/>
<xsl:apply-templates select="oso:Nazwisko"/>
<xsl:apply-templates select="adr:Kontakt"/>
<xsl:apply-templates select="inst:Funkcja"/>
</table>
</td>
</tr>
</xsl:template>
<xsl:template match="typy:OkresZlozenia">
<tr>
<td class="label">Okres złożenia</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="typy:DataWniosku">
<tr>
<td class="label">Data</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="typy:Decyzja">
<tr>
<td class="sublevel" colspan="2">Decyzja<br/>
<table>
<xsl:apply-templates select="typy:RodzajDecyzji"/>
<xsl:apply-templates select="typy:DataWydaniaDecyzji"/>
<xsl:apply-templates select="typy:NumerDecyzji"/>
</table>
</td>
</tr>
</xsl:template>
<xsl:template match="typy:NumerTytuluWykonawczego">
<tr>
<td class="label">Numer tytułu wykonawczego</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="typy:SeriaNumerDokumentu">
<tr>
<td class="label">Seria i numer dokumentu</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="typy:SygnaturaSprawy">
<tr>
<td class="label">Sygnatura sprawy</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="typy:OsobyObjeteDecyzjaLiczba">
<tr>
<td class="label">Liczba osób objętych decyzją</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="typy:DataWydaniaDecyzji">
<tr>
<td class="label">Data wydania decyzji</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="typy:PodpisWnioskodawcy">
<tr>
<td class="sublevel" colspan="2">Podpis wnioskodawcy<br/>
<table>
<xsl:apply-templates select="typy:Data"/>
<xsl:apply-templates select="typy:Potwierdzajacy"/>
</table>
</td>
</tr>
</xsl:template>
<xsl:template match="typy:PodpisWnioskodawcy/typy:Data">
<tr>
<td class="label">Data</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="typy:PodpisWnioskodawcy/typy:Potwierdzajacy">
<tr>
<td class="sublevel" colspan="2">Podpisujący<br/>
<table>
<xsl:apply-templates select="oso:IdOsoby"/>
<xsl:apply-templates select="oso:Imie"/>
<xsl:apply-templates select="oso:Nazwisko"/>
<xsl:apply-templates select="adr:Kontakt"/>
<xsl:apply-templates select="inst:Funkcja"/>
</table>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:Masa">
<tr>
<td class="label">Masa w kg</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:NumerRejestracyjnywCRP">
<tr>
<td class="label">Numer rejestracyjny przedsiębiorcy w CRP</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:RejonPolowu">
<tr>
<td class="label">Rejon połowu</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:Miesiac">
<tr>
<td class="label">Miesiąc w którym susz paszowy opuścił przedsiębiorstwo przetwórcze</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:RokGospodarczy">
<tr>
<td class="label">Rok gospodarczy</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:RazemZuzyciePasz">
<tr>
<td class="sublevel" colspan="2">Razem<br/>
<table>
<xsl:apply-templates select="mr:MasaPasz"/>
<xsl:apply-templates select="mr:MasaSuszu"/>
</table>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:RazemZuzyciePasz/mr:MasaPasz">
<tr>
<td class="label">Masa pasz (zielonki) do produkcji suszu paszowego (w tonach)</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:RazemZuzyciePasz/mr:MasaSuszu">
<tr>
<td class="label">Masa suszu paszowego (w tonach)</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:InneInformacje">
<tr>
<td class="label">Inne informacje</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:ZuzyciePasz">
<tr>
<td class="sublevel" colspan="2">Zużycie pasz (zielonki) do produkcji suszu paszowego<br/>
<table>
<xsl:apply-templates select="mr:Lp"/>
<xsl:apply-templates select="mr:RodzajPasz"/>
<xsl:apply-templates select="mr:NumerUmowy"/>
<xsl:apply-templates select="mr:DaneDzialki"/>
<xsl:apply-templates select="mr:MasaPasz"/>
<xsl:apply-templates select="mr:NumerPartii"/>
<xsl:apply-templates select="mr:DataProdukcji"/>
<xsl:apply-templates select="mr:MasaSuszu"/>
</table>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:ZuzyciePasz/mr:Lp">
<tr>
<td class="label">Lp.</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:ZuzyciePasz/mr:RodzajPasz">
<tr>
<td class="label">Rodzaj pasz (zielonki) do produkcji suszu paszowego (np. zielonka z traw, lucerny, zielonych zbóż)</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:ZuzyciePasz/mr:NumerUmowy">
<tr>
<td class="label">Numer umowy/deklaracji dostawy</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:ZuzyciePasz/mr:DaneDzialki">
<tr>
<td class="label">Dane umożliwiające identyfikację działki rolnej albo jej części, z której pochodzi pasza (zielonka), według krajowego systemu ewidencji gospodarstw rolnych</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:ZuzyciePasz/mr:MasaPasz">
<tr>
<td class="label">Masa pasz (zielonki) do produkcji suszu paszowego (w tonach)</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:ZuzyciePasz/mr:NumerPartii">
<tr>
<td class="label">Numer partii suszu paszowego</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:ZuzyciePasz/mr:DataProdukcji">
<tr>
<td class="label">Data produkcji suszu paszowego</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:ZuzyciePasz/mr:MasaSuszu">
<tr>
<td class="label">Masa suszu paszowego (w tonach)</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:NazwaGatunku">
<tr>
<td class="label">Nazwa gatunku produktu rybnego</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:WykazDokumentow">
<tr>
<td class="sublevel" colspan="2">Wykaz dokumentów dołączonych do wniosku<br/>
<table>
<xsl:apply-templates select="mr:Lp"/>
<xsl:apply-templates select="mr:NazwaDokumentu"/>
</table>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:WykazDokumentow/mr:Lp">
<tr>
<td class="label">Lp.</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:WykazDokumentow/mr:NazwaDokumentu">
<tr>
<td class="label">Nazwa dokumentu</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:PowierzchnieUpraw">
<tr>
<td class="sublevel" colspan="2">Obszar<br/>
<table>
<xsl:apply-templates select="mr:Lp"/>
<xsl:apply-templates select="mr:NrEwidencyjny"/>
<xsl:apply-templates select="mr:MiejscePolozenia"/>
<xsl:apply-templates select="mr:NumeryDzialek"/>
</table>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:PowierzchnieUpraw/mr:Lp">
<tr>
<td class="label">Lp.</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:PowierzchnieUpraw/mr:NrEwidencyjny">
<tr>
<td class="label">Nr ewidencyjny uprawy</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:PowierzchnieUpraw/mr:MiejscePolozenia">
<tr>
<td class="label">Miejsce położenia</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:PowierzchnieUpraw/mr:NumeryDzialek">
<tr>
<td class="label">Numer albo numery działek ewidencyjnych</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:Statek">
<tr>
<td class="sublevel" colspan="2">Statek rybacki, z którego nastąpił wyładunek<br/>
<table>
<xsl:apply-templates select="mr:OznakaRybacka"/>
<xsl:apply-templates select="mr:Nazwa"/>
</table>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:Statek/mr:OznakaRybacka">
<tr>
<td class="label">Oznaka rybacka</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:Statek/mr:Nazwa">
<tr>
<td class="label">Nazwa</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:DokumentT2M">
<tr>
<td class="label">Numer dokumentu T2M</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:SuszzDodatkami">
<tr>
<td class="sublevel" colspan="2">Rozdysponowanie partii suszu paszowego z dodatkami lub w mieszance paszowej<br/>
<table>
<xsl:apply-templates select="mr:Lp"/>
<xsl:apply-templates select="mr:RodzajSuszu"/>
<xsl:apply-templates select="mr:NumerPartii"/>
<xsl:apply-templates select="mr:Dodatki"/>
<xsl:apply-templates select="mr:CalkowitaMasa"/>
<xsl:apply-templates select="mr:MasaSuszu"/>
<xsl:apply-templates select="mr:DataOpuszczenia"/>
<xsl:apply-templates select="mr:SposobRozdysponowania"/>
<xsl:apply-templates select="mr:NumerFaktury"/>
<xsl:apply-templates select="mr:NumerProbki"/>
<xsl:apply-templates select="mr:WynikiAnalizy"/>
<xsl:apply-templates select="mr:CzyPobraneProbki"/>
</table>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:SuszzDodatkami/mr:Lp">
<tr>
<td class="label">Lp.</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:SuszzDodatkami/mr:RodzajSuszu">
<tr>
<td class="label">Rodzaj suszu paszowego oraz jego forma handlowa</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:SuszzDodatkami/mr:NumerPartii">
<tr>
<td class="label">Numer partii suszu paszowego albo jej części</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:SuszzDodatkami/mr:Dodatki">
<tr>
<td class="sublevel" colspan="2">Dodatki<br/>
<table>
<xsl:apply-templates select="mr:Rodzaj"/>
<xsl:apply-templates select="mr:ZawartoscwProdukcie"/>
<xsl:apply-templates select="mr:ZawartoscAzotu"/>
</table>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:SuszzDodatkami/mr:Dodatki/mr:Rodzaj">
<tr>
<td class="label">Rodzaj</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:SuszzDodatkami/mr:Dodatki/mr:ZawartoscwProdukcie">
<tr>
<td class="label">Zawartość dodatku w masie produktu końcowego (%)</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:SuszzDodatkami/mr:Dodatki/mr:ZawartoscAzotu">
<tr>
<td class="label">Zawartość azotu w suchej masie dodatku (%)</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:SuszzDodatkami/mr:CalkowitaMasa">
<tr>
<td class="label">Całkowita masa produktu końcowego (w tonach)</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:SuszzDodatkami/mr:MasaSuszu">
<tr>
<td class="label">Masa suszu paszowego bez dodatków lub masa suszu paszowego dodanych do produktu końcowego (w tonach)</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:SuszzDodatkami/mr:DataOpuszczenia">
<tr>
<td class="label">Data opuszczenia przedsiębiorstwa przetwórczego przez partię suszu paszowego albo jej części</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:SuszzDodatkami/mr:SposobRozdysponowania">
<tr>
<td class="label">Sposób rozdysponowania suszu paszowego</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:SuszzDodatkami/mr:NumerFaktury">
<tr>
<td class="label">Numer faktury lub dokumentu potwierdzającego ważenie partii suszu paszowego</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:SuszzDodatkami/mr:NumerProbki">
<tr>
<td class="label">Numer identyfikacyjny próbki laboratoryjnej suszu paszowego</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:SuszzDodatkami/mr:WynikiAnalizy">
<tr>
<td class="sublevel" colspan="2">Wyniki badań parametrów jakościowych suszu paszowego<br/>
<table>
<xsl:apply-templates select="mr:Wilgotnosc"/>
<xsl:apply-templates select="mr:ZawartoscBialka"/>
</table>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:SuszzDodatkami/mr:WynikiAnalizy/mr:Wilgotnosc">
<tr>
<td class="label">Wilgotność (%)</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:SuszzDodatkami/mr:WynikiAnalizy/mr:ZawartoscBialka">
<tr>
<td class="label">Zawartość białka netto (%)</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:SuszzDodatkami/mr:CzyPobraneProbki">
<tr>
<td class="label">Czy pobrane zostały próbki z partii suszu paszowego albo jej części (<= 110 t)</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:Wyladunek">
<tr>
<td class="sublevel" colspan="2">Wyładunek<br/>
<table>
<xsl:apply-templates select="mr:DataWyladunku"/>
<xsl:apply-templates select="mr:Port"/>
</table>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:Wyladunek/mr:DataWyladunku">
<tr>
<td class="label">Data wyładunku</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:Wyladunek/mr:Port">
<tr>
<td class="label">Nazwa portu</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:DokumentPrzewozowy">
<tr>
<td class="label">Numer dokumentu przewozowego</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:Postac">
<tr>
<td class="label">Postać (całe, patroszone, patroszone bez głów, filetowane, inne)</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:MasaSuszuRazem">
<tr>
<td class="sublevel" colspan="2">Razem<br/>
<table>
<xsl:apply-templates select="mr:ZawartoscDodatku"/>
<xsl:apply-templates select="mr:CalkowitaMasa"/>
<xsl:apply-templates select="mr:MasaSuszu"/>
</table>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:MasaSuszuRazem/mr:ZawartoscDodatku">
<tr>
<td class="label">Zawartość dodatku w masie produktu końcowego (%)</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:MasaSuszuRazem/mr:CalkowitaMasa">
<tr>
<td class="label">Całkowita masa produktu końcowego (w tonach)</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:MasaSuszuRazem/mr:MasaSuszu">
<tr>
<td class="label">Masa suszu paszowego bez dodatków lub masa suszu paszowego dodanych do produktu końcowego (w tonach)</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:MinimalnaWielkosc">
<tr>
<td class="label">Minimalna wielkość</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:RozdysponowanieSuszu">
<tr>
<td class="sublevel" colspan="2">Rozdysponowanie partii suszu paszowego<br/>
<table>
<xsl:apply-templates select="mr:Lp"/>
<xsl:apply-templates select="mr:RodzajSuszu"/>
<xsl:apply-templates select="mr:NumerPartii"/>
<xsl:apply-templates select="mr:MasaSuszu"/>
<xsl:apply-templates select="mr:DataOpuszczenia"/>
<xsl:apply-templates select="mr:SposobRozdysponowania"/>
<xsl:apply-templates select="mr:NumerFaktury"/>
<xsl:apply-templates select="mr:NumerProbki"/>
<xsl:apply-templates select="mr:WynikiAnalizy"/>
<xsl:apply-templates select="mr:CzyPobraneProbki"/>
</table>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:RozdysponowanieSuszu/mr:Lp">
<tr>
<td class="label">Lp.</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:RozdysponowanieSuszu/mr:RodzajSuszu">
<tr>
<td class="label">Rodzaj suszu paszowego oraz jego forma handlowa</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:RozdysponowanieSuszu/mr:NumerPartii">
<tr>
<td class="label">Numer partii suszu paszowego albo jej części</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:RozdysponowanieSuszu/mr:MasaSuszu">
<tr>
<td class="label">Masa suszu paszowego sprzedana lub zużyta na potrzeby własnego gospodarstwa rolnego lub wyprodukowana w ramach umów o produkcję usługową (w tonach)</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:RozdysponowanieSuszu/mr:DataOpuszczenia">
<tr>
<td class="label">Data opuszczenia przedsiębiorstwa przetwórczego przez partię suszu paszowego albo jej części</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:RozdysponowanieSuszu/mr:SposobRozdysponowania">
<tr>
<td class="label">Sposób rozdysponowania suszu paszowego</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:RozdysponowanieSuszu/mr:NumerFaktury">
<tr>
<td class="label">Numer faktury lub dokumentu potwierdzającego ważenie partii suszu paszowego</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:RozdysponowanieSuszu/mr:NumerProbki">
<tr>
<td class="label">Numer identyfikacyjny próbki laboratoryjnej suszu paszowego</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:RozdysponowanieSuszu/mr:WynikiAnalizy">
<tr>
<td class="sublevel" colspan="2">Wyniki analizy suszu paszowego<br/>
<table>
<xsl:apply-templates select="mr:Wilgotnosc"/>
<xsl:apply-templates select="mr:ZawartoscBialka"/>
</table>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:RozdysponowanieSuszu/mr:WynikiAnalizy/mr:Wilgotnosc">
<tr>
<td class="label">Wilgotność (w %)</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:RozdysponowanieSuszu/mr:WynikiAnalizy/mr:ZawartoscBialka">
<tr>
<td class="label">Zawartość białka surowego (w %)</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:RozdysponowanieSuszu/mr:CzyPobraneProbki">
<tr>
<td class="label">Czy pobrane zostały próbki z partii suszu paszowego albo jej części (<= 110 t)</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
<xsl:template match="mr:NumerIdentyfikacyjny">
<tr>
<td class="label">Numer identyfikacyjny</td>
<td class="value">
<xsl:value-of select="text()"/>
</td>
</tr>
</xsl:template>
</xsl:stylesheet>