3457
ID | 3457 |
Data | 2016-08-11 |
Symbol | 2016/08/11/3457 |
Instytucja | Ministerstwo Rodziny, Pracy i Polityki Społecznej |
Nazwa | Oświadczenie o dochodzie członka rodziny rozliczającego się na podstawie przepisów o zryczałtowanym podatku dochodowym od niektórych przychodów osiągniętych przez osoby fizyczne, o dochodzie osiągniętym w roku kalendarzowym poprzedzającym okres zasił... |
Czy Aktualny | 1 |
---|
Ustawy (1)
Pliki
Styl
<?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:wnio="http://crd.gov.pl/wzor/2016/08/11/3457/" 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/2007/schema-for-xslt20.xsd">
<xsl:template match="/">
<html>
<head>
<title>ZSR-04 - Ministerstwo Rodziny, Pracy i Polityki Społecznej</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
</head>
<body style="text-align: center; font-family: Arial; ">
<div style="position: relative; margin-right: auto; height: 1280px; text-align: left; overflow: hidden; width: 880px; margin-left: auto; background-color: white; margin-bottom: 15px; margin-top: 15px; border: 1px solid black; ">
<div style="position: absolute; height: 26px; width: 880px; left: 0px; top: 0px; ">
<div style="position: absolute; height: 24px; text-align: right; color: #000000; width: 545px; font-size: 20px; left: 322px; font-weight: bold; top: 0px; " class="SofLabel formName">ZSR-04</div>
<span style="position: absolute; height: 14px; color: #000000; width: 300px; font-size: 12px; left: 5px; font-weight: normal; top: 8px; " class="SofLabel page"/>
<div style="position: absolute; height: 1px; width: 100%; left: 0px; border-top: 2px solid black; top: 25px; " class="SofHRule">
<span/>
</div>
</div>
<div style="position: absolute; height: 188px; width: 880px; left: 0px; top: 242px; ">
<div style="position: absolute; height: 100%; width: 100%; border-style: solid; background-color: #ebd7ff; border-color: #ebd7ff; left: 0px; border-width: 1px; top: 0px; " class="SofBorderContainer violetAll">
<div style="position: absolute; color: #000000; font-size: 12px; left: 10px; font-weight: bold; top: 8px; " class="SofLabel sectionHeader">DANE OSOBY UBIEGAJĄCEJ SIĘ</div>
<div style="position: absolute; height: 155px; width: 870px; background-color: #ffffff; left: 10px; top: 23px; " class="SofBorderContainer">
<div style="position: absolute; color: #000000; width: 123px; font-size: 12px; left: 3px; top: 5px; " class="SofLabel">01. Numer PESEL (1)</div>
<div style="position: absolute; height: 25px; color: #000000; overflow: hidden; width: 265px; font-size: 18px; background-color: white; display: block; left: 3px; border: 1px solid black; top: 18px; " class="SofTextInput">
<span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
<xsl:value-of select="//wnio:TrescDokumentu/wnio:DaneOsobyUbiegajacejSie/wnio:PESEL"/>
</span>
</div>
<div style="position: absolute; color: #000000; width: 856px; font-size: 12px; left: 4px; top: 137px; " class="SofLabel">(1) W przypadku gdy nie nadano numeru PESEL należy podać numer dokumentu potwierdzającego tożsamość.</div>
<div style="position: absolute; color: #000000; font-size: 12px; left: 291px; top: 5px; " class="SofLabel">02. Numer dokumentu (1)</div>
<div style="position: absolute; height: 25px; color: #000000; overflow: hidden; width: 361px; font-size: 18px; background-color: white; display: block; left: 291px; border: 1px solid black; top: 18px; " class="SofTextInput">
<span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
<xsl:value-of select="//wnio:TrescDokumentu/wnio:DaneOsobyUbiegajacejSie/wnio:NumerDokumentu"/>
</span>
</div>
<div style="position: absolute; color: #000000; font-size: 12px; left: 3px; top: 49px; " class="SofLabel">03. Nazwisko</div>
<div style="position: absolute; height: 25px; color: #000000; overflow: hidden; width: 865px; font-size: 18px; background-color: white; display: block; left: 3px; border: 1px solid black; top: 62px; " class="SofTextInput">
<span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
<xsl:value-of select="//wnio:TrescDokumentu/wnio:DaneOsobyUbiegajacejSie/wnio:Nazwisko"/>
</span>
</div>
<div style="position: absolute; color: #000000; font-size: 12px; left: 3px; top: 93px; " class="SofLabel">04. Imię</div>
<div style="position: absolute; height: 25px; color: #000000; overflow: hidden; width: 721px; font-size: 18px; background-color: white; display: block; left: 3px; border: 1px solid black; top: 106px; " class="SofTextInput">
<span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
<xsl:value-of select="//wnio:TrescDokumentu/wnio:DaneOsobyUbiegajacejSie/wnio:Imie"/>
</span>
</div>
</div>
</div>
</div>
<div style="position: absolute; height: 175px; width: 880px; border-style: solid; background-color: #E7E5E6; border-color: #E7E5E6; left: 0px; border-width: 1px; top: 439px; " class="SofBorderContainer lightGrayAll">
<div style="position: absolute; color: #000000; font-size: 12px; left: 10px; font-weight: bold; top: 7px; " class="SofLabel sectionHeader">DANE IDENTYFIKACYJNE CZŁONKA RODZINY, KTÓREGO DOTYCZY OŚWIADCZENIE</div>
<div style="position: absolute; color: #000000; font-size: 12px; left: 13px; top: 68px; " class="SofLabel">Nazwisko</div>
<div style="position: absolute; height: 25px; color: #000000; overflow: hidden; width: 865px; font-size: 18px; background-color: white; display: block; left: 13px; border: 1px solid black; top: 81px; " class="SofTextInput">
<span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
<xsl:value-of select="//wnio:TrescDokumentu/wnio:DaneIdentyfikacyjneCzlonkaRodziny/wnio:Nazwisko"/>
</span>
</div>
<div style="position: absolute; color: #000000; font-size: 12px; left: 13px; top: 112px; " class="SofLabel">Imię</div>
<div style="position: absolute; height: 25px; color: #000000; overflow: hidden; width: 721px; font-size: 18px; background-color: white; display: block; left: 13px; border: 1px solid black; top: 125px; " class="SofTextInput">
<span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
<xsl:value-of select="//wnio:TrescDokumentu/wnio:DaneIdentyfikacyjneCzlonkaRodziny/wnio:Imie"/>
</span>
</div>
<div style="position: absolute; color: #000000; width: 123px; font-size: 12px; left: 13px; top: 24px; " class="SofLabel">Numer PESEL (1)</div>
<div style="position: absolute; height: 25px; color: #000000; overflow: hidden; width: 265px; font-size: 18px; background-color: white; display: block; left: 13px; border: 1px solid black; top: 37px; " class="SofTextInput">
<span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
<xsl:value-of select="//wnio:TrescDokumentu/wnio:DaneIdentyfikacyjneCzlonkaRodziny/wnio:PESEL"/>
</span>
</div>
<div style="position: absolute; color: #000000; width: 123px; font-size: 12px; left: 301px; top: 24px; " class="SofLabel">Numer dokumentu (1)</div>
<div style="position: absolute; height: 25px; color: #000000; overflow: hidden; width: 361px; font-size: 18px; background-color: white; display: block; left: 301px; border: 1px solid black; top: 37px; " class="SofTextInput">
<span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
<xsl:value-of select="//wnio:TrescDokumentu/wnio:DaneIdentyfikacyjneCzlonkaRodziny/wnio:NumerDokumentu"/>
</span>
</div>
<div style="position: absolute; color: #000000; width: 856px; font-size: 12px; left: 14px; top: 156px; " class="SofLabel">(1) W przypadku gdy nie nadano numeru PESEL należy podać numer dokumentu potwierdzającego tożsamość.</div>
</div>
<div style="position: absolute; height: 47px; width: 880px; border-style: solid; background-color: #E7E5E6; border-color: #E7E5E6; left: 0px; border-width: 1px; top: 786px; " class="SofBorderContainer lightGrayAll">
<span/>
</div>
<div style="position: absolute; height: 47px; width: 880px; border-style: solid; background-color: #E7E5E6; border-color: #E7E5E6; left: 0px; border-width: 1px; top: 878px; " class="SofBorderContainer lightGrayAll">
<span/>
</div>
<div style="position: absolute; color: #000000; font-size: 14px; left: 14px; font-family: arial; font-weight: normal; top: 654px; " class="SofLabel global14Normal">Oświadczam, że wyżej wymieniony członek rodziny w roku kalendarzowym:</div>
<div style="position: absolute; color: #000000; font-size: 12px; left: 493px; top: 633px; " class="SofLabel">Rok (rrrr)</div>
<div style="position: absolute; height: 25px; color: #000000; overflow: hidden; width: 97px; font-size: 18px; background-color: white; display: block; left: 493px; border: 1px solid black; top: 646px; " class="SofTextInput">
<span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
<xsl:value-of select="//wnio:TrescDokumentu/wnio:OswiadczenieOUzyskaniuDochodu/wnio:RokPodatkowy"/>
</span>
</div>
<div style="position: absolute; color: #000000; font-size: 14px; left: 599px; font-family: arial; font-weight: normal; top: 654px; " class="SofLabel global14Normal">uzyskał dochód z działalności</div>
<div style="position: absolute; color: #000000; font-size: 14px; left: 14px; font-family: arial; font-weight: normal; top: 674px; " class="SofLabel global14Normal">opodatkowanej w formie:</div>
<div style="position: absolute; color: #000000; font-size: 12px; left: 189px; top: 675px; " class="SofLabel"/>
<div style="position: absolute; color: #000000; font-size: 14px; left: 71px; font-family: arial; font-weight: normal; top: 712px; " class="SofLabel global14Normal">ryczałtu ewidencjonowanego,</div>
<div style="position: absolute; height: 25px; color: #000000; overflow: hidden; width: 25px; font-size: 14px; background-color: white; display: block; left: 37px; border: 1px solid black; top: 704px; " class="SofCheckBox">
<xsl:if test="//wnio:TrescDokumentu/wnio:OswiadczenieOUzyskaniuDochodu/wnio:FormaOpodatkowania/wnio:RyczaltEwidencjonowany='true'">
<span style="text-align: center ; line-height: 25px; display: block; ">X</span>
</xsl:if>
</div>
<div style="position: absolute; color: #000000; font-size: 14px; left: 71px; font-family: arial; font-weight: normal; top: 748px; " class="SofLabel global14Normal">karty podatkowej.</div>
<div style="position: absolute; height: 25px; color: #000000; overflow: hidden; width: 25px; font-size: 14px; background-color: white; display: block; left: 37px; border: 1px solid black; top: 740px; " class="SofCheckBox">
<xsl:if test="//wnio:TrescDokumentu/wnio:OswiadczenieOUzyskaniuDochodu/wnio:FormaOpodatkowania/wnio:KartaPodatkowa='true'">
<span style="text-align: center ; line-height: 25px; display: block; ">X</span>
</xsl:if>
</div>
<div style="position: absolute; color: #000000; font-size: 14px; left: 14px; font-family: arial; font-weight: normal; top: 804px; " class="SofLabel global14Normal">1. Dochód po odliczeniu kwot z pozycji 2-4 wyniósł:</div>
<div style="position: absolute; color: #000000; font-size: 14px; left: 599px; font-family: arial; font-weight: normal; top: 804px; " class="SofLabel global14Normal">zł.</div>
<div style="position: absolute; height: 25px; text-align: right; color: #000000; overflow: hidden; width: 193px; font-size: 18px; background-color: white; display: block; left: 397px; border: 1px solid black; top: 796px; " class="SofTextInput">
<span style="padding-left:5px ;line-height:25px;padding-right: 5px; display:block;">
<xsl:value-of select="translate(//wnio:TrescDokumentu/wnio:OswiadczenieOUzyskaniuDochodu/wnio:WysokoscDochodu,'.',',')"/>
</span>
</div>
<div style="position: absolute; color: #000000; font-size: 14px; left: 14px; font-family: arial; font-weight: normal; top: 850px; " class="SofLabel global14Normal">2. Należne składki na ubezpieczenia społeczne wyniosły:</div>
<div style="position: absolute; color: #000000; font-size: 14px; left: 599px; font-family: arial; font-weight: normal; top: 850px; " class="SofLabel global14Normal">zł.</div>
<div style="position: absolute; height: 25px; text-align: right; color: #000000; overflow: hidden; width: 193px; font-size: 18px; background-color: white; display: block; left: 397px; border: 1px solid black; top: 842px; " class="SofTextInput">
<span style="padding-left:5px ;line-height:25px;padding-right: 5px; display:block;">
<xsl:value-of select="translate(//wnio:TrescDokumentu/wnio:OswiadczenieOUzyskaniuDochodu/wnio:WysokoscSkladekNaUbezpieczenieSpoleczne,'.',',')"/>
</span>
</div>
<div style="position: absolute; color: #000000; font-size: 14px; left: 14px; font-family: arial; font-weight: normal; top: 896px; " class="SofLabel global14Normal">3. Należne składki na ubezpieczenie zdrowotne wyniosły:</div>
<div style="position: absolute; color: #000000; font-size: 14px; left: 599px; font-family: arial; font-weight: normal; top: 896px; " class="SofLabel global14Normal">zł.</div>
<div style="position: absolute; height: 25px; text-align: right; color: #000000; overflow: hidden; width: 193px; font-size: 18px; background-color: white; display: block; left: 397px; border: 1px solid black; top: 888px; " class="SofTextInput">
<span style="padding-left:5px ;line-height:25px;padding-right: 5px; display:block;">
<xsl:value-of select="translate(//wnio:TrescDokumentu/wnio:OswiadczenieOUzyskaniuDochodu/wnio:WysokoscSkladkiNaUbezpieczenieZdrowotne,'.',',')"/>
</span>
</div>
<div style="position: absolute; color: #000000; font-size: 14px; left: 14px; font-family: arial; font-weight: normal; top: 942px; " class="SofLabel global14Normal">4. Należny zryczałtowany podatek dochodowy wyniósł:</div>
<div style="position: absolute; color: #000000; font-size: 14px; left: 599px; font-family: arial; font-weight: normal; top: 942px; " class="SofLabel global14Normal">zł.</div>
<div style="position: absolute; height: 25px; text-align: right; color: #000000; overflow: hidden; width: 193px; font-size: 18px; background-color: white; display: block; left: 397px; border: 1px solid black; top: 934px; " class="SofTextInput">
<span style="padding-left:5px ;line-height:25px;padding-right: 5px; display:block;">
<xsl:value-of select="translate(//wnio:TrescDokumentu/wnio:OswiadczenieOUzyskaniuDochodu/wnio:WysokoscZryczaltowanegoPodatkuDochodowego,'.',',')"/>
</span>
</div>
<div style="position: absolute; color: #000000; font-style: italic; font-size: 14px; left: 13px; font-family: arial; font-weight: normal; top: 1030px; " class="SofLabel global14Italic">Oświadczam, że jestem świadoma/świadomy odpowiedzialności karnej za złożenie fałszywego oświadczenia.</div>
<div style="position: absolute; height: 52px; width: 869px; left: 8px; top: 1093px; ">
<div style="position: absolute; height: 52px; width: 100%; background-color: #ffffff; left: 0px; top: 0px; " class="SofBorderContainer">
<div style="position: absolute; height: 14px; color: #000000; width: 84px; font-size: 12px; left: 174px; top: 38px; " class="SofLabel">(Miejscowość)</div>
<div style="position: absolute; height: 25px; color: #000000; overflow: hidden; width: 457px; font-size: 18px; background-color: white; display: block; left: 3px; border: 1px solid black; top: 6px; " class="SofTextInput dotted">
<span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
<xsl:value-of select="//wnio:TrescDokumentu/wnio:Miejscowosc"/>
</span>
</div>
<div style="position: absolute; height: 25px; color: #000000; overflow: hidden; width: 191px; font-size: 18px; background-color: white; border-style: dotted; display: block; left: 469px; border: 1px solid black; top: 6px; " class="SofDateField dotted">
<span style="padding-left:5px ; line-height:25px; display: block;">
<xsl:call-template name="formatDaty">
<xsl:with-param name="wartosc" select="//wnio:TrescDokumentu/wnio:Data"/>
</xsl:call-template>
</span>
<span/>
</div>
<div style="position: absolute; height: 14px; text-align: center; color: #000000; width: 190px; font-size: 12px; left: 455px; top: 38px; " class="SofLabel">(Data: dd / mm / rrrr)</div>
<div style="position: absolute; height: 18px; text-align: center; color: #000000; width: 202px; font-size: 14px; left: 668px; font-family: verdana; font-weight: normal; top: 22px; " class="SofLabel paragraph14Normal"/>
<div style="position: absolute; height: 59px; text-align: center; color: #000000; width: 182px; font-size: 12px; left: 679px; top: 41px; " class="SofLabel"/>
</div>
</div>
<div style="position: absolute; height: 16px; width: 880px; left: 0px; top: 1223px; ">
<div style="position: absolute; height: 14px; text-align: right; color: #000000; width: 300px; font-size: 11px; left: 559px; font-family: verdana; top: 3px; " class="SofLabel footnote">wersja: ZSR-04(1)</div>
<div style="position: absolute; height: 14px; text-align: center; color: #000000; width: 850px; font-size: 11px; left: 10px; font-family: verdana; top: 3px; " class="SofLabel footnote">strona: 1/1</div>
<div style="position: absolute; height: 1px; width: 100%; left: 0px; border-top: 2px solid black; top: 1px; " class="SofHRule">
<span/>
</div>
</div>
<div style="position: absolute; height: 140px; text-align: center; color: #000000; width: 100%; font-size: 16px; left: 0px; font-weight: bold; top: 95px; " class="SofLabel formTitle">
OŚWIADCZENIE
<br/>
CZŁONKA RODZINY ROZLICZAJĄCEGO SIĘ NA PODSTAWIE PRZEPISÓW
<br/>
O ZRYCZAŁTOWANYM PODATKU DOCHODOWYM OD NIEKTÓRYCH PRZYCHODÓW OSIĄGNIĘTYCH
<br/>
PRZEZ OSOBY FIZYCZNE O DOCHODZIE OSIĄGNIĘTYM W ROKU KALENDARZOWYM
<br/>
POPRZEDZAJĄCYM OKRES ZASIŁKOWY
</div>
</div>
</body>
</html>
</xsl:template>
<xsl:template match="wnio:Informacja1//*">
<xsl:call-template name="Info">
<xsl:with-param name="node" select="."/>
</xsl:call-template>
</xsl:template>
<xsl:template match="wnio:Informacja2//*">
<xsl:call-template name="Info">
<xsl:with-param name="node" select="."/>
</xsl:call-template>
</xsl:template>
<xsl:template match="wnio:Informacja3//*">
<xsl:call-template name="Info">
<xsl:with-param name="node" select="."/>
</xsl:call-template>
</xsl:template>
<xsl:template match="wnio:Informacja4//*">
<xsl:call-template name="Info">
<xsl:with-param name="node" select="."/>
</xsl:call-template>
</xsl:template>
<xsl:template name="Info">
<xsl:choose>
<xsl:when test="name(.) = 'TextFlow'">
<xsl:apply-templates/>
</xsl:when>
<xsl:when test="name(.) = 'br'">
<xsl:choose>
<xsl:when test="name(..) = 'dl'">
<xsl:apply-templates/>
</xsl:when>
<xsl:otherwise>
<xsl:element name="{name(.)}">
<xsl:apply-templates/>
</xsl:element>
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<xsl:element name="{name(.)}">
<xsl:for-each select="@*">
<xsl:attribute name="{name(.)}">
<xsl:value-of select="."/>
</xsl:attribute>
</xsl:for-each>
<xsl:apply-templates/>
</xsl:element>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="redukcjaCzcionki">
<xsl:param name="tekst"/>
<xsl:param name="bazowyRozmiarCzcionki"/>
<xsl:param name="dlugoscPolaWPikselach"/>
<xsl:variable name="czcionkaPokrywajacaPole">
<!-- (0.6 * wielkosc czcionki w pikselach) średnia szerokość litery (mniej więcej) -->
<xsl:value-of select="$dlugoscPolaWPikselach div (0.6 * string-length($tekst))"/>
</xsl:variable>
<xsl:variable name="docelowyRozmiarCzcionki">
<xsl:choose>
<xsl:when test="$czcionkaPokrywajacaPole < $bazowyRozmiarCzcionki">
<xsl:choose>
<xsl:when test="$czcionkaPokrywajacaPole < 6">6</xsl:when>
<!--6 minimalny rozmiar czcionki -->
<xsl:otherwise>
<xsl:value-of select="ceiling($czcionkaPokrywajacaPole)"/>
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$bazowyRozmiarCzcionki"/>
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<span>
<xsl:attribute name="style">
<xsl:value-of select="concat('font-size:', $docelowyRozmiarCzcionki, 'px')"/>
</xsl:attribute>
<xsl:value-of select="$tekst"/>
</span>
</xsl:template>
<xsl:template name="formatDaty">
<xsl:param name="wartosc"/>
<xsl:if test="$wartosc != ''">
<xsl:value-of select="substring($wartosc, 9, 2)"/>
/
<xsl:value-of select="substring($wartosc, 6, 2)"/>
/
<xsl:value-of select="substring($wartosc, 1, 4)"/>
</xsl:if>
</xsl:template>
<xsl:template name="formatKoduPocztowego">
<xsl:param name="wartosc"/>
<xsl:if test="$wartosc != ''">
<xsl:value-of select="substring($wartosc, 1, 2)"/>
-
<xsl:value-of select="substring($wartosc, 3, 4)"/>
</xsl:if>
</xsl:template>
<xsl:template name="formatTextArea">
<xsl:param name="tekst"/>
<xsl:param name="wysokosc"/>
<xsl:param name="szerokosc"/>
<xsl:param name="bazowyRozmiarCzcionki"/>
<xsl:param name="wysokoscLini"/>
<xsl:param name="liczbaPrzejscDoNowychLini"/>
<xsl:param name="tekstPoOstatnimPrzejsciuDoNowejLini"/>
<xsl:variable name="liczbaPodPierwiastkiem">
<xsl:value-of select="($szerokosc * $wysokosc) div string-length($tekst)"/>
</xsl:variable>
<xsl:variable name="pierwiastek">
<xsl:call-template name="sqrt">
<xsl:with-param name="number" select="$liczbaPodPierwiastkiem"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="czcionkaPokrywajacaPole">
<xsl:value-of select="ceiling($pierwiastek)"/>
</xsl:variable>
<xsl:variable name="rozmiarCzcionki">
<xsl:choose>
<xsl:when test="$czcionkaPokrywajacaPole < $bazowyRozmiarCzcionki">
<xsl:choose>
<xsl:when test="$czcionkaPokrywajacaPole < 6">6</xsl:when>
<!--6 minimalny rozmiar czcionki -->
<xsl:otherwise>
<xsl:value-of select="$czcionkaPokrywajacaPole"/>
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$bazowyRozmiarCzcionki"/>
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<div>
<xsl:attribute name="style">
<xsl:choose>
<xsl:when test="($szerokosc * $wysokosc) < (string-length($tekst) * $bazowyRozmiarCzcionki * $bazowyRozmiarCzcionki)">
<xsl:value-of select="concat('font-size:', $rozmiarCzcionki, 'px; word-wrap : break-word;')"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="'word-wrap : break-word;'"/>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<xsl:value-of select="$tekst"/>
</div>
</xsl:template>
<xsl:template name="sqrt">
<xsl:param name="number" select="0"/>
<xsl:param name="try" select="1"/>
<xsl:param name="iter" select="1"/>
<xsl:param name="maxiter" select="10"/>
<xsl:choose>
<xsl:when test="$try * $try = $number or $iter > $maxiter">
<xsl:value-of select="$try"/>
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="sqrt">
<xsl:with-param name="number" select="$number"/>
<xsl:with-param name="try" select="$try - (($try * $try - $number) div (2 * $try))"/>
<xsl:with-param name="iter" select="$iter + 1"/>
<xsl:with-param name="maxiter" select="$maxiter"/>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>