<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet
  version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:fo="http://www.w3.org/1999/XSL/Format"
  xmlns:svg="http://www.w3.org/2000/svg"
  xmlns:e="http://schemas.gov.sk/form/00166260.Doplnenie_podania.sk/0.2">
  <xsl:output method="xml" indent="yes" omit-xml-declaration="no" encoding="utf-8" />

  <xsl:template name="CodelistCodeToName">
    <xsl:param name="code" />
    <xsl:choose>
      <xsl:when test="$code = ''"></xsl:when>

      <!-- UrychleneKonanie -->
      <xsl:when test="$code = 'ANO'">Áno</xsl:when>
      <xsl:when test="$code = 'NIE'">Nie</xsl:when>

      <!-- TypSubjektu -->
      <xsl:when test="$code = 'FYZICKAOSOBA'">Fyzická osoba</xsl:when>
      <xsl:when test="$code = 'PRAVNICKAOSOBA'">Právnická osoba</xsl:when>

      <!-- TypIdentifikatora -->
      <xsl:when test="$code = 'RODNECISLO'">Rodné číslo</xsl:when>
      <xsl:when test="$code = 'ZAHRANICNYIDENTIFIKATOR'">Zahraničný identifikátor</xsl:when>
      <xsl:when test="$code = 'ICO'">IČO</xsl:when>

      <!-- StatnaPrislusnost / Registracia Stat -->
      <xsl:when test="$code = 'SLOVENSKAREPUBLIKA'">Slovenská republika</xsl:when>
      <xsl:when test="$code = 'INYSTAT'">Zahraničná</xsl:when>

      <!-- TypPrilohy -->
      <xsl:when test="$code = 'PRILOHA'">Príloha</xsl:when>

      <xsl:otherwise>
        <xsl:value-of select="$code" />
      </xsl:otherwise>
    </xsl:choose>
  </xsl:template>

  <xsl:template name="string-replace-all">
    <xsl:param name="text" />
		<xsl:param name="replace" />
		<xsl:param name="by" />
		<xsl:choose>
      <xsl:when test="contains($text, $replace)">
        <xsl:value-of select="substring-before($text,$replace)" />
				<xsl:value-of select="$by" />
				<xsl:call-template
          name="string-replace-all">
          <xsl:with-param name="text" select="substring-after($text,$replace)" />
          <xsl:with-param name="replace" select="$replace" />
          <xsl:with-param name="by" select="$by" />
        </xsl:call-template>
      </xsl:when>
      <xsl:otherwise>
        <xsl:value-of select="$text" />
      </xsl:otherwise>
    </xsl:choose>
  </xsl:template>

  <xsl:template name="FormatText">
    <xsl:param name="data" />

    <xsl:variable name="var0">
      <xsl:call-template name="CodelistCodeToName">
        <xsl:with-param name="code" select="string($data)" />
      </xsl:call-template>
    </xsl:variable>
		
		<xsl:variable name="var1">
      <xsl:call-template name="formater1">
        <xsl:with-param name="text" select="$var0" />
      </xsl:call-template>
    </xsl:variable>
		
		<xsl:variable
      name="var2">
      <xsl:call-template name="formater2">
        <xsl:with-param name="text" select="$var1" />
      </xsl:call-template>
    </xsl:variable>
		
		<xsl:variable
      name="var3">
      <xsl:call-template name="formater3">
        <xsl:with-param name="text" select="$var2" />
      </xsl:call-template>
    </xsl:variable>
		
		<xsl:variable
      name="var4">
      <xsl:call-template name="formater4">
        <xsl:with-param name="text" select="$var3" />
      </xsl:call-template>
    </xsl:variable>
		
		<xsl:variable
      name="var5">
      <xsl:call-template name="formater5">
        <xsl:with-param name="text" select="$var4" />
      </xsl:call-template>
    </xsl:variable>
		
		<xsl:variable
      name="var6">
      <xsl:call-template name="formater6">
        <xsl:with-param name="text" select="$var5" />
      </xsl:call-template>
    </xsl:variable>
		
		<xsl:variable
      name="var7">
      <xsl:call-template name="formater7">
        <xsl:with-param name="text" select="$var6" />
      </xsl:call-template>
    </xsl:variable>
		
		<xsl:variable
      name="var8">
      <xsl:call-template name="formater8">
        <xsl:with-param name="text" select="$var7" />
      </xsl:call-template>
    </xsl:variable>
		
		<xsl:variable
      name="var9">
      <xsl:call-template name="formater9">
        <xsl:with-param name="text" select="$var8" />
      </xsl:call-template>
    </xsl:variable>
		
		<xsl:variable
      name="var10">
      <xsl:call-template name="formater10">
        <xsl:with-param name="text" select="$var9" />
      </xsl:call-template>
    </xsl:variable>
		
		<xsl:variable
      name="var11">
      <xsl:call-template name="formater11">
        <xsl:with-param name="text" select="$var10" />
      </xsl:call-template>
    </xsl:variable>
		
		<xsl:variable
      name="var12">
      <xsl:call-template name="formater12">
        <xsl:with-param name="text" select="$var11" />
      </xsl:call-template>
    </xsl:variable>
		
		<xsl:variable
      name="var13">
      <xsl:call-template name="formater13">
        <xsl:with-param name="text" select="$var12" />
      </xsl:call-template>
    </xsl:variable>
		
		<xsl:variable
      name="var14">
      <xsl:call-template name="formater14">
        <xsl:with-param name="text" select="$var13" />
      </xsl:call-template>
    </xsl:variable>
		
		<xsl:variable
      name="var15">
      <xsl:call-template name="formater15">
        <xsl:with-param name="text" select="$var14" />
      </xsl:call-template>
    </xsl:variable>
		
		<xsl:variable
      name="var16">
      <xsl:call-template name="formater16">
        <xsl:with-param name="text" select="$var15" />
      </xsl:call-template>
    </xsl:variable>
		
		<xsl:variable
      name="var17">
      <xsl:call-template name="formater17">
        <xsl:with-param name="text" select="$var16" />
      </xsl:call-template>
    </xsl:variable>
		
		<xsl:variable
      name="var18">
      <xsl:call-template name="formater18">
        <xsl:with-param name="text" select="$var17" />
      </xsl:call-template>
    </xsl:variable>
		
		<xsl:variable
      name="var19">
      <xsl:call-template name="formater19">
        <xsl:with-param name="text" select="$var18" />
      </xsl:call-template>
    </xsl:variable>
		
		<xsl:variable
      name="var20">
      <xsl:call-template name="formater20">
        <xsl:with-param name="text" select="$var19" />
      </xsl:call-template>
    </xsl:variable>
		
		<xsl:variable
      name="var21">
      <xsl:call-template name="formater21">
        <xsl:with-param name="text" select="$var20" />
      </xsl:call-template>
    </xsl:variable>
		
		<xsl:variable
      name="var22">
      <xsl:call-template name="formater22">
        <xsl:with-param name="text" select="$var21" />
      </xsl:call-template>
    </xsl:variable>
		
		<xsl:variable
      name="var23">
      <xsl:call-template name="formater23">
        <xsl:with-param name="text" select="$var22" />
      </xsl:call-template>
    </xsl:variable>
		
		<xsl:variable
      name="var24">
      <xsl:call-template name="formater24">
        <xsl:with-param name="text" select="$var23" />
      </xsl:call-template>
    </xsl:variable>
		
		<xsl:variable
      name="var25">
      <xsl:call-template name="formater25">
        <xsl:with-param name="text" select="$var24" />
      </xsl:call-template>
    </xsl:variable>
		
		<xsl:variable
      name="var26">
      <xsl:call-template name="formater26">
        <xsl:with-param name="text" select="$var25" />
      </xsl:call-template>
    </xsl:variable>
		
		<xsl:variable
      name="var27">
      <xsl:call-template name="formater27">
        <xsl:with-param name="text" select="$var26" />
      </xsl:call-template>
    </xsl:variable>
		
		<xsl:variable
      name="var28">
      <xsl:call-template name="formater28">
        <xsl:with-param name="text" select="$var27" />
      </xsl:call-template>
    </xsl:variable>
		
		<xsl:variable
      name="var29">
      <xsl:call-template name="formater29">
        <xsl:with-param name="text" select="$var28" />
      </xsl:call-template>
    </xsl:variable>
		
		<xsl:variable
      name="var30">
      <xsl:call-template name="formater30">
        <xsl:with-param name="text" select="$var29" />
      </xsl:call-template>
    </xsl:variable>
		
		<xsl:variable
      name="var31">
      <xsl:call-template name="formater31">
        <xsl:with-param name="text" select="$var30" />
      </xsl:call-template>
    </xsl:variable>
		
		<xsl:variable
      name="var32">
      <xsl:call-template name="formater32">
        <xsl:with-param name="text" select="$var31" />
      </xsl:call-template>
    </xsl:variable>
		
		<xsl:variable
      name="var33">
      <xsl:call-template name="formater33">
        <xsl:with-param name="text" select="$var32" />
      </xsl:call-template>
    </xsl:variable>
		
		<xsl:variable
      name="var34">
      <xsl:call-template name="formater34">
        <xsl:with-param name="text" select="$var33" />
      </xsl:call-template>
    </xsl:variable>
		
		<xsl:variable
      name="var35">
      <xsl:call-template name="formater35">
        <xsl:with-param name="text" select="$var34" />
      </xsl:call-template>
    </xsl:variable>
		
		<xsl:variable
      name="var36">
      <xsl:call-template name="formater36">
        <xsl:with-param name="text" select="$var35" />
      </xsl:call-template>
    </xsl:variable>

		<xsl:value-of
      select="$var36" />
  </xsl:template>

  <xsl:template name="formater1">
    <xsl:param name="text" />
		<xsl:call-template name="string-replace-all">
      <xsl:with-param name="text" select="$text" />
      <xsl:with-param name="replace" select="' § '" />
      <xsl:with-param name="by"><xsl:text> §&#160;</xsl:text></xsl:with-param>
    </xsl:call-template>
  </xsl:template>
  <xsl:template name="formater2">
    <xsl:param name="text" />
		<xsl:call-template name="string-replace-all">
      <xsl:with-param name="text" select="$text" />
      <xsl:with-param name="replace" select="' Z.z.'" />
      <xsl:with-param name="by"><xsl:text>&#160;Z.z.</xsl:text></xsl:with-param>
    </xsl:call-template>
  </xsl:template>
  <xsl:template name="formater3">
    <xsl:param name="text" />
		<xsl:call-template name="string-replace-all">
      <xsl:with-param name="text" select="$text" />
      <xsl:with-param name="replace" select="' v '" />
      <xsl:with-param name="by"><xsl:text> v&#160;</xsl:text></xsl:with-param>
    </xsl:call-template>
  </xsl:template>
  <xsl:template name="formater4">
    <xsl:param name="text" />
		<xsl:call-template name="string-replace-all">
      <xsl:with-param name="text" select="$text" />
      <xsl:with-param name="replace" select="' o '" />
      <xsl:with-param name="by"><xsl:text> o&#160;</xsl:text></xsl:with-param>
    </xsl:call-template>
  </xsl:template>
  <xsl:template name="formater5">
    <xsl:param name="text" />
		<xsl:call-template name="string-replace-all">
      <xsl:with-param name="text" select="$text" />
      <xsl:with-param name="replace" select="' na '" />
      <xsl:with-param name="by"><xsl:text> na&#160;</xsl:text></xsl:with-param>
    </xsl:call-template>
  </xsl:template>
  <xsl:template name="formater6">
    <xsl:param name="text" />
		<xsl:call-template name="string-replace-all">
      <xsl:with-param name="text" select="$text" />
      <xsl:with-param name="replace" select="' k '" />
      <xsl:with-param name="by"><xsl:text> k&#160;</xsl:text></xsl:with-param>
    </xsl:call-template>
  </xsl:template>
  <xsl:template name="formater7">
    <xsl:param name="text" />
		<xsl:call-template name="string-replace-all">
      <xsl:with-param name="text" select="$text" />
      <xsl:with-param name="replace" select="' do '" />
      <xsl:with-param name="by"><xsl:text> do&#160;</xsl:text></xsl:with-param>
    </xsl:call-template>
  </xsl:template>
  <xsl:template name="formater8">
    <xsl:param name="text" />
		<xsl:call-template name="string-replace-all">
      <xsl:with-param name="text" select="$text" />
      <xsl:with-param name="replace" select="' cez '" />
      <xsl:with-param name="by"><xsl:text> cez&#160;</xsl:text></xsl:with-param>
    </xsl:call-template>
  </xsl:template>
  <xsl:template name="formater9">
    <xsl:param name="text" />
		<xsl:call-template name="string-replace-all">
      <xsl:with-param name="text" select="$text" />
      <xsl:with-param name="replace" select="' bez '" />
      <xsl:with-param name="by"><xsl:text> bez&#160;</xsl:text></xsl:with-param>
    </xsl:call-template>
  </xsl:template>
  <xsl:template name="formater10">
    <xsl:param name="text" />
		<xsl:call-template name="string-replace-all">
      <xsl:with-param name="text" select="$text" />
      <xsl:with-param name="replace" select="' od '" />
      <xsl:with-param name="by"><xsl:text> od&#160;</xsl:text></xsl:with-param>
    </xsl:call-template>
  </xsl:template>
  <xsl:template name="formater11">
    <xsl:param name="text" />
		<xsl:call-template name="string-replace-all">
      <xsl:with-param name="text" select="$text" />
      <xsl:with-param name="replace" select="' po '" />
      <xsl:with-param name="by"><xsl:text> po&#160;</xsl:text></xsl:with-param>
    </xsl:call-template>
  </xsl:template>
  <xsl:template name="formater12">
    <xsl:param name="text" />
		<xsl:call-template name="string-replace-all">
      <xsl:with-param name="text" select="$text" />
      <xsl:with-param name="replace" select="' pod '" />
      <xsl:with-param name="by"><xsl:text> pod&#160;</xsl:text></xsl:with-param>
    </xsl:call-template>
  </xsl:template>
  <xsl:template name="formater13">
    <xsl:param name="text" />
		<xsl:call-template name="string-replace-all">
      <xsl:with-param name="text" select="$text" />
      <xsl:with-param name="replace" select="' pre '" />
      <xsl:with-param name="by"><xsl:text> pre&#160;</xsl:text></xsl:with-param>
    </xsl:call-template>
  </xsl:template>
  <xsl:template name="formater14">
    <xsl:param name="text" />
		<xsl:call-template name="string-replace-all">
      <xsl:with-param name="text" select="$text" />
      <xsl:with-param name="replace" select="' pri '" />
      <xsl:with-param name="by"><xsl:text> pri&#160;</xsl:text></xsl:with-param>
    </xsl:call-template>
  </xsl:template>
  <xsl:template name="formater15">
    <xsl:param name="text" />
		<xsl:call-template name="string-replace-all">
      <xsl:with-param name="text" select="$text" />
      <xsl:with-param name="replace" select="' s '" />
      <xsl:with-param name="by"><xsl:text> s&#160;</xsl:text></xsl:with-param>
    </xsl:call-template>
  </xsl:template>
  <xsl:template name="formater16">
    <xsl:param name="text" />
		<xsl:call-template name="string-replace-all">
      <xsl:with-param name="text" select="$text" />
      <xsl:with-param name="replace" select="' so '" />
      <xsl:with-param name="by"><xsl:text> so&#160;</xsl:text></xsl:with-param>
    </xsl:call-template>
  </xsl:template>
  <xsl:template name="formater17">
    <xsl:param name="text" />
		<xsl:call-template name="string-replace-all">
      <xsl:with-param name="text" select="$text" />
      <xsl:with-param name="replace" select="' z '" />
      <xsl:with-param name="by"><xsl:text> z&#160;</xsl:text></xsl:with-param>
    </xsl:call-template>
  </xsl:template>
  <xsl:template name="formater18">
    <xsl:param name="text" />
		<xsl:call-template name="string-replace-all">
      <xsl:with-param name="text" select="$text" />
      <xsl:with-param name="replace" select="' zo '" />
      <xsl:with-param name="by"><xsl:text> zo&#160;</xsl:text></xsl:with-param>
    </xsl:call-template>
  </xsl:template>
  <xsl:template name="formater19">
    <xsl:param name="text" />
		<xsl:call-template name="string-replace-all">
      <xsl:with-param name="text" select="$text" />
      <xsl:with-param name="replace" select="' u '" />
      <xsl:with-param name="by"><xsl:text> u&#160;</xsl:text></xsl:with-param>
    </xsl:call-template>
  </xsl:template>
  <xsl:template name="formater20">
    <xsl:param name="text" />
		<xsl:call-template name="string-replace-all">
      <xsl:with-param name="text" select="$text" />
      <xsl:with-param name="replace" select="' proti '" />
      <xsl:with-param name="by"><xsl:text> proti&#160;</xsl:text></xsl:with-param>
    </xsl:call-template>
  </xsl:template>
  <xsl:template name="formater21">
    <xsl:param name="text" />
		<xsl:call-template name="string-replace-all">
      <xsl:with-param name="text" select="$text" />
      <xsl:with-param name="replace" select="' pred '" />
      <xsl:with-param name="by"><xsl:text> pred&#160;</xsl:text></xsl:with-param>
    </xsl:call-template>
  </xsl:template>
  <xsl:template name="formater22">
    <xsl:param name="text" />
		<xsl:call-template name="string-replace-all">
      <xsl:with-param name="text" select="$text" />
      <xsl:with-param name="replace" select="' medzi '" />
      <xsl:with-param name="by"><xsl:text> medzi&#160;</xsl:text></xsl:with-param>
    </xsl:call-template>
  </xsl:template>
  <xsl:template name="formater23">
    <xsl:param name="text" />
		<xsl:call-template name="string-replace-all">
      <xsl:with-param name="text" select="$text" />
      <xsl:with-param name="replace" select="' okrem '" />
      <xsl:with-param name="by"><xsl:text> okrem&#160;</xsl:text></xsl:with-param>
    </xsl:call-template>
  </xsl:template>
  <xsl:template name="formater24">
    <xsl:param name="text" />
		<xsl:call-template name="string-replace-all">
      <xsl:with-param name="text" select="$text" />
      <xsl:with-param name="replace" select="' ku '" />
      <xsl:with-param name="by"><xsl:text> ku&#160;</xsl:text></xsl:with-param>
    </xsl:call-template>
  </xsl:template>
  <xsl:template name="formater25">
    <xsl:param name="text" />
		<xsl:call-template name="string-replace-all">
      <xsl:with-param name="text" select="$text" />
      <xsl:with-param name="replace" select="' voči '" />
      <xsl:with-param name="by"><xsl:text> voči&#160;</xsl:text></xsl:with-param>
    </xsl:call-template>
  </xsl:template>
  <xsl:template name="formater26">
    <xsl:param name="text" />
		<xsl:call-template name="string-replace-all">
      <xsl:with-param name="text" select="$text" />
      <xsl:with-param name="replace" select="' a '" />
      <xsl:with-param name="by"><xsl:text> a&#160;</xsl:text></xsl:with-param>
    </xsl:call-template>
  </xsl:template>
  <xsl:template name="formater27">
    <xsl:param name="text" />
		<xsl:call-template name="string-replace-all">
      <xsl:with-param name="text" select="$text" />
      <xsl:with-param name="replace" select="' nad '" />
      <xsl:with-param name="by"><xsl:text> nad&#160;</xsl:text></xsl:with-param>
    </xsl:call-template>
  </xsl:template>
  <xsl:template name="formater28">
    <xsl:param name="text" />
		<xsl:call-template name="string-replace-all">
      <xsl:with-param name="text" select="$text" />
      <xsl:with-param name="replace" select="' EUR'" />
      <xsl:with-param name="by"><xsl:text>&#160;EUR</xsl:text></xsl:with-param>
    </xsl:call-template>
  </xsl:template>
  <xsl:template name="formater29">
    <xsl:param name="text" />
		<xsl:call-template name="string-replace-all">
      <xsl:with-param name="text" select="$text" />
      <xsl:with-param name="replace" select="' za '" />
      <xsl:with-param name="by"><xsl:text> za&#160;</xsl:text></xsl:with-param>
    </xsl:call-template>
  </xsl:template>
  <xsl:template name="formater30">
    <xsl:param name="text" />
		<xsl:call-template name="string-replace-all">
      <xsl:with-param name="text" select="$text" />
      <xsl:with-param name="replace" select="' č. '" />
      <xsl:with-param name="by"><xsl:text> č.&#160;</xsl:text></xsl:with-param>
    </xsl:call-template>
  </xsl:template>
  <xsl:template name="formater31">
    <xsl:param name="text" />
		<xsl:call-template name="string-replace-all">
      <xsl:with-param name="text" select="$text" />
      <xsl:with-param name="replace" select="' vo '" />
      <xsl:with-param name="by"><xsl:text> vo&#160;</xsl:text></xsl:with-param>
    </xsl:call-template>
  </xsl:template>
  <xsl:template name="formater32">
    <xsl:param name="text" />
		<xsl:call-template name="string-replace-all">
      <xsl:with-param name="text" select="$text" />
      <xsl:with-param name="replace" select="' eur'" />
      <xsl:with-param name="by"><xsl:text>&#160;eur</xsl:text></xsl:with-param>
    </xsl:call-template>
  </xsl:template>
  <xsl:template name="formater33">
    <xsl:param name="text" />
		<xsl:call-template name="string-replace-all">
      <xsl:with-param name="text" select="$text" />
      <xsl:with-param name="replace" select="' odo '" />
      <xsl:with-param name="by"><xsl:text> odo&#160;</xsl:text></xsl:with-param>
    </xsl:call-template>
  </xsl:template>
  <xsl:template name="formater34">
    <xsl:param name="text" />
		<xsl:call-template name="string-replace-all">
      <xsl:with-param name="text" select="$text" />
      <xsl:with-param name="replace" select="'(§ '" />
      <xsl:with-param name="by"><xsl:text>(§&#160;</xsl:text></xsl:with-param>
    </xsl:call-template>
  </xsl:template>
  <xsl:template name="formater35">
    <xsl:param name="text" />
		<xsl:call-template name="string-replace-all">
      <xsl:with-param name="text" select="$text" />
      <xsl:with-param name="replace" select="' %'" />
      <xsl:with-param name="by"><xsl:text>&#160;%</xsl:text></xsl:with-param>
    </xsl:call-template>
  </xsl:template>
  <xsl:template name="formater36">
    <xsl:param name="text" />
		<xsl:call-template name="string-replace-all">
      <xsl:with-param name="text" select="$text" />
      <xsl:with-param name="replace" select="' Z. z.'" />
      <xsl:with-param name="by"><xsl:text>&#160;Z.&#160;z.</xsl:text></xsl:with-param>
    </xsl:call-template>
  </xsl:template>

  <!-- GENERATED -->
  <xsl:template match="/">
    <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" font-family="'Arial', sans-serif"
      font-size="9.0pt" color="black">
      <fo:layout-master-set>
        <!--Vertical
        page layout-->
        <fo:simple-page-master master-name="firstPageVertical" page-height="297mm"
          page-width="210mm">
          <fo:region-body margin-top="2.0cm" margin-bottom="2.0cm" margin-left="1.8cm"
            margin-right="1.8cm" />

          <fo:region-after region-name="xsl-region-after-first-page" extent="12.5cm"
            display-align="after" />
        </fo:simple-page-master>

        <fo:simple-page-master master-name="restPagesVertical" page-height="297mm"
          page-width="210mm">
          <fo:region-body margin-top="2.0cm" margin-bottom="2.0cm" margin-left="1.8cm"
            margin-right="1.8cm" />
          <fo:region-after region-name="xsl-region-after-rest-pages" extent="5in"
            display-align="after" />
        </fo:simple-page-master>

        <fo:page-sequence-master master-name="A4Vertical">
          <fo:repeatable-page-master-alternatives>
            <fo:conditional-page-master-reference page-position="first"
              master-reference="firstPageVertical" />
            <fo:conditional-page-master-reference master-reference="restPagesVertical" />
          </fo:repeatable-page-master-alternatives>
        </fo:page-sequence-master>

        <!--Horizontal
        page layout-->
        <fo:simple-page-master master-name="firstPageHorizontal" page-height="210mm"
          page-width="297mm">
          <fo:region-body margin-top="2.0cm" margin-bottom="2.0cm" margin-left="1.8cm"
            margin-right="1.8cm" />

          <fo:region-after region-name="xsl-region-after-first-page" extent="12.5cm"
            display-align="after" />
        </fo:simple-page-master>

        <fo:simple-page-master master-name="restPagesHorizontal" page-height="210mm"
          page-width="297mm">
          <fo:region-body margin-top="2.0cm" margin-bottom="2.0cm" margin-left="1.8cm"
            margin-right="1.8cm" />
          <fo:region-after region-name="xsl-region-after-rest-pages" extent="5in"
            display-align="after" />
        </fo:simple-page-master>

        <fo:page-sequence-master master-name="A4Horizontal">
          <fo:repeatable-page-master-alternatives>
            <fo:conditional-page-master-reference page-position="first"
              master-reference="firstPageHorizontal" />
            <fo:conditional-page-master-reference master-reference="restPagesHorizontal" />
          </fo:repeatable-page-master-alternatives>
        </fo:page-sequence-master>
      </fo:layout-master-set>

      <fo:page-sequence master-reference="A4Vertical">

        <fo:static-content flow-name="xsl-region-after-first-page" margin-left="2mm"
          margin-right="2mm">
          <fo:block text-align="center" margin-bottom="1cm">Strana<xsl:text> </xsl:text><fo:page-number />
    / <fo:page-number-citation ref-id="end" /></fo:block>
        </fo:static-content>
        <fo:static-content flow-name="xsl-region-after-rest-pages" margin-left="2mm"
          margin-right="2mm">
          <fo:block text-align="center" margin-bottom="1cm">Strana<xsl:text> </xsl:text><fo:page-number />
    / <fo:page-number-citation ref-id="end" /></fo:block>
        </fo:static-content>

        <!-- *******************MAIN BODY********************* -->
        <fo:flow flow-name="xsl-region-body">
          <fo:block-container>
            <xsl:attribute name='margin-top'>3mm</xsl:attribute>
            <!--<xsl:attribute
            name='margin-bottom'>3mm</xsl:attribute>-->
            <xsl:attribute name='margin-right'>3mm</xsl:attribute>
            <fo:table table-layout="fixed" width="100%" start-indent="0" end-indent="0">
              <fo:table-column column-width="100%" />
              <fo:table-body>
                <fo:table-row>
                  <fo:table-cell>
                    <xsl:attribute name='padding-left'>2mm</xsl:attribute>
                    <xsl:attribute name='padding-right'>2mm</xsl:attribute>
                    <fo:block keep-with-next.within-page="always"
                      font-size="10.998pt"
                      text-align="left"
                      text-decoration="none"
                      font-style="normal"
                      font-weight="bold"
                    >Doplnenie podania</fo:block>
                  </fo:table-cell>
                </fo:table-row>
              </fo:table-body>
            </fo:table>
          </fo:block-container>
          <fo:block-container margin-bottom="3mm" width="auto" margin-top='1mm'>
            <fo:table table-layout="fixed" width="100%" start-indent="0" end-indent="0">
              <fo:table-column column-width="100%" />
              <fo:table-body>
                <fo:table-row>
                  <fo:table-cell>
                    <xsl:attribute name='padding-left'>2mm</xsl:attribute>
                    <xsl:attribute name='padding-right'>2mm</xsl:attribute>
                    <fo:block keep-with-previous.within-page="100">
                      <fo:leader leader-pattern="rule" leader-length="100%" rule-style="solid"
                        rule-thickness="1pt"></fo:leader>
                    </fo:block>
                  </fo:table-cell>
                </fo:table-row>
              </fo:table-body>
            </fo:table>
          </fo:block-container>
          <fo:block-container width="50%" keep-together.within-page="100">
            <xsl:attribute name='margin-top'>3mm</xsl:attribute>
            <xsl:attribute name='margin-bottom'>3mm</xsl:attribute>
            <!--<xsl:attribute
            name='margin-right'>3mm</xsl:attribute>-->
            <fo:table table-layout="fixed" width="100%" start-indent="0" end-indent="0">
              <fo:table-column column-width="100%" />
              <fo:table-body>
                <fo:table-row>
                  <fo:table-cell>
                    <xsl:attribute name='padding-left'>2mm</xsl:attribute>
                    <xsl:attribute name='padding-right'>2mm</xsl:attribute>
                    <fo:block>Číslo podania</fo:block>
                  </fo:table-cell>
                </fo:table-row>
              </fo:table-body>
            </fo:table>
            <fo:table table-layout="fixed" width="100%" start-indent="0" end-indent="0">
              <fo:table-column column-width="100%" />
              <fo:table-body>
                <fo:table-row>
                  <fo:table-cell>
                    <xsl:attribute name='padding-left'>2mm</xsl:attribute>
                    <xsl:attribute name='padding-right'>2mm</xsl:attribute>
                    <fo:table table-layout="fixed" width="100%" start-indent="0" end-indent="0">
                      <fo:table-column column-width="100%" />
                      <fo:table-body>
                        <fo:table-row>
                          <fo:table-cell border="solid 0.6pt" background-color="white" padding="1pt">
                            <fo:block><xsl:call-template name="FormatText">
                                <xsl:with-param name="data"
                                  select="/e:eform/e:CisloPodania[not(@*)]" />
                              </xsl:call-template>
    &#160;</fo:block>
                          </fo:table-cell>
                        </fo:table-row>
                      </fo:table-body>
                    </fo:table>
                  </fo:table-cell>
                </fo:table-row>
              </fo:table-body>
            </fo:table>
          </fo:block-container>
          <fo:block-container width="50%" keep-together.within-page="100">
            <xsl:attribute name='margin-top'>3mm</xsl:attribute>
            <xsl:attribute name='margin-bottom'>3mm</xsl:attribute>
            <!--<xsl:attribute
            name='margin-right'>3mm</xsl:attribute>-->
            <fo:table table-layout="fixed" width="100%" start-indent="0" end-indent="0">
              <fo:table-column column-width="100%" />
              <fo:table-body>
                <fo:table-row>
                  <fo:table-cell>
                    <xsl:attribute name='padding-left'>2mm</xsl:attribute>
                    <xsl:attribute name='padding-right'>2mm</xsl:attribute>
                    <fo:block>Katastrálny odbor OU</fo:block>
                  </fo:table-cell>
                </fo:table-row>
              </fo:table-body>
            </fo:table>
            <fo:table table-layout="fixed" width="100%" start-indent="0" end-indent="0">
              <fo:table-column column-width="100%" />
              <fo:table-body>
                <fo:table-row>
                  <fo:table-cell>
                    <xsl:attribute name='padding-left'>2mm</xsl:attribute>
                    <xsl:attribute name='padding-right'>2mm</xsl:attribute>
                    <fo:table table-layout="fixed" width="100%" start-indent="0" end-indent="0">
                      <fo:table-column column-width="100%" />
                      <fo:table-body>
                        <fo:table-row>
                          <fo:table-cell border="solid 0.6pt" background-color="white" padding="1pt">
                            <fo:block><xsl:call-template name="FormatText">
                                <xsl:with-param name="data"
                                  select="/e:eform/e:PracoviskoKatastra/e:Nazov[not(@*)]" />
                              </xsl:call-template>
    &#160;</fo:block>
                          </fo:table-cell>
                        </fo:table-row>
                      </fo:table-body>
                    </fo:table>
                  </fo:table-cell>
                </fo:table-row>
              </fo:table-body>
            </fo:table>
          </fo:block-container>
          <fo:block-container width="50%" keep-together.within-page="100">
            <xsl:attribute name='margin-top'>3mm</xsl:attribute>
            <xsl:attribute name='margin-bottom'>3mm</xsl:attribute>
            <!--<xsl:attribute
            name='margin-right'>3mm</xsl:attribute>-->
            <fo:table table-layout="fixed" width="100%" start-indent="0" end-indent="0">
              <fo:table-column column-width="100%" />
              <fo:table-body>
                <fo:table-row>
                  <fo:table-cell>
                    <xsl:attribute name='padding-left'>2mm</xsl:attribute>
                    <xsl:attribute name='padding-right'>2mm</xsl:attribute>
                    <fo:block>Číslo konania</fo:block>
                  </fo:table-cell>
                </fo:table-row>
              </fo:table-body>
            </fo:table>
            <fo:table table-layout="fixed" width="100%" start-indent="0" end-indent="0">
              <fo:table-column column-width="100%" />
              <fo:table-body>
                <fo:table-row>
                  <fo:table-cell>
                    <xsl:attribute name='padding-left'>2mm</xsl:attribute>
                    <xsl:attribute name='padding-right'>2mm</xsl:attribute>
                    <fo:table table-layout="fixed" width="100%" start-indent="0" end-indent="0">
                      <fo:table-column column-width="100%" />
                      <fo:table-body>
                        <fo:table-row>
                          <fo:table-cell border="solid 0.6pt" background-color="white" padding="1pt">
                            <fo:block><xsl:call-template name="FormatText">
                                <xsl:with-param name="data"
                                  select="/e:eform/e:CisloKonania[not(@*)]" />
                              </xsl:call-template>
    &#160;</fo:block>
                          </fo:table-cell>
                        </fo:table-row>
                      </fo:table-body>
                    </fo:table>
                  </fo:table-cell>
                </fo:table-row>
              </fo:table-body>
            </fo:table>
          </fo:block-container>
          <fo:block-container width="50%" keep-together.within-page="100">
            <xsl:attribute name='margin-top'>3mm</xsl:attribute>
            <xsl:attribute name='margin-bottom'>3mm</xsl:attribute>
            <!--<xsl:attribute
            name='margin-right'>3mm</xsl:attribute>-->
            <fo:table table-layout="fixed" width="100%" start-indent="0" end-indent="0">
              <fo:table-column column-width="100%" />
              <fo:table-body>
                <fo:table-row>
                  <fo:table-cell>
                    <xsl:attribute name='padding-left'>2mm</xsl:attribute>
                    <xsl:attribute name='padding-right'>2mm</xsl:attribute>
                    <fo:block>Spôsob doručenia podania</fo:block>
                  </fo:table-cell>
                </fo:table-row>
              </fo:table-body>
            </fo:table>
            <fo:table table-layout="fixed" width="100%" start-indent="0" end-indent="0">
              <fo:table-column column-width="100%" />
              <fo:table-body>
                <fo:table-row>
                  <fo:table-cell>
                    <xsl:attribute name='padding-left'>2mm</xsl:attribute>
                    <xsl:attribute name='padding-right'>2mm</xsl:attribute>
                    <fo:table table-layout="fixed" width="100%" start-indent="0" end-indent="0">
                      <fo:table-column column-width="100%" />
                      <fo:table-body>
                        <fo:table-row>
                          <fo:table-cell border="solid 0.6pt" background-color="white" padding="1pt">
                            <fo:block><xsl:call-template name="FormatText">
                                <xsl:with-param name="data"
                                  select="/e:eform/e:SposobDoruceniaPodania[not(@*)]" />
                              </xsl:call-template>
    &#160;</fo:block>
                          </fo:table-cell>
                        </fo:table-row>
                      </fo:table-body>
                    </fo:table>
                  </fo:table-cell>
                </fo:table-row>
              </fo:table-body>
            </fo:table>
          </fo:block-container>
          <fo:block-container width="auto" keep-together.within-page="100">
            <xsl:attribute name='margin-top'>3mm</xsl:attribute>
            <xsl:attribute name='margin-bottom'>3mm</xsl:attribute>
            <!--<xsl:attribute
            name='margin-right'>3mm</xsl:attribute>-->
            <fo:table table-layout="fixed" width="100%" start-indent="0" end-indent="0">
              <fo:table-column column-width="100%" />
              <fo:table-body>
                <fo:table-row>
                  <fo:table-cell>
                    <xsl:attribute name='padding-left'>2mm</xsl:attribute>
                    <xsl:attribute name='padding-right'>2mm</xsl:attribute>
                    <fo:block>Predmet návrhu</fo:block>
                  </fo:table-cell>
                </fo:table-row>
              </fo:table-body>
            </fo:table>
            <fo:table table-layout="fixed" width="100%" start-indent="0" end-indent="0">
              <fo:table-column column-width="100%" />
              <fo:table-body>
                <fo:table-row>
                  <fo:table-cell>
                    <xsl:attribute name='padding-left'>2mm</xsl:attribute>
                    <xsl:attribute name='padding-right'>2mm</xsl:attribute>
                    <fo:table table-layout="fixed" width="100%" start-indent="0" end-indent="0">
                      <fo:table-column column-width="100%" />
                      <fo:table-body>
                        <fo:table-row>
                          <fo:table-cell border="solid 0.6pt" background-color="white" padding="1pt">
                            <fo:block><xsl:call-template name="FormatText">
                                <xsl:with-param name="data"
                                  select="/e:eform/e:PredmetNavrhu[not(@*)]" />
                              </xsl:call-template>
    &#160;</fo:block>
                          </fo:table-cell>
                        </fo:table-row>
                      </fo:table-body>
                    </fo:table>
                  </fo:table-cell>
                </fo:table-row>
              </fo:table-body>
            </fo:table>
          </fo:block-container>
          <fo:block-container width="auto" keep-together.within-page="100">
            <xsl:attribute name='margin-top'>3mm</xsl:attribute>
            <xsl:attribute name='margin-bottom'>3mm</xsl:attribute>
            <!--<xsl:attribute
            name='margin-right'>3mm</xsl:attribute>-->
            <fo:table table-layout="fixed" width="100%" start-indent="0" end-indent="0">
              <fo:table-column column-width="100%" />
              <fo:table-body>
                <fo:table-row>
                  <fo:table-cell>
                    <xsl:attribute name='padding-left'>2mm</xsl:attribute>
                    <xsl:attribute name='padding-right'>2mm</xsl:attribute>
                    <fo:block>Označenie právneho úkonu</fo:block>
                  </fo:table-cell>
                </fo:table-row>
              </fo:table-body>
            </fo:table>
            <fo:table table-layout="fixed" width="100%" start-indent="0" end-indent="0">
              <fo:table-column column-width="100%" />
              <fo:table-body>
                <fo:table-row>
                  <fo:table-cell>
                    <xsl:attribute name='padding-left'>2mm</xsl:attribute>
                    <xsl:attribute name='padding-right'>2mm</xsl:attribute>
                    <fo:table table-layout="fixed" width="100%" start-indent="0" end-indent="0">
                      <fo:table-column column-width="100%" />
                      <fo:table-body>
                        <fo:table-row>
                          <fo:table-cell border="solid 0.6pt" background-color="white" padding="1pt">
                            <fo:block><xsl:call-template name="FormatText">
                                <xsl:with-param name="data"
                                  select="/e:eform/e:OznacenieUkonu[not(@*)]" />
                              </xsl:call-template>
    &#160;</fo:block>
                          </fo:table-cell>
                        </fo:table-row>
                      </fo:table-body>
                    </fo:table>
                  </fo:table-cell>
                </fo:table-row>
              </fo:table-body>
            </fo:table>
          </fo:block-container>
          <fo:block-container width="auto" keep-together.within-page="100">
            <xsl:attribute name='margin-top'>3mm</xsl:attribute>
            <xsl:attribute name='margin-bottom'>3mm</xsl:attribute>
            <!--<xsl:attribute
            name='margin-right'>3mm</xsl:attribute>-->
            <fo:table table-layout="fixed" width="100%" start-indent="0" end-indent="0">
              <fo:table-column column-width="100%" />
              <fo:table-body>
                <fo:table-row>
                  <fo:table-cell>
                    <xsl:attribute name='padding-left'>2mm</xsl:attribute>
                    <xsl:attribute name='padding-right'>2mm</xsl:attribute>
                    <fo:block>Právny základ</fo:block>
                  </fo:table-cell>
                </fo:table-row>
              </fo:table-body>
            </fo:table>
            <fo:table table-layout="fixed" width="100%" start-indent="0" end-indent="0">
              <fo:table-column column-width="100%" />
              <fo:table-body>
                <fo:table-row>
                  <fo:table-cell>
                    <xsl:attribute name='padding-left'>2mm</xsl:attribute>
                    <xsl:attribute name='padding-right'>2mm</xsl:attribute>
                    <fo:table table-layout="fixed" width="100%" start-indent="0" end-indent="0">
                      <fo:table-column column-width="100%" />
                      <fo:table-body>
                        <fo:table-row>
                          <fo:table-cell border="solid 0.6pt" background-color="white" padding="1pt">
                            <fo:block><xsl:call-template name="FormatText">
                                <xsl:with-param name="data"
                                  select="/e:eform/e:PravnyZaklad[not(@*)]" />
                              </xsl:call-template>
    &#160;</fo:block>
                          </fo:table-cell>
                        </fo:table-row>
                      </fo:table-body>
                    </fo:table>
                  </fo:table-cell>
                </fo:table-row>
              </fo:table-body>
            </fo:table>
          </fo:block-container><!--foBlockForTableStart-->

          <fo:block-container width="auto">
            <xsl:attribute name='margin-left'>1mm</xsl:attribute>
            <xsl:attribute name='margin-right'>1mm</xsl:attribute>
            <fo:block font-size="12.0pt" font-weight="bold">
              <xsl:attribute name='margin-top'>5mm</xsl:attribute>
              <fo:block margin="5pt">Účastník doplňujúci konanie</fo:block>
            </fo:block>
            <fo:block keep-with-previous.within-page="100" border-width="0.6pt"
              border-top-style="solid">
              <fo:block margin="5pt">
                <fo:block-container>
                  <fo:table table-layout="fixed" width="100%" start-indent="0" end-indent="0">
                    <fo:table-column column-width="100%" />
                    <fo:table-body>
                      <fo:table-row>
                        <fo:table-cell>
                          <!--foBlockForTableStart-->
                          <xsl:if
                            test="/e:eform/e:UcastnikDoplnujuciKonanie/e:Subjekt[not(@*)]/e:TypSubjektu[not(@*)] = 'FYZICKAOSOBA'">
                            <fo:block-container width="auto">

                              <fo:block>


                                <!--foBlockForTableStart-->

                                <fo:block-container width="auto">
                                  <xsl:attribute name='margin-left'>1mm</xsl:attribute>
                                  <xsl:attribute name='margin-right'>1mm</xsl:attribute>
                                  <fo:block font-size="12.0pt" font-weight="bold">
                                    <xsl:attribute name='margin-top'>5mm</xsl:attribute>
                                    <fo:block margin="5pt">Fyzická osoba</fo:block>
                                  </fo:block>
                                  <fo:block keep-with-previous.within-page="100"
                                    border-width="0.6pt" border-top-style="solid">
                                    <fo:block margin="5pt">
                                      <fo:block-container>
                                        <fo:table table-layout="fixed" width="100%" start-indent="0"
                                          end-indent="0">
                                          <fo:table-column column-width="100%" />
                                          <fo:table-body>
                                            <fo:table-row>
                                              <fo:table-cell>
                                                <fo:block-container width="50%"
                                                  keep-together.within-page="100">
                                                  <xsl:attribute name='margin-top'>3mm</xsl:attribute>
                                                  <xsl:attribute name='margin-bottom'>3mm</xsl:attribute>
                                                  <!--<xsl:attribute
                                                  name='margin-right'>3mm</xsl:attribute>-->
                                                  <fo:table table-layout="fixed" width="100%"
                                                    start-indent="0" end-indent="0">
                                                    <fo:table-column column-width="100%" />
                                                    <fo:table-body>
                                                      <fo:table-row>
                                                        <fo:table-cell>
                                                          <xsl:attribute name='padding-left'>2mm</xsl:attribute>
                                                          <xsl:attribute name='padding-right'>2mm</xsl:attribute>
                                                          <fo:block>Identifikátor</fo:block>
                                                        </fo:table-cell>
                                                      </fo:table-row>
                                                    </fo:table-body>
                                                  </fo:table>
                                                  <fo:table table-layout="fixed" width="100%"
                                                    start-indent="0" end-indent="0">
                                                    <fo:table-column column-width="100%" />
                                                    <fo:table-body>
                                                      <fo:table-row>
                                                        <fo:table-cell>
                                                          <xsl:attribute name='padding-left'>2mm</xsl:attribute>
                                                          <xsl:attribute name='padding-right'>2mm</xsl:attribute>
                                                          <fo:table table-layout="fixed"
                                                            width="100%" start-indent="0"
                                                            end-indent="0">
                                                            <fo:table-column column-width="100%" />
                                                            <fo:table-body>
                                                              <fo:table-row>
                                                                <fo:table-cell border="solid 0.6pt"
                                                                  background-color="white"
                                                                  padding="1pt">
                                                                  <fo:block><xsl:call-template
                                                                      name="FormatText">
                                                                      <xsl:with-param name="data"
                                                                        select="/e:eform/e:UcastnikDoplnujuciKonanie/e:Subjekt[not(@*)]/e:FyzickaOsoba[not(@*)]/e:Identifikator/e:TypIdentifikatora[not(@*)]" />
                                                                    </xsl:call-template>
    &#160;</fo:block>
                                                                </fo:table-cell>
                                                              </fo:table-row>
                                                            </fo:table-body>
                                                          </fo:table>
                                                        </fo:table-cell>
                                                      </fo:table-row>
                                                    </fo:table-body>
                                                  </fo:table>
                                                </fo:block-container>
                                                <fo:block-container width="50%"
                                                  keep-together.within-page="100">
                                                  <xsl:attribute name='margin-top'>3mm</xsl:attribute>
                                                  <xsl:attribute name='margin-bottom'>3mm</xsl:attribute>
                                                  <!--<xsl:attribute
                                                  name='margin-right'>3mm</xsl:attribute>-->
                                                  <fo:table table-layout="fixed" width="100%"
                                                    start-indent="0" end-indent="0">
                                                    <fo:table-column column-width="100%" />
                                                    <fo:table-body>
                                                      <fo:table-row>
                                                        <fo:table-cell>
                                                          <xsl:attribute name='padding-left'>2mm</xsl:attribute>
                                                          <xsl:attribute name='padding-right'>2mm</xsl:attribute>
                                                          <fo:block>.</fo:block>
                                                        </fo:table-cell>
                                                      </fo:table-row>
                                                    </fo:table-body>
                                                  </fo:table>
                                                  <fo:table table-layout="fixed" width="100%"
                                                    start-indent="0" end-indent="0">
                                                    <fo:table-column column-width="100%" />
                                                    <fo:table-body>
                                                      <fo:table-row>
                                                        <fo:table-cell>
                                                          <xsl:attribute name='padding-left'>2mm</xsl:attribute>
                                                          <xsl:attribute name='padding-right'>2mm</xsl:attribute>
                                                          <fo:table table-layout="fixed"
                                                            width="100%" start-indent="0"
                                                            end-indent="0">
                                                            <fo:table-column column-width="100%" />
                                                            <fo:table-body>
                                                              <fo:table-row>
                                                                <fo:table-cell border="solid 0.6pt"
                                                                  background-color="white"
                                                                  padding="1pt">
                                                                  <fo:block><xsl:call-template
                                                                      name="FormatText">
                                                                      <xsl:with-param name="data"
                                                                        select="/e:eform/e:UcastnikDoplnujuciKonanie/e:Subjekt[not(@*)]/e:FyzickaOsoba[not(@*)]/e:Identifikator/e:HodnotaIdentifikatora[not(@*)]" />
                                                                    </xsl:call-template>
    &#160;</fo:block>
                                                                </fo:table-cell>
                                                              </fo:table-row>
                                                            </fo:table-body>
                                                          </fo:table>
                                                        </fo:table-cell>
                                                      </fo:table-row>
                                                    </fo:table-body>
                                                  </fo:table>
                                                </fo:block-container>
                                                <fo:block-container width="50%"
                                                  keep-together.within-page="100">
                                                  <xsl:attribute name='margin-top'>3mm</xsl:attribute>
                                                  <xsl:attribute name='margin-bottom'>3mm</xsl:attribute>
                                                  <!--<xsl:attribute
                                                  name='margin-right'>3mm</xsl:attribute>-->
                                                  <fo:table table-layout="fixed" width="100%"
                                                    start-indent="0" end-indent="0">
                                                    <fo:table-column column-width="100%" />
                                                    <fo:table-body>
                                                      <fo:table-row>
                                                        <fo:table-cell>
                                                          <xsl:attribute name='padding-left'>2mm</xsl:attribute>
                                                          <xsl:attribute name='padding-right'>2mm</xsl:attribute>
                                                          <fo:block>Titul pred menom</fo:block>
                                                        </fo:table-cell>
                                                      </fo:table-row>
                                                    </fo:table-body>
                                                  </fo:table>
                                                  <fo:table table-layout="fixed" width="100%"
                                                    start-indent="0" end-indent="0">
                                                    <fo:table-column column-width="100%" />
                                                    <fo:table-body>
                                                      <fo:table-row>
                                                        <fo:table-cell>
                                                          <xsl:attribute name='padding-left'>2mm</xsl:attribute>
                                                          <xsl:attribute name='padding-right'>2mm</xsl:attribute>
                                                          <fo:table table-layout="fixed"
                                                            width="100%" start-indent="0"
                                                            end-indent="0">
                                                            <fo:table-column column-width="100%" />
                                                            <fo:table-body>
                                                              <fo:table-row>
                                                                <fo:table-cell border="solid 0.6pt"
                                                                  background-color="white"
                                                                  padding="1pt">
                                                                  <fo:block><xsl:call-template
                                                                      name="FormatText">
                                                                      <xsl:with-param name="data"
                                                                        select="/e:eform/e:UcastnikDoplnujuciKonanie/e:Subjekt[not(@*)]/e:FyzickaOsoba[not(@*)]/e:TitulPredMenom[not(@*)]" />
                                                                    </xsl:call-template>
    &#160;</fo:block>
                                                                </fo:table-cell>
                                                              </fo:table-row>
                                                            </fo:table-body>
                                                          </fo:table>
                                                        </fo:table-cell>
                                                      </fo:table-row>
                                                    </fo:table-body>
                                                  </fo:table>
                                                </fo:block-container>
                                                <fo:block-container width="50%"
                                                  keep-together.within-page="100">
                                                  <xsl:attribute name='margin-top'>3mm</xsl:attribute>
                                                  <xsl:attribute name='margin-bottom'>3mm</xsl:attribute>
                                                  <!--<xsl:attribute
                                                  name='margin-right'>3mm</xsl:attribute>-->
                                                  <fo:table table-layout="fixed" width="100%"
                                                    start-indent="0" end-indent="0">
                                                    <fo:table-column column-width="100%" />
                                                    <fo:table-body>
                                                      <fo:table-row>
                                                        <fo:table-cell>
                                                          <xsl:attribute name='padding-left'>2mm</xsl:attribute>
                                                          <xsl:attribute name='padding-right'>2mm</xsl:attribute>
                                                          <fo:block>Meno</fo:block>
                                                        </fo:table-cell>
                                                      </fo:table-row>
                                                    </fo:table-body>
                                                  </fo:table>
                                                  <fo:table table-layout="fixed" width="100%"
                                                    start-indent="0" end-indent="0">
                                                    <fo:table-column column-width="100%" />
                                                    <fo:table-body>
                                                      <fo:table-row>
                                                        <fo:table-cell>
                                                          <xsl:attribute name='padding-left'>2mm</xsl:attribute>
                                                          <xsl:attribute name='padding-right'>2mm</xsl:attribute>
                                                          <fo:table table-layout="fixed"
                                                            width="100%" start-indent="0"
                                                            end-indent="0">
                                                            <fo:table-column column-width="100%" />
                                                            <fo:table-body>
                                                              <fo:table-row>
                                                                <fo:table-cell border="solid 0.6pt"
                                                                  background-color="white"
                                                                  padding="1pt">
                                                                  <fo:block><xsl:call-template
                                                                      name="FormatText">
                                                                      <xsl:with-param name="data"
                                                                        select="/e:eform/e:UcastnikDoplnujuciKonanie/e:Subjekt[not(@*)]/e:FyzickaOsoba[not(@*)]/e:KrstneMeno[not(@*)]" />
                                                                    </xsl:call-template>
    &#160;</fo:block>
                                                                </fo:table-cell>
                                                              </fo:table-row>
                                                            </fo:table-body>
                                                          </fo:table>
                                                        </fo:table-cell>
                                                      </fo:table-row>
                                                    </fo:table-body>
                                                  </fo:table>
                                                </fo:block-container>
                                                <fo:block-container width="50%"
                                                  keep-together.within-page="100">
                                                  <xsl:attribute name='margin-top'>3mm</xsl:attribute>
                                                  <xsl:attribute name='margin-bottom'>3mm</xsl:attribute>
                                                  <!--<xsl:attribute
                                                  name='margin-right'>3mm</xsl:attribute>-->
                                                  <fo:table table-layout="fixed" width="100%"
                                                    start-indent="0" end-indent="0">
                                                    <fo:table-column column-width="100%" />
                                                    <fo:table-body>
                                                      <fo:table-row>
                                                        <fo:table-cell>
                                                          <xsl:attribute name='padding-left'>2mm</xsl:attribute>
                                                          <xsl:attribute name='padding-right'>2mm</xsl:attribute>
                                                          <fo:block>Priezvisko</fo:block>
                                                        </fo:table-cell>
                                                      </fo:table-row>
                                                    </fo:table-body>
                                                  </fo:table>
                                                  <fo:table table-layout="fixed" width="100%"
                                                    start-indent="0" end-indent="0">
                                                    <fo:table-column column-width="100%" />
                                                    <fo:table-body>
                                                      <fo:table-row>
                                                        <fo:table-cell>
                                                          <xsl:attribute name='padding-left'>2mm</xsl:attribute>
                                                          <xsl:attribute name='padding-right'>2mm</xsl:attribute>
                                                          <fo:table table-layout="fixed"
                                                            width="100%" start-indent="0"
                                                            end-indent="0">
                                                            <fo:table-column column-width="100%" />
                                                            <fo:table-body>
                                                              <fo:table-row>
                                                                <fo:table-cell border="solid 0.6pt"
                                                                  background-color="white"
                                                                  padding="1pt">
                                                                  <fo:block><xsl:call-template
                                                                      name="FormatText">
                                                                      <xsl:with-param name="data"
                                                                        select="/e:eform/e:UcastnikDoplnujuciKonanie/e:Subjekt[not(@*)]/e:FyzickaOsoba[not(@*)]/e:Priezvisko[not(@*)]" />
                                                                    </xsl:call-template>
    &#160;</fo:block>
                                                                </fo:table-cell>
                                                              </fo:table-row>
                                                            </fo:table-body>
                                                          </fo:table>
                                                        </fo:table-cell>
                                                      </fo:table-row>
                                                    </fo:table-body>
                                                  </fo:table>
                                                </fo:block-container>
                                                <fo:block-container width="50%"
                                                  keep-together.within-page="100">
                                                  <xsl:attribute name='margin-top'>3mm</xsl:attribute>
                                                  <xsl:attribute name='margin-bottom'>3mm</xsl:attribute>
                                                  <!--<xsl:attribute
                                                  name='margin-right'>3mm</xsl:attribute>-->
                                                  <fo:table table-layout="fixed" width="100%"
                                                    start-indent="0" end-indent="0">
                                                    <fo:table-column column-width="100%" />
                                                    <fo:table-body>
                                                      <fo:table-row>
                                                        <fo:table-cell>
                                                          <xsl:attribute name='padding-left'>2mm</xsl:attribute>
                                                          <xsl:attribute name='padding-right'>2mm</xsl:attribute>
                                                          <fo:block>Rodné priezvisko</fo:block>
                                                        </fo:table-cell>
                                                      </fo:table-row>
                                                    </fo:table-body>
                                                  </fo:table>
                                                  <fo:table table-layout="fixed" width="100%"
                                                    start-indent="0" end-indent="0">
                                                    <fo:table-column column-width="100%" />
                                                    <fo:table-body>
                                                      <fo:table-row>
                                                        <fo:table-cell>
                                                          <xsl:attribute name='padding-left'>2mm</xsl:attribute>
                                                          <xsl:attribute name='padding-right'>2mm</xsl:attribute>
                                                          <fo:table table-layout="fixed"
                                                            width="100%" start-indent="0"
                                                            end-indent="0">
                                                            <fo:table-column column-width="100%" />
                                                            <fo:table-body>
                                                              <fo:table-row>
                                                                <fo:table-cell border="solid 0.6pt"
                                                                  background-color="white"
                                                                  padding="1pt">
                                                                  <fo:block><xsl:call-template
                                                                      name="FormatText">
                                                                      <xsl:with-param name="data"
                                                                        select="/e:eform/e:UcastnikDoplnujuciKonanie/e:Subjekt[not(@*)]/e:FyzickaOsoba[not(@*)]/e:RodnePriezvisko[not(@*)]" />
                                                                    </xsl:call-template>
    &#160;</fo:block>
                                                                </fo:table-cell>
                                                              </fo:table-row>
                                                            </fo:table-body>
                                                          </fo:table>
                                                        </fo:table-cell>
                                                      </fo:table-row>
                                                    </fo:table-body>
                                                  </fo:table>
                                                </fo:block-container>
                                                <fo:block-container width="50%"
                                                  keep-together.within-page="100">
                                                  <xsl:attribute name='margin-top'>3mm</xsl:attribute>
                                                  <xsl:attribute name='margin-bottom'>3mm</xsl:attribute>
                                                  <!--<xsl:attribute
                                                  name='margin-right'>3mm</xsl:attribute>-->
                                                  <fo:table table-layout="fixed" width="100%"
                                                    start-indent="0" end-indent="0">
                                                    <fo:table-column column-width="100%" />
                                                    <fo:table-body>
                                                      <fo:table-row>
                                                        <fo:table-cell>
                                                          <xsl:attribute name='padding-left'>2mm</xsl:attribute>
                                                          <xsl:attribute name='padding-right'>2mm</xsl:attribute>
                                                          <fo:block>Titul za menom</fo:block>
                                                        </fo:table-cell>
                                                      </fo:table-row>
                                                    </fo:table-body>
                                                  </fo:table>
                                                  <fo:table table-layout="fixed" width="100%"
                                                    start-indent="0" end-indent="0">
                                                    <fo:table-column column-width="100%" />
                                                    <fo:table-body>
                                                      <fo:table-row>
                                                        <fo:table-cell>
                                                          <xsl:attribute name='padding-left'>2mm</xsl:attribute>
                                                          <xsl:attribute name='padding-right'>2mm</xsl:attribute>
                                                          <fo:table table-layout="fixed"
                                                            width="100%" start-indent="0"
                                                            end-indent="0">
                                                            <fo:table-column column-width="100%" />
                                                            <fo:table-body>
                                                              <fo:table-row>
                                                                <fo:table-cell border="solid 0.6pt"
                                                                  background-color="white"
                                                                  padding="1pt">
                                                                  <fo:block><xsl:call-template
                                                                      name="FormatText">
                                                                      <xsl:with-param name="data"
                                                                        select="/e:eform/e:UcastnikDoplnujuciKonanie/e:Subjekt[not(@*)]/e:FyzickaOsoba[not(@*)]/e:TitulZaMenom[not(@*)]" />
                                                                    </xsl:call-template>
    &#160;</fo:block>
                                                                </fo:table-cell>
                                                              </fo:table-row>
                                                            </fo:table-body>
                                                          </fo:table>
                                                        </fo:table-cell>
                                                      </fo:table-row>
                                                    </fo:table-body>
                                                  </fo:table>
                                                </fo:block-container>
                                                <fo:block-container width="50%"
                                                  keep-together.within-page="100">
                                                  <xsl:attribute name='margin-top'>3mm</xsl:attribute>
                                                  <xsl:attribute name='margin-bottom'>3mm</xsl:attribute>
                                                  <!--<xsl:attribute
                                                  name='margin-right'>3mm</xsl:attribute>-->
                                                  <fo:table table-layout="fixed" width="100%"
                                                    start-indent="0" end-indent="0">
                                                    <fo:table-column column-width="100%" />
                                                    <fo:table-body>
                                                      <fo:table-row>
                                                        <fo:table-cell>
                                                          <xsl:attribute name='padding-left'>2mm</xsl:attribute>
                                                          <xsl:attribute name='padding-right'>2mm</xsl:attribute>
                                                          <fo:block>Dátum narodenia</fo:block>
                                                        </fo:table-cell>
                                                      </fo:table-row>
                                                    </fo:table-body>
                                                  </fo:table>
                                                  <fo:table table-layout="fixed" width="100%"
                                                    start-indent="0" end-indent="0">
                                                    <fo:table-column column-width="100%" />
                                                    <fo:table-body>
                                                      <fo:table-row>
                                                        <fo:table-cell>
                                                          <xsl:attribute name='padding-left'>2mm</xsl:attribute>
                                                          <xsl:attribute name='padding-right'>2mm</xsl:attribute>
                                                          <fo:table table-layout="fixed"
                                                            width="100%" start-indent="0"
                                                            end-indent="0">
                                                            <fo:table-column column-width="100%" />
                                                            <fo:table-body>
                                                              <fo:table-row>
                                                                <fo:table-cell border="solid 0.6pt"
                                                                  background-color="white"
                                                                  padding="1pt">
                                                                  <fo:block><xsl:call-template
                                                                      name="FormatText">
                                                                      <xsl:with-param name="data"
                                                                        select="/e:eform/e:UcastnikDoplnujuciKonanie/e:Subjekt[not(@*)]/e:FyzickaOsoba[not(@*)]/e:DatumNarodenia[not(@*)]" />
                                                                    </xsl:call-template>
    &#160;</fo:block>
                                                                </fo:table-cell>
                                                              </fo:table-row>
                                                            </fo:table-body>
                                                          </fo:table>
                                                        </fo:table-cell>
                                                      </fo:table-row>
                                                    </fo:table-body>
                                                  </fo:table>
                                                </fo:block-container>
                                                <fo:block-container width="50%"
                                                  keep-together.within-page="100">
                                                  <xsl:attribute name='margin-top'>3mm</xsl:attribute>
                                                  <xsl:attribute name='margin-bottom'>3mm</xsl:attribute>
                                                  <!--<xsl:attribute
                                                  name='margin-right'>3mm</xsl:attribute>-->
                                                  <fo:table table-layout="fixed" width="100%"
                                                    start-indent="0" end-indent="0">
                                                    <fo:table-column column-width="100%" />
                                                    <fo:table-body>
                                                      <fo:table-row>
                                                        <fo:table-cell>
                                                          <xsl:attribute name='padding-left'>2mm</xsl:attribute>
                                                          <xsl:attribute name='padding-right'>2mm</xsl:attribute>
                                                          <fo:block>Štátna prislušnosť</fo:block>
                                                        </fo:table-cell>
                                                      </fo:table-row>
                                                    </fo:table-body>
                                                  </fo:table>
                                                  <fo:table table-layout="fixed" width="100%"
                                                    start-indent="0" end-indent="0">
                                                    <fo:table-column column-width="100%" />
                                                    <fo:table-body>
                                                      <fo:table-row>
                                                        <fo:table-cell>
                                                          <xsl:attribute name='padding-left'>2mm</xsl:attribute>
                                                          <xsl:attribute name='padding-right'>2mm</xsl:attribute>
                                                          <fo:table table-layout="fixed"
                                                            width="100%" start-indent="0"
                                                            end-indent="0">
                                                            <fo:table-column column-width="100%" />
                                                            <fo:table-body>
                                                              <fo:table-row>
                                                                <fo:table-cell border="solid 0.6pt"
                                                                  background-color="white"
                                                                  padding="1pt">
                                                                  <fo:block><xsl:call-template
                                                                      name="FormatText">
                                                                      <xsl:with-param name="data"
                                                                        select="/e:eform/e:UcastnikDoplnujuciKonanie/e:Subjekt[not(@*)]/e:FyzickaOsoba[not(@*)]/e:StatnaPrislusnost/e:Stat[not(@*)]" />
                                                                    </xsl:call-template>
    &#160;</fo:block>
                                                                </fo:table-cell>
                                                              </fo:table-row>
                                                            </fo:table-body>
                                                          </fo:table>
                                                        </fo:table-cell>
                                                      </fo:table-row>
                                                    </fo:table-body>
                                                  </fo:table>
                                                </fo:block-container><!--foBlockForTableStart-->
                                                <xsl:if
                                                  test="/e:eform/e:UcastnikDoplnujuciKonanie/e:Subjekt[not(@*)]/e:FyzickaOsoba[not(@*)]/e:StatnaPrislusnost/e:Stat[not(@*)] = 'INYSTAT'">
                                                  <fo:block-container width="50%">

                                                    <fo:block>


                                                      <fo:block-container width="auto"
                                                        keep-together.within-page="100">
                                                        <xsl:attribute name='margin-top'>3mm</xsl:attribute>
                                                        <xsl:attribute name='margin-bottom'>3mm</xsl:attribute>
                                                        <!--<xsl:attribute
                                                        name='margin-right'>3mm</xsl:attribute>-->
                                                        <fo:table table-layout="fixed" width="100%"
                                                          start-indent="0" end-indent="0">
                                                          <fo:table-column column-width="100%" />
                                                          <fo:table-body>
                                                            <fo:table-row>
                                                              <fo:table-cell>
                                                                <xsl:attribute name='padding-left'>
    2mm</xsl:attribute>
                                                                <xsl:attribute name='padding-right'>
    2mm</xsl:attribute>
                                                                <fo:block>Štát</fo:block>
                                                              </fo:table-cell>
                                                            </fo:table-row>
                                                          </fo:table-body>
                                                        </fo:table>
                                                        <fo:table table-layout="fixed" width="100%"
                                                          start-indent="0" end-indent="0">
                                                          <fo:table-column column-width="100%" />
                                                          <fo:table-body>
                                                            <fo:table-row>
                                                              <fo:table-cell>
                                                                <xsl:attribute name='padding-left'>
    2mm</xsl:attribute>
                                                                <xsl:attribute name='padding-right'>
    2mm</xsl:attribute>
                                                                <fo:table table-layout="fixed"
                                                                  width="100%" start-indent="0"
                                                                  end-indent="0">
                                                                  <fo:table-column
                                                                    column-width="100%" />
                                                                  <fo:table-body>
                                                                    <fo:table-row>
                                                                      <fo:table-cell
                                                                        border="solid 0.6pt"
                                                                        background-color="white"
                                                                        padding="1pt">
                                                                        <fo:block><xsl:call-template
                                                                            name="FormatText">
                                                                            <xsl:with-param
                                                                              name="data"
                                                                              select="/e:eform/e:UcastnikDoplnujuciKonanie/e:Subjekt[not(@*)]/e:FyzickaOsoba[not(@*)]/e:StatnaPrislusnost/e:NazovInehoStatu[not(@*)]" />
                                                                          </xsl:call-template>
    &#160;</fo:block>
                                                                      </fo:table-cell>
                                                                    </fo:table-row>
                                                                  </fo:table-body>
                                                                </fo:table>
                                                              </fo:table-cell>
                                                            </fo:table-row>
                                                          </fo:table-body>
                                                        </fo:table>
                                                      </fo:block-container>

                                                    </fo:block>

                                                  </fo:block-container>
                                                </xsl:if>
                                                <!--foBlockForTableEnd--><!--foBlockForTableStart-->

                                                <fo:block-container width="auto">
                                                  <xsl:attribute name='margin-left'>1mm</xsl:attribute>
                                                  <xsl:attribute name='margin-right'>1mm</xsl:attribute>
                                                  <fo:block font-size="12.0pt" font-weight="bold">
                                                    <xsl:attribute name='margin-top'>5mm</xsl:attribute>
                                                    <fo:block margin="5pt">Adresa trvalého pobytu</fo:block>
                                                  </fo:block>
                                                  <fo:block keep-with-previous.within-page="100"
                                                    border-width="0.6pt" border-top-style="solid">
                                                    <fo:block margin="5pt">
                                                      <fo:block-container>
                                                        <fo:table table-layout="fixed" width="100%"
                                                          start-indent="0" end-indent="0">
                                                          <fo:table-column column-width="100%" />
                                                          <fo:table-body>
                                                            <fo:table-row>
                                                              <fo:table-cell>
                                                                <fo:block-container width="50%"
                                                                  keep-together.within-page="100">
                                                                  <xsl:attribute name='margin-top'>
    3mm</xsl:attribute>
                                                                  <xsl:attribute
                                                                    name='margin-bottom'>3mm</xsl:attribute>
                                                                  <!--<xsl:attribute
                                                                  name='margin-right'>3mm</xsl:attribute>-->
                                                                  <fo:table table-layout="fixed"
                                                                    width="100%" start-indent="0"
                                                                    end-indent="0">
                                                                    <fo:table-column
                                                                      column-width="100%" />
                                                                    <fo:table-body>
                                                                      <fo:table-row>
                                                                        <fo:table-cell>
                                                                          <xsl:attribute
                                                                            name='padding-left'>2mm</xsl:attribute>
                                                                          <xsl:attribute
                                                                            name='padding-right'>2mm</xsl:attribute>
                                                                          <fo:block>Ulica</fo:block>
                                                                        </fo:table-cell>
                                                                      </fo:table-row>
                                                                    </fo:table-body>
                                                                  </fo:table>
                                                                  <fo:table table-layout="fixed"
                                                                    width="100%" start-indent="0"
                                                                    end-indent="0">
                                                                    <fo:table-column
                                                                      column-width="100%" />
                                                                    <fo:table-body>
                                                                      <fo:table-row>
                                                                        <fo:table-cell>
                                                                          <xsl:attribute
                                                                            name='padding-left'>2mm</xsl:attribute>
                                                                          <xsl:attribute
                                                                            name='padding-right'>2mm</xsl:attribute>
                                                                          <fo:table
                                                                            table-layout="fixed"
                                                                            width="100%"
                                                                            start-indent="0"
                                                                            end-indent="0">
                                                                            <fo:table-column
                                                                              column-width="100%" />
                                                                            <fo:table-body>
                                                                              <fo:table-row>
                                                                                <fo:table-cell
                                                                                  border="solid 0.6pt"
                                                                                  background-color="white"
                                                                                  padding="1pt">
                                                                                  <fo:block><xsl:call-template
                                                                                      name="FormatText">
                                                                                      <xsl:with-param
                                                                                        name="data"
                                                                                        select="/e:eform/e:UcastnikDoplnujuciKonanie/e:Subjekt[not(@*)]/e:FyzickaOsoba[not(@*)]/e:AdresaTrvalehoPobytu[not(@*)]/e:Ulica[not(@*)]" />
                                                                                    </xsl:call-template>
    &#160;</fo:block>
                                                                                </fo:table-cell>
                                                                              </fo:table-row>
                                                                            </fo:table-body>
                                                                          </fo:table>
                                                                        </fo:table-cell>
                                                                      </fo:table-row>
                                                                    </fo:table-body>
                                                                  </fo:table>
                                                                </fo:block-container>
                                                                <fo:block-container width="25%"
                                                                  keep-together.within-page="100">
                                                                  <xsl:attribute name='margin-top'>
    3mm</xsl:attribute>
                                                                  <xsl:attribute
                                                                    name='margin-bottom'>3mm</xsl:attribute>
                                                                  <!--<xsl:attribute
                                                                  name='margin-right'>3mm</xsl:attribute>-->
                                                                  <fo:table table-layout="fixed"
                                                                    width="100%" start-indent="0"
                                                                    end-indent="0">
                                                                    <fo:table-column
                                                                      column-width="100%" />
                                                                    <fo:table-body>
                                                                      <fo:table-row>
                                                                        <fo:table-cell>
                                                                          <xsl:attribute
                                                                            name='padding-left'>2mm</xsl:attribute>
                                                                          <xsl:attribute
                                                                            name='padding-right'>2mm</xsl:attribute>
                                                                          <fo:block>Súpisné číslo</fo:block>
                                                                        </fo:table-cell>
                                                                      </fo:table-row>
                                                                    </fo:table-body>
                                                                  </fo:table>
                                                                  <fo:table table-layout="fixed"
                                                                    width="100%" start-indent="0"
                                                                    end-indent="0">
                                                                    <fo:table-column
                                                                      column-width="100%" />
                                                                    <fo:table-body>
                                                                      <fo:table-row>
                                                                        <fo:table-cell>
                                                                          <xsl:attribute
                                                                            name='padding-left'>2mm</xsl:attribute>
                                                                          <xsl:attribute
                                                                            name='padding-right'>2mm</xsl:attribute>
                                                                          <fo:table
                                                                            table-layout="fixed"
                                                                            width="100%"
                                                                            start-indent="0"
                                                                            end-indent="0">
                                                                            <fo:table-column
                                                                              column-width="100%" />
                                                                            <fo:table-body>
                                                                              <fo:table-row>
                                                                                <fo:table-cell
                                                                                  border="solid 0.6pt"
                                                                                  background-color="white"
                                                                                  padding="1pt">
                                                                                  <fo:block><xsl:call-template
                                                                                      name="FormatText">
                                                                                      <xsl:with-param
                                                                                        name="data"
                                                                                        select="/e:eform/e:UcastnikDoplnujuciKonanie/e:Subjekt[not(@*)]/e:FyzickaOsoba[not(@*)]/e:AdresaTrvalehoPobytu[not(@*)]/e:SupisneCislo[not(@*)]" />
                                                                                    </xsl:call-template>
    &#160;</fo:block>
                                                                                </fo:table-cell>
                                                                              </fo:table-row>
                                                                            </fo:table-body>
                                                                          </fo:table>
                                                                        </fo:table-cell>
                                                                      </fo:table-row>
                                                                    </fo:table-body>
                                                                  </fo:table>
                                                                </fo:block-container>
                                                                <fo:block-container width="25%"
                                                                  keep-together.within-page="100">
                                                                  <xsl:attribute name='margin-top'>
    3mm</xsl:attribute>
                                                                  <xsl:attribute
                                                                    name='margin-bottom'>3mm</xsl:attribute>
                                                                  <!--<xsl:attribute
                                                                  name='margin-right'>3mm</xsl:attribute>-->
                                                                  <fo:table table-layout="fixed"
                                                                    width="100%" start-indent="0"
                                                                    end-indent="0">
                                                                    <fo:table-column
                                                                      column-width="100%" />
                                                                    <fo:table-body>
                                                                      <fo:table-row>
                                                                        <fo:table-cell>
                                                                          <xsl:attribute
                                                                            name='padding-left'>2mm</xsl:attribute>
                                                                          <xsl:attribute
                                                                            name='padding-right'>2mm</xsl:attribute>
                                                                          <fo:block>Popisné číslo</fo:block>
                                                                        </fo:table-cell>
                                                                      </fo:table-row>
                                                                    </fo:table-body>
                                                                  </fo:table>
                                                                  <fo:table table-layout="fixed"
                                                                    width="100%" start-indent="0"
                                                                    end-indent="0">
                                                                    <fo:table-column
                                                                      column-width="100%" />
                                                                    <fo:table-body>
                                                                      <fo:table-row>
                                                                        <fo:table-cell>
                                                                          <xsl:attribute
                                                                            name='padding-left'>2mm</xsl:attribute>
                                                                          <xsl:attribute
                                                                            name='padding-right'>2mm</xsl:attribute>
                                                                          <fo:table
                                                                            table-layout="fixed"
                                                                            width="100%"
                                                                            start-indent="0"
                                                                            end-indent="0">
                                                                            <fo:table-column
                                                                              column-width="100%" />
                                                                            <fo:table-body>
                                                                              <fo:table-row>
                                                                                <fo:table-cell
                                                                                  border="solid 0.6pt"
                                                                                  background-color="white"
                                                                                  padding="1pt">
                                                                                  <fo:block><xsl:call-template
                                                                                      name="FormatText">
                                                                                      <xsl:with-param
                                                                                        name="data"
                                                                                        select="/e:eform/e:UcastnikDoplnujuciKonanie/e:Subjekt[not(@*)]/e:FyzickaOsoba[not(@*)]/e:AdresaTrvalehoPobytu[not(@*)]/e:PopisneCislo[not(@*)]" />
                                                                                    </xsl:call-template>
    &#160;</fo:block>
                                                                                </fo:table-cell>
                                                                              </fo:table-row>
                                                                            </fo:table-body>
                                                                          </fo:table>
                                                                        </fo:table-cell>
                                                                      </fo:table-row>
                                                                    </fo:table-body>
                                                                  </fo:table>
                                                                </fo:block-container>
                                                                <fo:block-container width="50%"
                                                                  keep-together.within-page="100">
                                                                  <xsl:attribute name='margin-top'>
    3mm</xsl:attribute>
                                                                  <xsl:attribute
                                                                    name='margin-bottom'>3mm</xsl:attribute>
                                                                  <!--<xsl:attribute
                                                                  name='margin-right'>3mm</xsl:attribute>-->
                                                                  <fo:table table-layout="fixed"
                                                                    width="100%" start-indent="0"
                                                                    end-indent="0">
                                                                    <fo:table-column
                                                                      column-width="100%" />
                                                                    <fo:table-body>
                                                                      <fo:table-row>
                                                                        <fo:table-cell>
                                                                          <xsl:attribute
                                                                            name='padding-left'>2mm</xsl:attribute>
                                                                          <xsl:attribute
                                                                            name='padding-right'>2mm</xsl:attribute>
                                                                          <fo:block>Obec</fo:block>
                                                                        </fo:table-cell>
                                                                      </fo:table-row>
                                                                    </fo:table-body>
                                                                  </fo:table>
                                                                  <fo:table table-layout="fixed"
                                                                    width="100%" start-indent="0"
                                                                    end-indent="0">
                                                                    <fo:table-column
                                                                      column-width="100%" />
                                                                    <fo:table-body>
                                                                      <fo:table-row>
                                                                        <fo:table-cell>
                                                                          <xsl:attribute
                                                                            name='padding-left'>2mm</xsl:attribute>
                                                                          <xsl:attribute
                                                                            name='padding-right'>2mm</xsl:attribute>
                                                                          <fo:table
                                                                            table-layout="fixed"
                                                                            width="100%"
                                                                            start-indent="0"
                                                                            end-indent="0">
                                                                            <fo:table-column
                                                                              column-width="100%" />
                                                                            <fo:table-body>
                                                                              <fo:table-row>
                                                                                <fo:table-cell
                                                                                  border="solid 0.6pt"
                                                                                  background-color="white"
                                                                                  padding="1pt">
                                                                                  <fo:block><xsl:call-template
                                                                                      name="FormatText">
                                                                                      <xsl:with-param
                                                                                        name="data"
                                                                                        select="/e:eform/e:UcastnikDoplnujuciKonanie/e:Subjekt[not(@*)]/e:FyzickaOsoba[not(@*)]/e:AdresaTrvalehoPobytu[not(@*)]/e:Obec[not(@*)]" />
                                                                                    </xsl:call-template>
    &#160;</fo:block>
                                                                                </fo:table-cell>
                                                                              </fo:table-row>
                                                                            </fo:table-body>
                                                                          </fo:table>
                                                                        </fo:table-cell>
                                                                      </fo:table-row>
                                                                    </fo:table-body>
                                                                  </fo:table>
                                                                </fo:block-container>
                                                                <fo:block-container width="25%"
                                                                  keep-together.within-page="100">
                                                                  <xsl:attribute name='margin-top'>
    3mm</xsl:attribute>
                                                                  <xsl:attribute
                                                                    name='margin-bottom'>3mm</xsl:attribute>
                                                                  <!--<xsl:attribute
                                                                  name='margin-right'>3mm</xsl:attribute>-->
                                                                  <fo:table table-layout="fixed"
                                                                    width="100%" start-indent="0"
                                                                    end-indent="0">
                                                                    <fo:table-column
                                                                      column-width="100%" />
                                                                    <fo:table-body>
                                                                      <fo:table-row>
                                                                        <fo:table-cell>
                                                                          <xsl:attribute
                                                                            name='padding-left'>2mm</xsl:attribute>
                                                                          <xsl:attribute
                                                                            name='padding-right'>2mm</xsl:attribute>
                                                                          <fo:block>Psč</fo:block>
                                                                        </fo:table-cell>
                                                                      </fo:table-row>
                                                                    </fo:table-body>
                                                                  </fo:table>
                                                                  <fo:table table-layout="fixed"
                                                                    width="100%" start-indent="0"
                                                                    end-indent="0">
                                                                    <fo:table-column
                                                                      column-width="100%" />
                                                                    <fo:table-body>
                                                                      <fo:table-row>
                                                                        <fo:table-cell>
                                                                          <xsl:attribute
                                                                            name='padding-left'>2mm</xsl:attribute>
                                                                          <xsl:attribute
                                                                            name='padding-right'>2mm</xsl:attribute>
                                                                          <fo:table
                                                                            table-layout="fixed"
                                                                            width="100%"
                                                                            start-indent="0"
                                                                            end-indent="0">
                                                                            <fo:table-column
                                                                              column-width="100%" />
                                                                            <fo:table-body>
                                                                              <fo:table-row>
                                                                                <fo:table-cell
                                                                                  border="solid 0.6pt"
                                                                                  background-color="white"
                                                                                  padding="1pt">
                                                                                  <fo:block><xsl:call-template
                                                                                      name="FormatText">
                                                                                      <xsl:with-param
                                                                                        name="data"
                                                                                        select="/e:eform/e:UcastnikDoplnujuciKonanie/e:Subjekt[not(@*)]/e:FyzickaOsoba[not(@*)]/e:AdresaTrvalehoPobytu[not(@*)]/e:Psc[not(@*)]" />
                                                                                    </xsl:call-template>
    &#160;</fo:block>
                                                                                </fo:table-cell>
                                                                              </fo:table-row>
                                                                            </fo:table-body>
                                                                          </fo:table>
                                                                        </fo:table-cell>
                                                                      </fo:table-row>
                                                                    </fo:table-body>
                                                                  </fo:table>
                                                                </fo:block-container>
                                                                <fo:block-container width="50%"
                                                                  keep-together.within-page="100">
                                                                  <xsl:attribute name='margin-top'>
    3mm</xsl:attribute>
                                                                  <xsl:attribute
                                                                    name='margin-bottom'>3mm</xsl:attribute>
                                                                  <!--<xsl:attribute
                                                                  name='margin-right'>3mm</xsl:attribute>-->
                                                                  <fo:table table-layout="fixed"
                                                                    width="100%" start-indent="0"
                                                                    end-indent="0">
                                                                    <fo:table-column
                                                                      column-width="100%" />
                                                                    <fo:table-body>
                                                                      <fo:table-row>
                                                                        <fo:table-cell>
                                                                          <xsl:attribute
                                                                            name='padding-left'>2mm</xsl:attribute>
                                                                          <xsl:attribute
                                                                            name='padding-right'>2mm</xsl:attribute>
                                                                          <fo:block>Štát</fo:block>
                                                                        </fo:table-cell>
                                                                      </fo:table-row>
                                                                    </fo:table-body>
                                                                  </fo:table>
                                                                  <fo:table table-layout="fixed"
                                                                    width="100%" start-indent="0"
                                                                    end-indent="0">
                                                                    <fo:table-column
                                                                      column-width="100%" />
                                                                    <fo:table-body>
                                                                      <fo:table-row>
                                                                        <fo:table-cell>
                                                                          <xsl:attribute
                                                                            name='padding-left'>2mm</xsl:attribute>
                                                                          <xsl:attribute
                                                                            name='padding-right'>2mm</xsl:attribute>
                                                                          <fo:table
                                                                            table-layout="fixed"
                                                                            width="100%"
                                                                            start-indent="0"
                                                                            end-indent="0">
                                                                            <fo:table-column
                                                                              column-width="100%" />
                                                                            <fo:table-body>
                                                                              <fo:table-row>
                                                                                <fo:table-cell
                                                                                  border="solid 0.6pt"
                                                                                  background-color="white"
                                                                                  padding="1pt">
                                                                                  <fo:block><xsl:call-template
                                                                                      name="FormatText">
                                                                                      <xsl:with-param
                                                                                        name="data"
                                                                                        select="/e:eform/e:UcastnikDoplnujuciKonanie/e:Subjekt[not(@*)]/e:FyzickaOsoba[not(@*)]/e:AdresaTrvalehoPobytu[not(@*)]/e:Stat[not(@*)]" />
                                                                                    </xsl:call-template>
    &#160;</fo:block>
                                                                                </fo:table-cell>
                                                                              </fo:table-row>
                                                                            </fo:table-body>
                                                                          </fo:table>
                                                                        </fo:table-cell>
                                                                      </fo:table-row>
                                                                    </fo:table-body>
                                                                  </fo:table>
                                                                </fo:block-container>
                                                              </fo:table-cell>
                                                            </fo:table-row>
                                                          </fo:table-body>
                                                        </fo:table>
                                                      </fo:block-container>
                                                    </fo:block>
                                                  </fo:block>
                                                </fo:block-container>

                                                <!--foBlockForTableEnd-->
                                                <fo:block-container keep-together.within-page="100">
                                                  <xsl:attribute name='margin-top'>3mm</xsl:attribute>
                                                  <xsl:attribute name='margin-bottom'>3mm</xsl:attribute>
                                                  <!--<xsl:attribute
                                                  name='margin-right'>3mm</xsl:attribute>-->
                                                  <fo:table table-layout="fixed" width="100%"
                                                    start-indent="0" end-indent="0">
                                                    <fo:table-column column-width="100%" />
                                                    <fo:table-body>
                                                      <fo:table-row>
                                                        <fo:table-cell>
                                                          <xsl:attribute name='padding-left'>2mm</xsl:attribute>
                                                          <xsl:attribute name='padding-right'>2mm</xsl:attribute>
                                                          <fo:table table-layout="fixed"
                                                            width="100%" display-align="center">
                                                            <fo:table-column column-width="18.6pt" />
                                                            <fo:table-column
                                                              column-width="100% - 18.6pt" />
                                                            <fo:table-body>
                                                              <fo:table-row>
                                                                <fo:table-cell
                                                                  background-color="white">
                                                                  <fo:block>
                                                                    <fo:instream-foreign-object>
                                                                      <xsl:choose>
                                                                        <xsl:when
                                                                          test="/e:eform/e:UcastnikDoplnujuciKonanie/e:Subjekt[not(@*)]/e:FyzickaOsoba[not(@*)]/e:AdresaTrvalehoPobytuPreDorucovanie[not(@*)] = 'true'">
                                                                          <svg:svg
                                                                            xmlns="http://www.w3.org/2000/svg"
                                                                            width="10" height="10"
                                                                            viewBox="0 0 24 24">
                                                                            <svg:path
                                                                              d="M11 17l-5-5.299 1.399-1.43 3.574 3.736 6.572-7.007 1.455 1.403-8 8.597zm11-15v20h-20v-20h20zm2-2h-24v24h24v-24z" />
                                                                          </svg:svg>
                                                                        </xsl:when>
                                                                        <xsl:otherwise>
                                                                          <svg:svg
                                                                            xmlns="http://www.w3.org/2000/svg"
                                                                            width="10" height="10"
                                                                            viewBox="0 0 24 24">
                                                                            <svg:path
                                                                              d="M22 2v20h-20v-20h20zm2-2h-24v24h24v-24z" />
                                                                          </svg:svg>
                                                                        </xsl:otherwise>
                                                                      </xsl:choose>
                                                                    </fo:instream-foreign-object>
                                                                  </fo:block>
                                                                </fo:table-cell>
                                                                <fo:table-cell>
                                                                  <fo:block>Adresa pre doručovanie
    je zhodná s adresou trvalého pobytu</fo:block>
                                                                </fo:table-cell>
                                                              </fo:table-row>
                                                            </fo:table-body>
                                                          </fo:table>
                                                        </fo:table-cell>
                                                      </fo:table-row>
                                                    </fo:table-body>
                                                  </fo:table>
                                                </fo:block-container><!--foBlockForTableStart-->
                                                <xsl:if
                                                  test="/e:eform/e:UcastnikDoplnujuciKonanie/e:Subjekt[not(@*)]/e:FyzickaOsoba[not(@*)]/e:AdresaTrvalehoPobytuPreDorucovanie[not(@*)] = 'false'">
                                                  <fo:block-container width="auto">

                                                    <fo:block>


                                                      <!--foBlockForTableStart-->

                                                      <fo:block-container width="auto">
                                                        <xsl:attribute name='margin-left'>1mm</xsl:attribute>
                                                        <xsl:attribute name='margin-right'>1mm</xsl:attribute>
                                                        <fo:block font-size="12.0pt"
                                                          font-weight="bold">
                                                          <xsl:attribute name='margin-top'>5mm</xsl:attribute>
                                                          <fo:block margin="5pt">Adresa pre
    doručovanie</fo:block>
                                                        </fo:block>
                                                        <fo:block
                                                          keep-with-previous.within-page="100"
                                                          border-width="0.6pt"
                                                          border-top-style="solid">
                                                          <fo:block margin="5pt">
                                                            <fo:block-container>
                                                              <fo:table table-layout="fixed"
                                                                width="100%" start-indent="0"
                                                                end-indent="0">
                                                                <fo:table-column column-width="100%" />
                                                                <fo:table-body>
                                                                  <fo:table-row>
                                                                    <fo:table-cell>
                                                                      <fo:block-container
                                                                        width="50%"
                                                                        keep-together.within-page="100">
                                                                        <xsl:attribute
                                                                          name='margin-top'>3mm</xsl:attribute>
                                                                        <xsl:attribute
                                                                          name='margin-bottom'>3mm</xsl:attribute>
                                                                        <!--<xsl:attribute
                                                                        name='margin-right'>3mm</xsl:attribute>-->
                                                                        <fo:table
                                                                          table-layout="fixed"
                                                                          width="100%"
                                                                          start-indent="0"
                                                                          end-indent="0">
                                                                          <fo:table-column
                                                                            column-width="100%" />
                                                                          <fo:table-body>
                                                                            <fo:table-row>
                                                                              <fo:table-cell>
                                                                                <xsl:attribute
                                                                                  name='padding-left'>
    2mm</xsl:attribute>
                                                                                <xsl:attribute
                                                                                  name='padding-right'>
    2mm</xsl:attribute>
                                                                                <fo:block>Ulica</fo:block>
                                                                              </fo:table-cell>
                                                                            </fo:table-row>
                                                                          </fo:table-body>
                                                                        </fo:table>
                                                                        <fo:table
                                                                          table-layout="fixed"
                                                                          width="100%"
                                                                          start-indent="0"
                                                                          end-indent="0">
                                                                          <fo:table-column
                                                                            column-width="100%" />
                                                                          <fo:table-body>
                                                                            <fo:table-row>
                                                                              <fo:table-cell>
                                                                                <xsl:attribute
                                                                                  name='padding-left'>
    2mm</xsl:attribute>
                                                                                <xsl:attribute
                                                                                  name='padding-right'>
    2mm</xsl:attribute>
                                                                                <fo:table
                                                                                  table-layout="fixed"
                                                                                  width="100%"
                                                                                  start-indent="0"
                                                                                  end-indent="0">
                                                                                  <fo:table-column
                                                                                    column-width="100%" />
                                                                                  <fo:table-body>
                                                                                    <fo:table-row>
                                                                                      <fo:table-cell
                                                                                        border="solid 0.6pt"
                                                                                        background-color="white"
                                                                                        padding="1pt">
                                                                                        <fo:block><xsl:call-template
                                                                                            name="FormatText">
                                                                                            <xsl:with-param
                                                                                              name="data"
                                                                                              select="/e:eform/e:UcastnikDoplnujuciKonanie/e:Subjekt[not(@*)]/e:FyzickaOsoba[not(@*)]/e:AdresaPreDorucovanie[not(@*)]/e:Ulica[not(@*)]" />
                                                                                          </xsl:call-template>
    &#160;</fo:block>
                                                                                      </fo:table-cell>
                                                                                    </fo:table-row>
                                                                                  </fo:table-body>
                                                                                </fo:table>
                                                                              </fo:table-cell>
                                                                            </fo:table-row>
                                                                          </fo:table-body>
                                                                        </fo:table>
                                                                      </fo:block-container>
                                                                      <fo:block-container
                                                                        width="25%"
                                                                        keep-together.within-page="100">
                                                                        <xsl:attribute
                                                                          name='margin-top'>3mm</xsl:attribute>
                                                                        <xsl:attribute
                                                                          name='margin-bottom'>3mm</xsl:attribute>
                                                                        <!--<xsl:attribute
                                                                        name='margin-right'>3mm</xsl:attribute>-->
                                                                        <fo:table
                                                                          table-layout="fixed"
                                                                          width="100%"
                                                                          start-indent="0"
                                                                          end-indent="0">
                                                                          <fo:table-column
                                                                            column-width="100%" />
                                                                          <fo:table-body>
                                                                            <fo:table-row>
                                                                              <fo:table-cell>
                                                                                <xsl:attribute
                                                                                  name='padding-left'>
    2mm</xsl:attribute>
                                                                                <xsl:attribute
                                                                                  name='padding-right'>
    2mm</xsl:attribute>
                                                                                <fo:block>Súpisné
    číslo</fo:block>
                                                                              </fo:table-cell>
                                                                            </fo:table-row>
                                                                          </fo:table-body>
                                                                        </fo:table>
                                                                        <fo:table
                                                                          table-layout="fixed"
                                                                          width="100%"
                                                                          start-indent="0"
                                                                          end-indent="0">
                                                                          <fo:table-column
                                                                            column-width="100%" />
                                                                          <fo:table-body>
                                                                            <fo:table-row>
                                                                              <fo:table-cell>
                                                                                <xsl:attribute
                                                                                  name='padding-left'>
    2mm</xsl:attribute>
                                                                                <xsl:attribute
                                                                                  name='padding-right'>
    2mm</xsl:attribute>
                                                                                <fo:table
                                                                                  table-layout="fixed"
                                                                                  width="100%"
                                                                                  start-indent="0"
                                                                                  end-indent="0">
                                                                                  <fo:table-column
                                                                                    column-width="100%" />
                                                                                  <fo:table-body>
                                                                                    <fo:table-row>
                                                                                      <fo:table-cell
                                                                                        border="solid 0.6pt"
                                                                                        background-color="white"
                                                                                        padding="1pt">
                                                                                        <fo:block><xsl:call-template
                                                                                            name="FormatText">
                                                                                            <xsl:with-param
                                                                                              name="data"
                                                                                              select="/e:eform/e:UcastnikDoplnujuciKonanie/e:Subjekt[not(@*)]/e:FyzickaOsoba[not(@*)]/e:AdresaPreDorucovanie[not(@*)]/e:SupisneCislo[not(@*)]" />
                                                                                          </xsl:call-template>
    &#160;</fo:block>
                                                                                      </fo:table-cell>
                                                                                    </fo:table-row>
                                                                                  </fo:table-body>
                                                                                </fo:table>
                                                                              </fo:table-cell>
                                                                            </fo:table-row>
                                                                          </fo:table-body>
                                                                        </fo:table>
                                                                      </fo:block-container>
                                                                      <fo:block-container
                                                                        width="25%"
                                                                        keep-together.within-page="100">
                                                                        <xsl:attribute
                                                                          name='margin-top'>3mm</xsl:attribute>
                                                                        <xsl:attribute
                                                                          name='margin-bottom'>3mm</xsl:attribute>
                                                                        <!--<xsl:attribute
                                                                        name='margin-right'>3mm</xsl:attribute>-->
                                                                        <fo:table
                                                                          table-layout="fixed"
                                                                          width="100%"
                                                                          start-indent="0"
                                                                          end-indent="0">
                                                                          <fo:table-column
                                                                            column-width="100%" />
                                                                          <fo:table-body>
                                                                            <fo:table-row>
                                                                              <fo:table-cell>
                                                                                <xsl:attribute
                                                                                  name='padding-left'>
    2mm</xsl:attribute>
                                                                                <xsl:attribute
                                                                                  name='padding-right'>
    2mm</xsl:attribute>
                                                                                <fo:block>Popisné
    číslo</fo:block>
                                                                              </fo:table-cell>
                                                                            </fo:table-row>
                                                                          </fo:table-body>
                                                                        </fo:table>
                                                                        <fo:table
                                                                          table-layout="fixed"
                                                                          width="100%"
                                                                          start-indent="0"
                                                                          end-indent="0">
                                                                          <fo:table-column
                                                                            column-width="100%" />
                                                                          <fo:table-body>
                                                                            <fo:table-row>
                                                                              <fo:table-cell>
                                                                                <xsl:attribute
                                                                                  name='padding-left'>
    2mm</xsl:attribute>
                                                                                <xsl:attribute
                                                                                  name='padding-right'>
    2mm</xsl:attribute>
                                                                                <fo:table
                                                                                  table-layout="fixed"
                                                                                  width="100%"
                                                                                  start-indent="0"
                                                                                  end-indent="0">
                                                                                  <fo:table-column
                                                                                    column-width="100%" />
                                                                                  <fo:table-body>
                                                                                    <fo:table-row>
                                                                                      <fo:table-cell
                                                                                        border="solid 0.6pt"
                                                                                        background-color="white"
                                                                                        padding="1pt">
                                                                                        <fo:block><xsl:call-template
                                                                                            name="FormatText">
                                                                                            <xsl:with-param
                                                                                              name="data"
                                                                                              select="/e:eform/e:UcastnikDoplnujuciKonanie/e:Subjekt[not(@*)]/e:FyzickaOsoba[not(@*)]/e:AdresaPreDorucovanie[not(@*)]/e:PopisneCislo[not(@*)]" />
                                                                                          </xsl:call-template>
    &#160;</fo:block>
                                                                                      </fo:table-cell>
                                                                                    </fo:table-row>
                                                                                  </fo:table-body>
                                                                                </fo:table>
                                                                              </fo:table-cell>
                                                                            </fo:table-row>
                                                                          </fo:table-body>
                                                                        </fo:table>
                                                                      </fo:block-container>
                                                                      <fo:block-container
                                                                        width="50%"
                                                                        keep-together.within-page="100">
                                                                        <xsl:attribute
                                                                          name='margin-top'>3mm</xsl:attribute>
                                                                        <xsl:attribute
                                                                          name='margin-bottom'>3mm</xsl:attribute>
                                                                        <!--<xsl:attribute
                                                                        name='margin-right'>3mm</xsl:attribute>-->
                                                                        <fo:table
                                                                          table-layout="fixed"
                                                                          width="100%"
                                                                          start-indent="0"
                                                                          end-indent="0">
                                                                          <fo:table-column
                                                                            column-width="100%" />
                                                                          <fo:table-body>
                                                                            <fo:table-row>
                                                                              <fo:table-cell>
                                                                                <xsl:attribute
                                                                                  name='padding-left'>
    2mm</xsl:attribute>
                                                                                <xsl:attribute
                                                                                  name='padding-right'>
    2mm</xsl:attribute>
                                                                                <fo:block>Obec</fo:block>
                                                                              </fo:table-cell>
                                                                            </fo:table-row>
                                                                          </fo:table-body>
                                                                        </fo:table>
                                                                        <fo:table
                                                                          table-layout="fixed"
                                                                          width="100%"
                                                                          start-indent="0"
                                                                          end-indent="0">
                                                                          <fo:table-column
                                                                            column-width="100%" />
                                                                          <fo:table-body>
                                                                            <fo:table-row>
                                                                              <fo:table-cell>
                                                                                <xsl:attribute
                                                                                  name='padding-left'>
    2mm</xsl:attribute>
                                                                                <xsl:attribute
                                                                                  name='padding-right'>
    2mm</xsl:attribute>
                                                                                <fo:table
                                                                                  table-layout="fixed"
                                                                                  width="100%"
                                                                                  start-indent="0"
                                                                                  end-indent="0">
                                                                                  <fo:table-column
                                                                                    column-width="100%" />
                                                                                  <fo:table-body>
                                                                                    <fo:table-row>
                                                                                      <fo:table-cell
                                                                                        border="solid 0.6pt"
                                                                                        background-color="white"
                                                                                        padding="1pt">
                                                                                        <fo:block><xsl:call-template
                                                                                            name="FormatText">
                                                                                            <xsl:with-param
                                                                                              name="data"
                                                                                              select="/e:eform/e:UcastnikDoplnujuciKonanie/e:Subjekt[not(@*)]/e:FyzickaOsoba[not(@*)]/e:AdresaPreDorucovanie[not(@*)]/e:Obec[not(@*)]" />
                                                                                          </xsl:call-template>
    &#160;</fo:block>
                                                                                      </fo:table-cell>
                                                                                    </fo:table-row>
                                                                                  </fo:table-body>
                                                                                </fo:table>
                                                                              </fo:table-cell>
                                                                            </fo:table-row>
                                                                          </fo:table-body>
                                                                        </fo:table>
                                                                      </fo:block-container>
                                                                      <fo:block-container
                                                                        width="25%"
                                                                        keep-together.within-page="100">
                                                                        <xsl:attribute
                                                                          name='margin-top'>3mm</xsl:attribute>
                                                                        <xsl:attribute
                                                                          name='margin-bottom'>3mm</xsl:attribute>
                                                                        <!--<xsl:attribute
                                                                        name='margin-right'>3mm</xsl:attribute>-->
                                                                        <fo:table
                                                                          table-layout="fixed"
                                                                          width="100%"
                                                                          start-indent="0"
                                                                          end-indent="0">
                                                                          <fo:table-column
                                                                            column-width="100%" />
                                                                          <fo:table-body>
                                                                            <fo:table-row>
                                                                              <fo:table-cell>
                                                                                <xsl:attribute
                                                                                  name='padding-left'>
    2mm</xsl:attribute>
                                                                                <xsl:attribute
                                                                                  name='padding-right'>
    2mm</xsl:attribute>
                                                                                <fo:block>Psč</fo:block>
                                                                              </fo:table-cell>
                                                                            </fo:table-row>
                                                                          </fo:table-body>
                                                                        </fo:table>
                                                                        <fo:table
                                                                          table-layout="fixed"
                                                                          width="100%"
                                                                          start-indent="0"
                                                                          end-indent="0">
                                                                          <fo:table-column
                                                                            column-width="100%" />
                                                                          <fo:table-body>
                                                                            <fo:table-row>
                                                                              <fo:table-cell>
                                                                                <xsl:attribute
                                                                                  name='padding-left'>
    2mm</xsl:attribute>
                                                                                <xsl:attribute
                                                                                  name='padding-right'>
    2mm</xsl:attribute>
                                                                                <fo:table
                                                                                  table-layout="fixed"
                                                                                  width="100%"
                                                                                  start-indent="0"
                                                                                  end-indent="0">
                                                                                  <fo:table-column
                                                                                    column-width="100%" />
                                                                                  <fo:table-body>
                                                                                    <fo:table-row>
                                                                                      <fo:table-cell
                                                                                        border="solid 0.6pt"
                                                                                        background-color="white"
                                                                                        padding="1pt">
                                                                                        <fo:block><xsl:call-template
                                                                                            name="FormatText">
                                                                                            <xsl:with-param
                                                                                              name="data"
                                                                                              select="/e:eform/e:UcastnikDoplnujuciKonanie/e:Subjekt[not(@*)]/e:FyzickaOsoba[not(@*)]/e:AdresaPreDorucovanie[not(@*)]/e:Psc[not(@*)]" />
                                                                                          </xsl:call-template>
    &#160;</fo:block>
                                                                                      </fo:table-cell>
                                                                                    </fo:table-row>
                                                                                  </fo:table-body>
                                                                                </fo:table>
                                                                              </fo:table-cell>
                                                                            </fo:table-row>
                                                                          </fo:table-body>
                                                                        </fo:table>
                                                                      </fo:block-container>
                                                                      <fo:block-container
                                                                        width="50%"
                                                                        keep-together.within-page="100">
                                                                        <xsl:attribute
                                                                          name='margin-top'>3mm</xsl:attribute>
                                                                        <xsl:attribute
                                                                          name='margin-bottom'>3mm</xsl:attribute>
                                                                        <!--<xsl:attribute
                                                                        name='margin-right'>3mm</xsl:attribute>-->
                                                                        <fo:table
                                                                          table-layout="fixed"
                                                                          width="100%"
                                                                          start-indent="0"
                                                                          end-indent="0">
                                                                          <fo:table-column
                                                                            column-width="100%" />
                                                                          <fo:table-body>
                                                                            <fo:table-row>
                                                                              <fo:table-cell>
                                                                                <xsl:attribute
                                                                                  name='padding-left'>
    2mm</xsl:attribute>
                                                                                <xsl:attribute
                                                                                  name='padding-right'>
    2mm</xsl:attribute>
                                                                                <fo:block>Štát</fo:block>
                                                                              </fo:table-cell>
                                                                            </fo:table-row>
                                                                          </fo:table-body>
                                                                        </fo:table>
                                                                        <fo:table
                                                                          table-layout="fixed"
                                                                          width="100%"
                                                                          start-indent="0"
                                                                          end-indent="0">
                                                                          <fo:table-column
                                                                            column-width="100%" />
                                                                          <fo:table-body>
                                                                            <fo:table-row>
                                                                              <fo:table-cell>
                                                                                <xsl:attribute
                                                                                  name='padding-left'>
    2mm</xsl:attribute>
                                                                                <xsl:attribute
                                                                                  name='padding-right'>
    2mm</xsl:attribute>
                                                                                <fo:table
                                                                                  table-layout="fixed"
                                                                                  width="100%"
                                                                                  start-indent="0"
                                                                                  end-indent="0">
                                                                                  <fo:table-column
                                                                                    column-width="100%" />
                                                                                  <fo:table-body>
                                                                                    <fo:table-row>
                                                                                      <fo:table-cell
                                                                                        border="solid 0.6pt"
                                                                                        background-color="white"
                                                                                        padding="1pt">
                                                                                        <fo:block><xsl:call-template
                                                                                            name="FormatText">
                                                                                            <xsl:with-param
                                                                                              name="data"
                                                                                              select="/e:eform/e:UcastnikDoplnujuciKonanie/e:Subjekt[not(@*)]/e:FyzickaOsoba[not(@*)]/e:AdresaPreDorucovanie[not(@*)]/e:Stat[not(@*)]" />
                                                                                          </xsl:call-template>
    &#160;</fo:block>
                                                                                      </fo:table-cell>
                                                                                    </fo:table-row>
                                                                                  </fo:table-body>
                                                                                </fo:table>
                                                                              </fo:table-cell>
                                                                            </fo:table-row>
                                                                          </fo:table-body>
                                                                        </fo:table>
                                                                      </fo:block-container>
                                                                    </fo:table-cell>
                                                                  </fo:table-row>
                                                                </fo:table-body>
                                                              </fo:table>
                                                            </fo:block-container>
                                                          </fo:block>
                                                        </fo:block>
                                                      </fo:block-container>

                                                      <!--foBlockForTableEnd-->

                                                    </fo:block>

                                                  </fo:block-container>
                                                </xsl:if>
                                                <!--foBlockForTableEnd--><!--foBlockForTableStart-->

                                                <fo:block-container width="auto">
                                                  <xsl:attribute name='margin-left'>1mm</xsl:attribute>
                                                  <xsl:attribute name='margin-right'>1mm</xsl:attribute>
                                                  <fo:block font-size="12.0pt" font-weight="bold">
                                                    <xsl:attribute name='margin-top'>5mm</xsl:attribute>
                                                    <fo:block margin="5pt">Kontaktné údaje</fo:block>
                                                  </fo:block>
                                                  <fo:block keep-with-previous.within-page="100"
                                                    border-width="0.6pt" border-top-style="solid">
                                                    <fo:block margin="5pt">
                                                      <fo:block-container>
                                                        <fo:table table-layout="fixed" width="100%"
                                                          start-indent="0" end-indent="0">
                                                          <fo:table-column column-width="100%" />
                                                          <fo:table-body>
                                                            <fo:table-row>
                                                              <fo:table-cell>
                                                                <fo:block-container width="50%"
                                                                  keep-together.within-page="100">
                                                                  <xsl:attribute name='margin-top'>
    3mm</xsl:attribute>
                                                                  <xsl:attribute
                                                                    name='margin-bottom'>3mm</xsl:attribute>
                                                                  <!--<xsl:attribute
                                                                  name='margin-right'>3mm</xsl:attribute>-->
                                                                  <fo:table table-layout="fixed"
                                                                    width="100%" start-indent="0"
                                                                    end-indent="0">
                                                                    <fo:table-column
                                                                      column-width="100%" />
                                                                    <fo:table-body>
                                                                      <fo:table-row>
                                                                        <fo:table-cell>
                                                                          <xsl:attribute
                                                                            name='padding-left'>2mm</xsl:attribute>
                                                                          <xsl:attribute
                                                                            name='padding-right'>2mm</xsl:attribute>
                                                                          <fo:block>Telefónne číslo</fo:block>
                                                                        </fo:table-cell>
                                                                      </fo:table-row>
                                                                    </fo:table-body>
                                                                  </fo:table>
                                                                  <fo:table table-layout="fixed"
                                                                    width="100%" start-indent="0"
                                                                    end-indent="0">
                                                                    <fo:table-column
                                                                      column-width="100%" />
                                                                    <fo:table-body>
                                                                      <fo:table-row>
                                                                        <fo:table-cell>
                                                                          <xsl:attribute
                                                                            name='padding-left'>2mm</xsl:attribute>
                                                                          <xsl:attribute
                                                                            name='padding-right'>2mm</xsl:attribute>
                                                                          <fo:table
                                                                            table-layout="fixed"
                                                                            width="100%"
                                                                            start-indent="0"
                                                                            end-indent="0">
                                                                            <fo:table-column
                                                                              column-width="100%" />
                                                                            <fo:table-body>
                                                                              <fo:table-row>
                                                                                <fo:table-cell
                                                                                  border="solid 0.6pt"
                                                                                  background-color="white"
                                                                                  padding="1pt">
                                                                                  <fo:block><xsl:call-template
                                                                                      name="FormatText">
                                                                                      <xsl:with-param
                                                                                        name="data"
                                                                                        select="/e:eform/e:UcastnikDoplnujuciKonanie/e:Subjekt[not(@*)]/e:FyzickaOsoba[not(@*)]/e:KontaktneUdaje[not(@*)]/e:TelefonneCislo[not(@*)]" />
                                                                                    </xsl:call-template>
    &#160;</fo:block>
                                                                                </fo:table-cell>
                                                                              </fo:table-row>
                                                                            </fo:table-body>
                                                                          </fo:table>
                                                                        </fo:table-cell>
                                                                      </fo:table-row>
                                                                    </fo:table-body>
                                                                  </fo:table>
                                                                </fo:block-container>
                                                                <fo:block-container width="50%"
                                                                  keep-together.within-page="100">
                                                                  <xsl:attribute name='margin-top'>
    3mm</xsl:attribute>
                                                                  <xsl:attribute
                                                                    name='margin-bottom'>3mm</xsl:attribute>
                                                                  <!--<xsl:attribute
                                                                  name='margin-right'>3mm</xsl:attribute>-->
                                                                  <fo:table table-layout="fixed"
                                                                    width="100%" start-indent="0"
                                                                    end-indent="0">
                                                                    <fo:table-column
                                                                      column-width="100%" />
                                                                    <fo:table-body>
                                                                      <fo:table-row>
                                                                        <fo:table-cell>
                                                                          <xsl:attribute
                                                                            name='padding-left'>2mm</xsl:attribute>
                                                                          <xsl:attribute
                                                                            name='padding-right'>2mm</xsl:attribute>
                                                                          <fo:block>Emailová adresa</fo:block>
                                                                        </fo:table-cell>
                                                                      </fo:table-row>
                                                                    </fo:table-body>
                                                                  </fo:table>
                                                                  <fo:table table-layout="fixed"
                                                                    width="100%" start-indent="0"
                                                                    end-indent="0">
                                                                    <fo:table-column
                                                                      column-width="100%" />
                                                                    <fo:table-body>
                                                                      <fo:table-row>
                                                                        <fo:table-cell>
                                                                          <xsl:attribute
                                                                            name='padding-left'>2mm</xsl:attribute>
                                                                          <xsl:attribute
                                                                            name='padding-right'>2mm</xsl:attribute>
                                                                          <fo:table
                                                                            table-layout="fixed"
                                                                            width="100%"
                                                                            start-indent="0"
                                                                            end-indent="0">
                                                                            <fo:table-column
                                                                              column-width="100%" />
                                                                            <fo:table-body>
                                                                              <fo:table-row>
                                                                                <fo:table-cell
                                                                                  border="solid 0.6pt"
                                                                                  background-color="white"
                                                                                  padding="1pt">
                                                                                  <fo:block><xsl:call-template
                                                                                      name="FormatText">
                                                                                      <xsl:with-param
                                                                                        name="data"
                                                                                        select="/e:eform/e:UcastnikDoplnujuciKonanie/e:Subjekt[not(@*)]/e:FyzickaOsoba[not(@*)]/e:KontaktneUdaje[not(@*)]/e:EmailovaAdresa[not(@*)]" />
                                                                                    </xsl:call-template>
    &#160;</fo:block>
                                                                                </fo:table-cell>
                                                                              </fo:table-row>
                                                                            </fo:table-body>
                                                                          </fo:table>
                                                                        </fo:table-cell>
                                                                      </fo:table-row>
                                                                    </fo:table-body>
                                                                  </fo:table>
                                                                </fo:block-container>
                                                                <fo:block-container width="50%"
                                                                  keep-together.within-page="100">
                                                                  <xsl:attribute name='margin-top'>
    3mm</xsl:attribute>
                                                                  <xsl:attribute
                                                                    name='margin-bottom'>3mm</xsl:attribute>
                                                                  <!--<xsl:attribute
                                                                  name='margin-right'>3mm</xsl:attribute>-->
                                                                  <fo:table table-layout="fixed"
                                                                    width="100%" start-indent="0"
                                                                    end-indent="0">
                                                                    <fo:table-column
                                                                      column-width="100%" />
                                                                    <fo:table-body>
                                                                      <fo:table-row>
                                                                        <fo:table-cell>
                                                                          <xsl:attribute
                                                                            name='padding-left'>2mm</xsl:attribute>
                                                                          <xsl:attribute
                                                                            name='padding-right'>2mm</xsl:attribute>
                                                                          <fo:block>Číslo
    elektronickej schránky</fo:block>
                                                                        </fo:table-cell>
                                                                      </fo:table-row>
                                                                    </fo:table-body>
                                                                  </fo:table>
                                                                  <fo:table table-layout="fixed"
                                                                    width="100%" start-indent="0"
                                                                    end-indent="0">
                                                                    <fo:table-column
                                                                      column-width="100%" />
                                                                    <fo:table-body>
                                                                      <fo:table-row>
                                                                        <fo:table-cell>
                                                                          <xsl:attribute
                                                                            name='padding-left'>2mm</xsl:attribute>
                                                                          <xsl:attribute
                                                                            name='padding-right'>2mm</xsl:attribute>
                                                                          <fo:table
                                                                            table-layout="fixed"
                                                                            width="100%"
                                                                            start-indent="0"
                                                                            end-indent="0">
                                                                            <fo:table-column
                                                                              column-width="100%" />
                                                                            <fo:table-body>
                                                                              <fo:table-row>
                                                                                <fo:table-cell
                                                                                  border="solid 0.6pt"
                                                                                  background-color="white"
                                                                                  padding="1pt">
                                                                                  <fo:block><xsl:call-template
                                                                                      name="FormatText">
                                                                                      <xsl:with-param
                                                                                        name="data"
                                                                                        select="/e:eform/e:UcastnikDoplnujuciKonanie/e:Subjekt[not(@*)]/e:FyzickaOsoba[not(@*)]/e:KontaktneUdaje[not(@*)]/e:CisloElektronickejSchranky[not(@*)]" />
                                                                                    </xsl:call-template>
    &#160;</fo:block>
                                                                                </fo:table-cell>
                                                                              </fo:table-row>
                                                                            </fo:table-body>
                                                                          </fo:table>
                                                                        </fo:table-cell>
                                                                      </fo:table-row>
                                                                    </fo:table-body>
                                                                  </fo:table>
                                                                </fo:block-container>
                                                                <fo:block-container width="50%"
                                                                  keep-together.within-page="100">
                                                                  <xsl:attribute name='margin-top'>
    3mm</xsl:attribute>
                                                                  <xsl:attribute
                                                                    name='margin-bottom'>3mm</xsl:attribute>
                                                                  <!--<xsl:attribute
                                                                  name='margin-right'>3mm</xsl:attribute>-->
                                                                  <fo:table table-layout="fixed"
                                                                    width="100%" start-indent="0"
                                                                    end-indent="0">
                                                                    <fo:table-column
                                                                      column-width="100%" />
                                                                    <fo:table-body>
                                                                      <fo:table-row>
                                                                        <fo:table-cell>
                                                                          <xsl:attribute
                                                                            name='padding-left'>2mm</xsl:attribute>
                                                                          <xsl:attribute
                                                                            name='padding-right'>2mm</xsl:attribute>
                                                                          <fo:block>Adresa
    elektronickej schránky</fo:block>
                                                                        </fo:table-cell>
                                                                      </fo:table-row>
                                                                    </fo:table-body>
                                                                  </fo:table>
                                                                  <fo:table table-layout="fixed"
                                                                    width="100%" start-indent="0"
                                                                    end-indent="0">
                                                                    <fo:table-column
                                                                      column-width="100%" />
                                                                    <fo:table-body>
                                                                      <fo:table-row>
                                                                        <fo:table-cell>
                                                                          <xsl:attribute
                                                                            name='padding-left'>2mm</xsl:attribute>
                                                                          <xsl:attribute
                                                                            name='padding-right'>2mm</xsl:attribute>
                                                                          <fo:table
                                                                            table-layout="fixed"
                                                                            width="100%"
                                                                            start-indent="0"
                                                                            end-indent="0">
                                                                            <fo:table-column
                                                                              column-width="100%" />
                                                                            <fo:table-body>
                                                                              <fo:table-row>
                                                                                <fo:table-cell
                                                                                  border="solid 0.6pt"
                                                                                  background-color="white"
                                                                                  padding="1pt">
                                                                                  <fo:block><xsl:call-template
                                                                                      name="FormatText">
                                                                                      <xsl:with-param
                                                                                        name="data"
                                                                                        select="/e:eform/e:UcastnikDoplnujuciKonanie/e:Subjekt[not(@*)]/e:FyzickaOsoba[not(@*)]/e:KontaktneUdaje[not(@*)]/e:AdresaElektronickejSchranky[not(@*)]" />
                                                                                    </xsl:call-template>
    &#160;</fo:block>
                                                                                </fo:table-cell>
                                                                              </fo:table-row>
                                                                            </fo:table-body>
                                                                          </fo:table>
                                                                        </fo:table-cell>
                                                                      </fo:table-row>
                                                                    </fo:table-body>
                                                                  </fo:table>
                                                                </fo:block-container>
                                                              </fo:table-cell>
                                                            </fo:table-row>
                                                          </fo:table-body>
                                                        </fo:table>
                                                      </fo:block-container>
                                                    </fo:block>
                                                  </fo:block>
                                                </fo:block-container>

                                                <!--foBlockForTableEnd-->
                                              </fo:table-cell>
                                            </fo:table-row>
                                          </fo:table-body>
                                        </fo:table>
                                      </fo:block-container>
                                    </fo:block>
                                  </fo:block>
                                </fo:block-container>

                                <!--foBlockForTableEnd-->

                              </fo:block>

                            </fo:block-container>
                          </xsl:if>
                          <!--foBlockForTableEnd--><!--foBlockForTableStart-->
                          <xsl:if
                            test="/e:eform/e:UcastnikDoplnujuciKonanie/e:Subjekt[not(@*)]/e:TypSubjektu[not(@*)] = 'PRAVNICKAOSOBA'">
                            <fo:block-container width="auto">

                              <fo:block>


                                <!--foBlockForTableStart-->

                                <fo:block-container width="auto">
                                  <xsl:attribute name='margin-left'>1mm</xsl:attribute>
                                  <xsl:attribute name='margin-right'>1mm</xsl:attribute>
                                  <fo:block font-size="12.0pt" font-weight="bold">
                                    <xsl:attribute name='margin-top'>5mm</xsl:attribute>
                                    <fo:block margin="5pt">Právnická osoba</fo:block>
                                  </fo:block>
                                  <fo:block keep-with-previous.within-page="100"
                                    border-width="0.6pt" border-top-style="solid">
                                    <fo:block margin="5pt">
                                      <fo:block-container>
                                        <fo:table table-layout="fixed" width="100%" start-indent="0"
                                          end-indent="0">
                                          <fo:table-column column-width="100%" />
                                          <fo:table-body>
                                            <fo:table-row>
                                              <fo:table-cell>
                                                <fo:block-container width="50%"
                                                  keep-together.within-page="100">
                                                  <xsl:attribute name='margin-top'>3mm</xsl:attribute>
                                                  <xsl:attribute name='margin-bottom'>3mm</xsl:attribute>
                                                  <!--<xsl:attribute
                                                  name='margin-right'>3mm</xsl:attribute>-->
                                                  <fo:table table-layout="fixed" width="100%"
                                                    start-indent="0" end-indent="0">
                                                    <fo:table-column column-width="100%" />
                                                    <fo:table-body>
                                                      <fo:table-row>
                                                        <fo:table-cell>
                                                          <xsl:attribute name='padding-left'>2mm</xsl:attribute>
                                                          <xsl:attribute name='padding-right'>2mm</xsl:attribute>
                                                          <fo:block>Identifikátor</fo:block>
                                                        </fo:table-cell>
                                                      </fo:table-row>
                                                    </fo:table-body>
                                                  </fo:table>
                                                  <fo:table table-layout="fixed" width="100%"
                                                    start-indent="0" end-indent="0">
                                                    <fo:table-column column-width="100%" />
                                                    <fo:table-body>
                                                      <fo:table-row>
                                                        <fo:table-cell>
                                                          <xsl:attribute name='padding-left'>2mm</xsl:attribute>
                                                          <xsl:attribute name='padding-right'>2mm</xsl:attribute>
                                                          <fo:table table-layout="fixed"
                                                            width="100%" start-indent="0"
                                                            end-indent="0">
                                                            <fo:table-column column-width="100%" />
                                                            <fo:table-body>
                                                              <fo:table-row>
                                                                <fo:table-cell border="solid 0.6pt"
                                                                  background-color="white"
                                                                  padding="1pt">
                                                                  <fo:block><xsl:call-template
                                                                      name="FormatText">
                                                                      <xsl:with-param name="data"
                                                                        select="/e:eform/e:UcastnikDoplnujuciKonanie/e:Subjekt[not(@*)]/e:PravnickaOsoba[not(@*)]/e:Identifikator/e:TypIdentifikatora[not(@*)]" />
                                                                    </xsl:call-template>
    &#160;</fo:block>
                                                                </fo:table-cell>
                                                              </fo:table-row>
                                                            </fo:table-body>
                                                          </fo:table>
                                                        </fo:table-cell>
                                                      </fo:table-row>
                                                    </fo:table-body>
                                                  </fo:table>
                                                </fo:block-container>
                                                <fo:block-container width="50%"
                                                  keep-together.within-page="100">
                                                  <xsl:attribute name='margin-top'>3mm</xsl:attribute>
                                                  <xsl:attribute name='margin-bottom'>3mm</xsl:attribute>
                                                  <!--<xsl:attribute
                                                  name='margin-right'>3mm</xsl:attribute>-->
                                                  <fo:table table-layout="fixed" width="100%"
                                                    start-indent="0" end-indent="0">
                                                    <fo:table-column column-width="100%" />
                                                    <fo:table-body>
                                                      <fo:table-row>
                                                        <fo:table-cell>
                                                          <xsl:attribute name='padding-left'>2mm</xsl:attribute>
                                                          <xsl:attribute name='padding-right'>2mm</xsl:attribute>
                                                          <fo:block>.</fo:block>
                                                        </fo:table-cell>
                                                      </fo:table-row>
                                                    </fo:table-body>
                                                  </fo:table>
                                                  <fo:table table-layout="fixed" width="100%"
                                                    start-indent="0" end-indent="0">
                                                    <fo:table-column column-width="100%" />
                                                    <fo:table-body>
                                                      <fo:table-row>
                                                        <fo:table-cell>
                                                          <xsl:attribute name='padding-left'>2mm</xsl:attribute>
                                                          <xsl:attribute name='padding-right'>2mm</xsl:attribute>
                                                          <fo:table table-layout="fixed"
                                                            width="100%" start-indent="0"
                                                            end-indent="0">
                                                            <fo:table-column column-width="100%" />
                                                            <fo:table-body>
                                                              <fo:table-row>
                                                                <fo:table-cell border="solid 0.6pt"
                                                                  background-color="white"
                                                                  padding="1pt">
                                                                  <fo:block><xsl:call-template
                                                                      name="FormatText">
                                                                      <xsl:with-param name="data"
                                                                        select="/e:eform/e:UcastnikDoplnujuciKonanie/e:Subjekt[not(@*)]/e:PravnickaOsoba[not(@*)]/e:Identifikator/e:HodnotaIdentifikatora[not(@*)]" />
                                                                    </xsl:call-template>
    &#160;</fo:block>
                                                                </fo:table-cell>
                                                              </fo:table-row>
                                                            </fo:table-body>
                                                          </fo:table>
                                                        </fo:table-cell>
                                                      </fo:table-row>
                                                    </fo:table-body>
                                                  </fo:table>
                                                </fo:block-container>
                                                <fo:block-container width="50%"
                                                  keep-together.within-page="100">
                                                  <xsl:attribute name='margin-top'>3mm</xsl:attribute>
                                                  <xsl:attribute name='margin-bottom'>3mm</xsl:attribute>
                                                  <!--<xsl:attribute
                                                  name='margin-right'>3mm</xsl:attribute>-->
                                                  <fo:table table-layout="fixed" width="100%"
                                                    start-indent="0" end-indent="0">
                                                    <fo:table-column column-width="100%" />
                                                    <fo:table-body>
                                                      <fo:table-row>
                                                        <fo:table-cell>
                                                          <xsl:attribute name='padding-left'>2mm</xsl:attribute>
                                                          <xsl:attribute name='padding-right'>2mm</xsl:attribute>
                                                          <fo:block>Názov právnickej osoby</fo:block>
                                                        </fo:table-cell>
                                                      </fo:table-row>
                                                    </fo:table-body>
                                                  </fo:table>
                                                  <fo:table table-layout="fixed" width="100%"
                                                    start-indent="0" end-indent="0">
                                                    <fo:table-column column-width="100%" />
                                                    <fo:table-body>
                                                      <fo:table-row>
                                                        <fo:table-cell>
                                                          <xsl:attribute name='padding-left'>2mm</xsl:attribute>
                                                          <xsl:attribute name='padding-right'>2mm</xsl:attribute>
                                                          <fo:table table-layout="fixed"
                                                            width="100%" start-indent="0"
                                                            end-indent="0">
                                                            <fo:table-column column-width="100%" />
                                                            <fo:table-body>
                                                              <fo:table-row>
                                                                <fo:table-cell border="solid 0.6pt"
                                                                  background-color="white"
                                                                  padding="1pt">
                                                                  <fo:block><xsl:call-template
                                                                      name="FormatText">
                                                                      <xsl:with-param name="data"
                                                                        select="/e:eform/e:UcastnikDoplnujuciKonanie/e:Subjekt[not(@*)]/e:PravnickaOsoba[not(@*)]/e:Nazov[not(@*)]" />
                                                                    </xsl:call-template>
    &#160;</fo:block>
                                                                </fo:table-cell>
                                                              </fo:table-row>
                                                            </fo:table-body>
                                                          </fo:table>
                                                        </fo:table-cell>
                                                      </fo:table-row>
                                                    </fo:table-body>
                                                  </fo:table>
                                                </fo:block-container>
                                                <fo:block-container width="50%"
                                                  keep-together.within-page="100">
                                                  <xsl:attribute name='margin-top'>3mm</xsl:attribute>
                                                  <xsl:attribute name='margin-bottom'>3mm</xsl:attribute>
                                                  <!--<xsl:attribute
                                                  name='margin-right'>3mm</xsl:attribute>-->
                                                  <fo:table table-layout="fixed" width="100%"
                                                    start-indent="0" end-indent="0">
                                                    <fo:table-column column-width="100%" />
                                                    <fo:table-body>
                                                      <fo:table-row>
                                                        <fo:table-cell>
                                                          <xsl:attribute name='padding-left'>2mm</xsl:attribute>
                                                          <xsl:attribute name='padding-right'>2mm</xsl:attribute>
                                                          <fo:block>Registrácia</fo:block>
                                                        </fo:table-cell>
                                                      </fo:table-row>
                                                    </fo:table-body>
                                                  </fo:table>
                                                  <fo:table table-layout="fixed" width="100%"
                                                    start-indent="0" end-indent="0">
                                                    <fo:table-column column-width="100%" />
                                                    <fo:table-body>
                                                      <fo:table-row>
                                                        <fo:table-cell>
                                                          <xsl:attribute name='padding-left'>2mm</xsl:attribute>
                                                          <xsl:attribute name='padding-right'>2mm</xsl:attribute>
                                                          <fo:table table-layout="fixed"
                                                            width="100%" start-indent="0"
                                                            end-indent="0">
                                                            <fo:table-column column-width="100%" />
                                                            <fo:table-body>
                                                              <fo:table-row>
                                                                <fo:table-cell border="solid 0.6pt"
                                                                  background-color="white"
                                                                  padding="1pt">
                                                                  <fo:block><xsl:call-template
                                                                      name="FormatText">
                                                                      <xsl:with-param name="data"
                                                                        select="/e:eform/e:UcastnikDoplnujuciKonanie/e:Subjekt[not(@*)]/e:PravnickaOsoba[not(@*)]/e:Registracia/e:Stat[not(@*)]" />
                                                                    </xsl:call-template>
    &#160;</fo:block>
                                                                </fo:table-cell>
                                                              </fo:table-row>
                                                            </fo:table-body>
                                                          </fo:table>
                                                        </fo:table-cell>
                                                      </fo:table-row>
                                                    </fo:table-body>
                                                  </fo:table>
                                                </fo:block-container><!--foBlockForTableStart-->
                                                <xsl:if
                                                  test="/e:eform/e:UcastnikDoplnujuciKonanie/e:Subjekt[not(@*)]/e:PravnickaOsoba[not(@*)]/e:Registracia/e:Stat[not(@*)] = 'INYSTAT'">
                                                  <fo:block-container width="50%">

                                                    <fo:block>


                                                      <fo:block-container width="auto"
                                                        keep-together.within-page="100">
                                                        <xsl:attribute name='margin-top'>3mm</xsl:attribute>
                                                        <xsl:attribute name='margin-bottom'>3mm</xsl:attribute>
                                                        <!--<xsl:attribute
                                                        name='margin-right'>3mm</xsl:attribute>-->
                                                        <fo:table table-layout="fixed" width="100%"
                                                          start-indent="0" end-indent="0">
                                                          <fo:table-column column-width="100%" />
                                                          <fo:table-body>
                                                            <fo:table-row>
                                                              <fo:table-cell>
                                                                <xsl:attribute name='padding-left'>
    2mm</xsl:attribute>
                                                                <xsl:attribute name='padding-right'>
    2mm</xsl:attribute>
                                                                <fo:block>Štát</fo:block>
                                                              </fo:table-cell>
                                                            </fo:table-row>
                                                          </fo:table-body>
                                                        </fo:table>
                                                        <fo:table table-layout="fixed" width="100%"
                                                          start-indent="0" end-indent="0">
                                                          <fo:table-column column-width="100%" />
                                                          <fo:table-body>
                                                            <fo:table-row>
                                                              <fo:table-cell>
                                                                <xsl:attribute name='padding-left'>
    2mm</xsl:attribute>
                                                                <xsl:attribute name='padding-right'>
    2mm</xsl:attribute>
                                                                <fo:table table-layout="fixed"
                                                                  width="100%" start-indent="0"
                                                                  end-indent="0">
                                                                  <fo:table-column
                                                                    column-width="100%" />
                                                                  <fo:table-body>
                                                                    <fo:table-row>
                                                                      <fo:table-cell
                                                                        border="solid 0.6pt"
                                                                        background-color="white"
                                                                        padding="1pt">
                                                                        <fo:block><xsl:call-template
                                                                            name="FormatText">
                                                                            <xsl:with-param
                                                                              name="data"
                                                                              select="/e:eform/e:UcastnikDoplnujuciKonanie/e:Subjekt[not(@*)]/e:PravnickaOsoba[not(@*)]/e:Registracia/e:NazovInehoStatu[not(@*)]" />
                                                                          </xsl:call-template>
    &#160;</fo:block>
                                                                      </fo:table-cell>
                                                                    </fo:table-row>
                                                                  </fo:table-body>
                                                                </fo:table>
                                                              </fo:table-cell>
                                                            </fo:table-row>
                                                          </fo:table-body>
                                                        </fo:table>
                                                      </fo:block-container>

                                                    </fo:block>

                                                  </fo:block-container>
                                                </xsl:if>
                                                <!--foBlockForTableEnd--><!--foBlockForTableStart-->

                                                <fo:block-container width="auto">
                                                  <xsl:attribute name='margin-left'>1mm</xsl:attribute>
                                                  <xsl:attribute name='margin-right'>1mm</xsl:attribute>
                                                  <fo:block font-size="12.0pt" font-weight="bold">
                                                    <xsl:attribute name='margin-top'>5mm</xsl:attribute>
                                                    <fo:block margin="5pt">Adresa sídla právnickej
    osoby</fo:block>
                                                  </fo:block>
                                                  <fo:block keep-with-previous.within-page="100"
                                                    border-width="0.6pt" border-top-style="solid">
                                                    <fo:block margin="5pt">
                                                      <fo:block-container>
                                                        <fo:table table-layout="fixed" width="100%"
                                                          start-indent="0" end-indent="0">
                                                          <fo:table-column column-width="100%" />
                                                          <fo:table-body>
                                                            <fo:table-row>
                                                              <fo:table-cell>
                                                                <fo:block-container width="50%"
                                                                  keep-together.within-page="100">
                                                                  <xsl:attribute name='margin-top'>
    3mm</xsl:attribute>
                                                                  <xsl:attribute
                                                                    name='margin-bottom'>3mm</xsl:attribute>
                                                                  <!--<xsl:attribute
                                                                  name='margin-right'>3mm</xsl:attribute>-->
                                                                  <fo:table table-layout="fixed"
                                                                    width="100%" start-indent="0"
                                                                    end-indent="0">
                                                                    <fo:table-column
                                                                      column-width="100%" />
                                                                    <fo:table-body>
                                                                      <fo:table-row>
                                                                        <fo:table-cell>
                                                                          <xsl:attribute
                                                                            name='padding-left'>2mm</xsl:attribute>
                                                                          <xsl:attribute
                                                                            name='padding-right'>2mm</xsl:attribute>
                                                                          <fo:block>Ulica</fo:block>
                                                                        </fo:table-cell>
                                                                      </fo:table-row>
                                                                    </fo:table-body>
                                                                  </fo:table>
                                                                  <fo:table table-layout="fixed"
                                                                    width="100%" start-indent="0"
                                                                    end-indent="0">
                                                                    <fo:table-column
                                                                      column-width="100%" />
                                                                    <fo:table-body>
                                                                      <fo:table-row>
                                                                        <fo:table-cell>
                                                                          <xsl:attribute
                                                                            name='padding-left'>2mm</xsl:attribute>
                                                                          <xsl:attribute
                                                                            name='padding-right'>2mm</xsl:attribute>
                                                                          <fo:table
                                                                            table-layout="fixed"
                                                                            width="100%"
                                                                            start-indent="0"
                                                                            end-indent="0">
                                                                            <fo:table-column
                                                                              column-width="100%" />
                                                                            <fo:table-body>
                                                                              <fo:table-row>
                                                                                <fo:table-cell
                                                                                  border="solid 0.6pt"
                                                                                  background-color="white"
                                                                                  padding="1pt">
                                                                                  <fo:block><xsl:call-template
                                                                                      name="FormatText">
                                                                                      <xsl:with-param
                                                                                        name="data"
                                                                                        select="/e:eform/e:UcastnikDoplnujuciKonanie/e:Subjekt[not(@*)]/e:PravnickaOsoba[not(@*)]/e:AdresaSidla[not(@*)]/e:Ulica[not(@*)]" />
                                                                                    </xsl:call-template>
    &#160;</fo:block>
                                                                                </fo:table-cell>
                                                                              </fo:table-row>
                                                                            </fo:table-body>
                                                                          </fo:table>
                                                                        </fo:table-cell>
                                                                      </fo:table-row>
                                                                    </fo:table-body>
                                                                  </fo:table>
                                                                </fo:block-container>
                                                                <fo:block-container width="25%"
                                                                  keep-together.within-page="100">
                                                                  <xsl:attribute name='margin-top'>
    3mm</xsl:attribute>
                                                                  <xsl:attribute
                                                                    name='margin-bottom'>3mm</xsl:attribute>
                                                                  <!--<xsl:attribute
                                                                  name='margin-right'>3mm</xsl:attribute>-->
                                                                  <fo:table table-layout="fixed"
                                                                    width="100%" start-indent="0"
                                                                    end-indent="0">
                                                                    <fo:table-column
                                                                      column-width="100%" />
                                                                    <fo:table-body>
                                                                      <fo:table-row>
                                                                        <fo:table-cell>
                                                                          <xsl:attribute
                                                                            name='padding-left'>2mm</xsl:attribute>
                                                                          <xsl:attribute
                                                                            name='padding-right'>2mm</xsl:attribute>
                                                                          <fo:block>Súpisné číslo</fo:block>
                                                                        </fo:table-cell>
                                                                      </fo:table-row>
                                                                    </fo:table-body>
                                                                  </fo:table>
                                                                  <fo:table table-layout="fixed"
                                                                    width="100%" start-indent="0"
                                                                    end-indent="0">
                                                                    <fo:table-column
                                                                      column-width="100%" />
                                                                    <fo:table-body>
                                                                      <fo:table-row>
                                                                        <fo:table-cell>
                                                                          <xsl:attribute
                                                                            name='padding-left'>2mm</xsl:attribute>
                                                                          <xsl:attribute
                                                                            name='padding-right'>2mm</xsl:attribute>
                                                                          <fo:table
                                                                            table-layout="fixed"
                                                                            width="100%"
                                                                            start-indent="0"
                                                                            end-indent="0">
                                                                            <fo:table-column
                                                                              column-width="100%" />
                                                                            <fo:table-body>
                                                                              <fo:table-row>
                                                                                <fo:table-cell
                                                                                  border="solid 0.6pt"
                                                                                  background-color="white"
                                                                                  padding="1pt">
                                                                                  <fo:block><xsl:call-template
                                                                                      name="FormatText">
                                                                                      <xsl:with-param
                                                                                        name="data"
                                                                                        select="/e:eform/e:UcastnikDoplnujuciKonanie/e:Subjekt[not(@*)]/e:PravnickaOsoba[not(@*)]/e:AdresaSidla[not(@*)]/e:SupisneCislo[not(@*)]" />
                                                                                    </xsl:call-template>
    &#160;</fo:block>
                                                                                </fo:table-cell>
                                                                              </fo:table-row>
                                                                            </fo:table-body>
                                                                          </fo:table>
                                                                        </fo:table-cell>
                                                                      </fo:table-row>
                                                                    </fo:table-body>
                                                                  </fo:table>
                                                                </fo:block-container>
                                                                <fo:block-container width="25%"
                                                                  keep-together.within-page="100">
                                                                  <xsl:attribute name='margin-top'>
    3mm</xsl:attribute>
                                                                  <xsl:attribute
                                                                    name='margin-bottom'>3mm</xsl:attribute>
                                                                  <!--<xsl:attribute
                                                                  name='margin-right'>3mm</xsl:attribute>-->
                                                                  <fo:table table-layout="fixed"
                                                                    width="100%" start-indent="0"
                                                                    end-indent="0">
                                                                    <fo:table-column
                                                                      column-width="100%" />
                                                                    <fo:table-body>
                                                                      <fo:table-row>
                                                                        <fo:table-cell>
                                                                          <xsl:attribute
                                                                            name='padding-left'>2mm</xsl:attribute>
                                                                          <xsl:attribute
                                                                            name='padding-right'>2mm</xsl:attribute>
                                                                          <fo:block>Popisné číslo</fo:block>
                                                                        </fo:table-cell>
                                                                      </fo:table-row>
                                                                    </fo:table-body>
                                                                  </fo:table>
                                                                  <fo:table table-layout="fixed"
                                                                    width="100%" start-indent="0"
                                                                    end-indent="0">
                                                                    <fo:table-column
                                                                      column-width="100%" />
                                                                    <fo:table-body>
                                                                      <fo:table-row>
                                                                        <fo:table-cell>
                                                                          <xsl:attribute
                                                                            name='padding-left'>2mm</xsl:attribute>
                                                                          <xsl:attribute
                                                                            name='padding-right'>2mm</xsl:attribute>
                                                                          <fo:table
                                                                            table-layout="fixed"
                                                                            width="100%"
                                                                            start-indent="0"
                                                                            end-indent="0">
                                                                            <fo:table-column
                                                                              column-width="100%" />
                                                                            <fo:table-body>
                                                                              <fo:table-row>
                                                                                <fo:table-cell
                                                                                  border="solid 0.6pt"
                                                                                  background-color="white"
                                                                                  padding="1pt">
                                                                                  <fo:block><xsl:call-template
                                                                                      name="FormatText">
                                                                                      <xsl:with-param
                                                                                        name="data"
                                                                                        select="/e:eform/e:UcastnikDoplnujuciKonanie/e:Subjekt[not(@*)]/e:PravnickaOsoba[not(@*)]/e:AdresaSidla[not(@*)]/e:PopisneCislo[not(@*)]" />
                                                                                    </xsl:call-template>
    &#160;</fo:block>
                                                                                </fo:table-cell>
                                                                              </fo:table-row>
                                                                            </fo:table-body>
                                                                          </fo:table>
                                                                        </fo:table-cell>
                                                                      </fo:table-row>
                                                                    </fo:table-body>
                                                                  </fo:table>
                                                                </fo:block-container>
                                                                <fo:block-container width="50%"
                                                                  keep-together.within-page="100">
                                                                  <xsl:attribute name='margin-top'>
    3mm</xsl:attribute>
                                                                  <xsl:attribute
                                                                    name='margin-bottom'>3mm</xsl:attribute>
                                                                  <!--<xsl:attribute
                                                                  name='margin-right'>3mm</xsl:attribute>-->
                                                                  <fo:table table-layout="fixed"
                                                                    width="100%" start-indent="0"
                                                                    end-indent="0">
                                                                    <fo:table-column
                                                                      column-width="100%" />
                                                                    <fo:table-body>
                                                                      <fo:table-row>
                                                                        <fo:table-cell>
                                                                          <xsl:attribute
                                                                            name='padding-left'>2mm</xsl:attribute>
                                                                          <xsl:attribute
                                                                            name='padding-right'>2mm</xsl:attribute>
                                                                          <fo:block>Obec</fo:block>
                                                                        </fo:table-cell>
                                                                      </fo:table-row>
                                                                    </fo:table-body>
                                                                  </fo:table>
                                                                  <fo:table table-layout="fixed"
                                                                    width="100%" start-indent="0"
                                                                    end-indent="0">
                                                                    <fo:table-column
                                                                      column-width="100%" />
                                                                    <fo:table-body>
                                                                      <fo:table-row>
                                                                        <fo:table-cell>
                                                                          <xsl:attribute
                                                                            name='padding-left'>2mm</xsl:attribute>
                                                                          <xsl:attribute
                                                                            name='padding-right'>2mm</xsl:attribute>
                                                                          <fo:table
                                                                            table-layout="fixed"
                                                                            width="100%"
                                                                            start-indent="0"
                                                                            end-indent="0">
                                                                            <fo:table-column
                                                                              column-width="100%" />
                                                                            <fo:table-body>
                                                                              <fo:table-row>
                                                                                <fo:table-cell
                                                                                  border="solid 0.6pt"
                                                                                  background-color="white"
                                                                                  padding="1pt">
                                                                                  <fo:block><xsl:call-template
                                                                                      name="FormatText">
                                                                                      <xsl:with-param
                                                                                        name="data"
                                                                                        select="/e:eform/e:UcastnikDoplnujuciKonanie/e:Subjekt[not(@*)]/e:PravnickaOsoba[not(@*)]/e:AdresaSidla[not(@*)]/e:Obec[not(@*)]" />
                                                                                    </xsl:call-template>
    &#160;</fo:block>
                                                                                </fo:table-cell>
                                                                              </fo:table-row>
                                                                            </fo:table-body>
                                                                          </fo:table>
                                                                        </fo:table-cell>
                                                                      </fo:table-row>
                                                                    </fo:table-body>
                                                                  </fo:table>
                                                                </fo:block-container>
                                                                <fo:block-container width="25%"
                                                                  keep-together.within-page="100">
                                                                  <xsl:attribute name='margin-top'>
    3mm</xsl:attribute>
                                                                  <xsl:attribute
                                                                    name='margin-bottom'>3mm</xsl:attribute>
                                                                  <!--<xsl:attribute
                                                                  name='margin-right'>3mm</xsl:attribute>-->
                                                                  <fo:table table-layout="fixed"
                                                                    width="100%" start-indent="0"
                                                                    end-indent="0">
                                                                    <fo:table-column
                                                                      column-width="100%" />
                                                                    <fo:table-body>
                                                                      <fo:table-row>
                                                                        <fo:table-cell>
                                                                          <xsl:attribute
                                                                            name='padding-left'>2mm</xsl:attribute>
                                                                          <xsl:attribute
                                                                            name='padding-right'>2mm</xsl:attribute>
                                                                          <fo:block>Psč</fo:block>
                                                                        </fo:table-cell>
                                                                      </fo:table-row>
                                                                    </fo:table-body>
                                                                  </fo:table>
                                                                  <fo:table table-layout="fixed"
                                                                    width="100%" start-indent="0"
                                                                    end-indent="0">
                                                                    <fo:table-column
                                                                      column-width="100%" />
                                                                    <fo:table-body>
                                                                      <fo:table-row>
                                                                        <fo:table-cell>
                                                                          <xsl:attribute
                                                                            name='padding-left'>2mm</xsl:attribute>
                                                                          <xsl:attribute
                                                                            name='padding-right'>2mm</xsl:attribute>
                                                                          <fo:table
                                                                            table-layout="fixed"
                                                                            width="100%"
                                                                            start-indent="0"
                                                                            end-indent="0">
                                                                            <fo:table-column
                                                                              column-width="100%" />
                                                                            <fo:table-body>
                                                                              <fo:table-row>
                                                                                <fo:table-cell
                                                                                  border="solid 0.6pt"
                                                                                  background-color="white"
                                                                                  padding="1pt">
                                                                                  <fo:block><xsl:call-template
                                                                                      name="FormatText">
                                                                                      <xsl:with-param
                                                                                        name="data"
                                                                                        select="/e:eform/e:UcastnikDoplnujuciKonanie/e:Subjekt[not(@*)]/e:PravnickaOsoba[not(@*)]/e:AdresaSidla[not(@*)]/e:Psc[not(@*)]" />
                                                                                    </xsl:call-template>
    &#160;</fo:block>
                                                                                </fo:table-cell>
                                                                              </fo:table-row>
                                                                            </fo:table-body>
                                                                          </fo:table>
                                                                        </fo:table-cell>
                                                                      </fo:table-row>
                                                                    </fo:table-body>
                                                                  </fo:table>
                                                                </fo:block-container>
                                                                <fo:block-container width="50%"
                                                                  keep-together.within-page="100">
                                                                  <xsl:attribute name='margin-top'>
    3mm</xsl:attribute>
                                                                  <xsl:attribute
                                                                    name='margin-bottom'>3mm</xsl:attribute>
                                                                  <!--<xsl:attribute
                                                                  name='margin-right'>3mm</xsl:attribute>-->
                                                                  <fo:table table-layout="fixed"
                                                                    width="100%" start-indent="0"
                                                                    end-indent="0">
                                                                    <fo:table-column
                                                                      column-width="100%" />
                                                                    <fo:table-body>
                                                                      <fo:table-row>
                                                                        <fo:table-cell>
                                                                          <xsl:attribute
                                                                            name='padding-left'>2mm</xsl:attribute>
                                                                          <xsl:attribute
                                                                            name='padding-right'>2mm</xsl:attribute>
                                                                          <fo:block>Štát</fo:block>
                                                                        </fo:table-cell>
                                                                      </fo:table-row>
                                                                    </fo:table-body>
                                                                  </fo:table>
                                                                  <fo:table table-layout="fixed"
                                                                    width="100%" start-indent="0"
                                                                    end-indent="0">
                                                                    <fo:table-column
                                                                      column-width="100%" />
                                                                    <fo:table-body>
                                                                      <fo:table-row>
                                                                        <fo:table-cell>
                                                                          <xsl:attribute
                                                                            name='padding-left'>2mm</xsl:attribute>
                                                                          <xsl:attribute
                                                                            name='padding-right'>2mm</xsl:attribute>
                                                                          <fo:table
                                                                            table-layout="fixed"
                                                                            width="100%"
                                                                            start-indent="0"
                                                                            end-indent="0">
                                                                            <fo:table-column
                                                                              column-width="100%" />
                                                                            <fo:table-body>
                                                                              <fo:table-row>
                                                                                <fo:table-cell
                                                                                  border="solid 0.6pt"
                                                                                  background-color="white"
                                                                                  padding="1pt">
                                                                                  <fo:block><xsl:call-template
                                                                                      name="FormatText">
                                                                                      <xsl:with-param
                                                                                        name="data"
                                                                                        select="/e:eform/e:UcastnikDoplnujuciKonanie/e:Subjekt[not(@*)]/e:PravnickaOsoba[not(@*)]/e:AdresaSidla[not(@*)]/e:Stat[not(@*)]" />
                                                                                    </xsl:call-template>
    &#160;</fo:block>
                                                                                </fo:table-cell>
                                                                              </fo:table-row>
                                                                            </fo:table-body>
                                                                          </fo:table>
                                                                        </fo:table-cell>
                                                                      </fo:table-row>
                                                                    </fo:table-body>
                                                                  </fo:table>
                                                                </fo:block-container>
                                                              </fo:table-cell>
                                                            </fo:table-row>
                                                          </fo:table-body>
                                                        </fo:table>
                                                      </fo:block-container>
                                                    </fo:block>
                                                  </fo:block>
                                                </fo:block-container>

                                                <!--foBlockForTableEnd--><!--foBlockForTableStart-->

                                                <fo:block-container width="auto">
                                                  <xsl:attribute name='margin-left'>1mm</xsl:attribute>
                                                  <xsl:attribute name='margin-right'>1mm</xsl:attribute>
                                                  <fo:block font-size="12.0pt" font-weight="bold">
                                                    <xsl:attribute name='margin-top'>5mm</xsl:attribute>
                                                    <fo:block margin="5pt">Kontaktné údaje</fo:block>
                                                  </fo:block>
                                                  <fo:block keep-with-previous.within-page="100"
                                                    border-width="0.6pt" border-top-style="solid">
                                                    <fo:block margin="5pt">
                                                      <fo:block-container>
                                                        <fo:table table-layout="fixed" width="100%"
                                                          start-indent="0" end-indent="0">
                                                          <fo:table-column column-width="100%" />
                                                          <fo:table-body>
                                                            <fo:table-row>
                                                              <fo:table-cell>
                                                                <fo:block-container width="50%"
                                                                  keep-together.within-page="100">
                                                                  <xsl:attribute name='margin-top'>
    3mm</xsl:attribute>
                                                                  <xsl:attribute
                                                                    name='margin-bottom'>3mm</xsl:attribute>
                                                                  <!--<xsl:attribute
                                                                  name='margin-right'>3mm</xsl:attribute>-->
                                                                  <fo:table table-layout="fixed"
                                                                    width="100%" start-indent="0"
                                                                    end-indent="0">
                                                                    <fo:table-column
                                                                      column-width="100%" />
                                                                    <fo:table-body>
                                                                      <fo:table-row>
                                                                        <fo:table-cell>
                                                                          <xsl:attribute
                                                                            name='padding-left'>2mm</xsl:attribute>
                                                                          <xsl:attribute
                                                                            name='padding-right'>2mm</xsl:attribute>
                                                                          <fo:block>Telefónne číslo</fo:block>
                                                                        </fo:table-cell>
                                                                      </fo:table-row>
                                                                    </fo:table-body>
                                                                  </fo:table>
                                                                  <fo:table table-layout="fixed"
                                                                    width="100%" start-indent="0"
                                                                    end-indent="0">
                                                                    <fo:table-column
                                                                      column-width="100%" />
                                                                    <fo:table-body>
                                                                      <fo:table-row>
                                                                        <fo:table-cell>
                                                                          <xsl:attribute
                                                                            name='padding-left'>2mm</xsl:attribute>
                                                                          <xsl:attribute
                                                                            name='padding-right'>2mm</xsl:attribute>
                                                                          <fo:table
                                                                            table-layout="fixed"
                                                                            width="100%"
                                                                            start-indent="0"
                                                                            end-indent="0">
                                                                            <fo:table-column
                                                                              column-width="100%" />
                                                                            <fo:table-body>
                                                                              <fo:table-row>
                                                                                <fo:table-cell
                                                                                  border="solid 0.6pt"
                                                                                  background-color="white"
                                                                                  padding="1pt">
                                                                                  <fo:block><xsl:call-template
                                                                                      name="FormatText">
                                                                                      <xsl:with-param
                                                                                        name="data"
                                                                                        select="/e:eform/e:UcastnikDoplnujuciKonanie/e:Subjekt[not(@*)]/e:PravnickaOsoba[not(@*)]/e:KontaktneUdaje[not(@*)]/e:TelefonneCislo[not(@*)]" />
                                                                                    </xsl:call-template>
    &#160;</fo:block>
                                                                                </fo:table-cell>
                                                                              </fo:table-row>
                                                                            </fo:table-body>
                                                                          </fo:table>
                                                                        </fo:table-cell>
                                                                      </fo:table-row>
                                                                    </fo:table-body>
                                                                  </fo:table>
                                                                </fo:block-container>
                                                                <fo:block-container width="50%"
                                                                  keep-together.within-page="100">
                                                                  <xsl:attribute name='margin-top'>
    3mm</xsl:attribute>
                                                                  <xsl:attribute
                                                                    name='margin-bottom'>3mm</xsl:attribute>
                                                                  <!--<xsl:attribute
                                                                  name='margin-right'>3mm</xsl:attribute>-->
                                                                  <fo:table table-layout="fixed"
                                                                    width="100%" start-indent="0"
                                                                    end-indent="0">
                                                                    <fo:table-column
                                                                      column-width="100%" />
                                                                    <fo:table-body>
                                                                      <fo:table-row>
                                                                        <fo:table-cell>
                                                                          <xsl:attribute
                                                                            name='padding-left'>2mm</xsl:attribute>
                                                                          <xsl:attribute
                                                                            name='padding-right'>2mm</xsl:attribute>
                                                                          <fo:block>Emailová adresa</fo:block>
                                                                        </fo:table-cell>
                                                                      </fo:table-row>
                                                                    </fo:table-body>
                                                                  </fo:table>
                                                                  <fo:table table-layout="fixed"
                                                                    width="100%" start-indent="0"
                                                                    end-indent="0">
                                                                    <fo:table-column
                                                                      column-width="100%" />
                                                                    <fo:table-body>
                                                                      <fo:table-row>
                                                                        <fo:table-cell>
                                                                          <xsl:attribute
                                                                            name='padding-left'>2mm</xsl:attribute>
                                                                          <xsl:attribute
                                                                            name='padding-right'>2mm</xsl:attribute>
                                                                          <fo:table
                                                                            table-layout="fixed"
                                                                            width="100%"
                                                                            start-indent="0"
                                                                            end-indent="0">
                                                                            <fo:table-column
                                                                              column-width="100%" />
                                                                            <fo:table-body>
                                                                              <fo:table-row>
                                                                                <fo:table-cell
                                                                                  border="solid 0.6pt"
                                                                                  background-color="white"
                                                                                  padding="1pt">
                                                                                  <fo:block><xsl:call-template
                                                                                      name="FormatText">
                                                                                      <xsl:with-param
                                                                                        name="data"
                                                                                        select="/e:eform/e:UcastnikDoplnujuciKonanie/e:Subjekt[not(@*)]/e:PravnickaOsoba[not(@*)]/e:KontaktneUdaje[not(@*)]/e:EmailovaAdresa[not(@*)]" />
                                                                                    </xsl:call-template>
    &#160;</fo:block>
                                                                                </fo:table-cell>
                                                                              </fo:table-row>
                                                                            </fo:table-body>
                                                                          </fo:table>
                                                                        </fo:table-cell>
                                                                      </fo:table-row>
                                                                    </fo:table-body>
                                                                  </fo:table>
                                                                </fo:block-container>
                                                                <fo:block-container width="50%"
                                                                  keep-together.within-page="100">
                                                                  <xsl:attribute name='margin-top'>
    3mm</xsl:attribute>
                                                                  <xsl:attribute
                                                                    name='margin-bottom'>3mm</xsl:attribute>
                                                                  <!--<xsl:attribute
                                                                  name='margin-right'>3mm</xsl:attribute>-->
                                                                  <fo:table table-layout="fixed"
                                                                    width="100%" start-indent="0"
                                                                    end-indent="0">
                                                                    <fo:table-column
                                                                      column-width="100%" />
                                                                    <fo:table-body>
                                                                      <fo:table-row>
                                                                        <fo:table-cell>
                                                                          <xsl:attribute
                                                                            name='padding-left'>2mm</xsl:attribute>
                                                                          <xsl:attribute
                                                                            name='padding-right'>2mm</xsl:attribute>
                                                                          <fo:block>Číslo
    elektronickej schránky</fo:block>
                                                                        </fo:table-cell>
                                                                      </fo:table-row>
                                                                    </fo:table-body>
                                                                  </fo:table>
                                                                  <fo:table table-layout="fixed"
                                                                    width="100%" start-indent="0"
                                                                    end-indent="0">
                                                                    <fo:table-column
                                                                      column-width="100%" />
                                                                    <fo:table-body>
                                                                      <fo:table-row>
                                                                        <fo:table-cell>
                                                                          <xsl:attribute
                                                                            name='padding-left'>2mm</xsl:attribute>
                                                                          <xsl:attribute
                                                                            name='padding-right'>2mm</xsl:attribute>
                                                                          <fo:table
                                                                            table-layout="fixed"
                                                                            width="100%"
                                                                            start-indent="0"
                                                                            end-indent="0">
                                                                            <fo:table-column
                                                                              column-width="100%" />
                                                                            <fo:table-body>
                                                                              <fo:table-row>
                                                                                <fo:table-cell
                                                                                  border="solid 0.6pt"
                                                                                  background-color="white"
                                                                                  padding="1pt">
                                                                                  <fo:block><xsl:call-template
                                                                                      name="FormatText">
                                                                                      <xsl:with-param
                                                                                        name="data"
                                                                                        select="/e:eform/e:UcastnikDoplnujuciKonanie/e:Subjekt[not(@*)]/e:PravnickaOsoba[not(@*)]/e:KontaktneUdaje[not(@*)]/e:CisloElektronickejSchranky[not(@*)]" />
                                                                                    </xsl:call-template>
    &#160;</fo:block>
                                                                                </fo:table-cell>
                                                                              </fo:table-row>
                                                                            </fo:table-body>
                                                                          </fo:table>
                                                                        </fo:table-cell>
                                                                      </fo:table-row>
                                                                    </fo:table-body>
                                                                  </fo:table>
                                                                </fo:block-container>
                                                                <fo:block-container width="50%"
                                                                  keep-together.within-page="100">
                                                                  <xsl:attribute name='margin-top'>
    3mm</xsl:attribute>
                                                                  <xsl:attribute
                                                                    name='margin-bottom'>3mm</xsl:attribute>
                                                                  <!--<xsl:attribute
                                                                  name='margin-right'>3mm</xsl:attribute>-->
                                                                  <fo:table table-layout="fixed"
                                                                    width="100%" start-indent="0"
                                                                    end-indent="0">
                                                                    <fo:table-column
                                                                      column-width="100%" />
                                                                    <fo:table-body>
                                                                      <fo:table-row>
                                                                        <fo:table-cell>
                                                                          <xsl:attribute
                                                                            name='padding-left'>2mm</xsl:attribute>
                                                                          <xsl:attribute
                                                                            name='padding-right'>2mm</xsl:attribute>
                                                                          <fo:block>Adresa
    elektronickej schránky</fo:block>
                                                                        </fo:table-cell>
                                                                      </fo:table-row>
                                                                    </fo:table-body>
                                                                  </fo:table>
                                                                  <fo:table table-layout="fixed"
                                                                    width="100%" start-indent="0"
                                                                    end-indent="0">
                                                                    <fo:table-column
                                                                      column-width="100%" />
                                                                    <fo:table-body>
                                                                      <fo:table-row>
                                                                        <fo:table-cell>
                                                                          <xsl:attribute
                                                                            name='padding-left'>2mm</xsl:attribute>
                                                                          <xsl:attribute
                                                                            name='padding-right'>2mm</xsl:attribute>
                                                                          <fo:table
                                                                            table-layout="fixed"
                                                                            width="100%"
                                                                            start-indent="0"
                                                                            end-indent="0">
                                                                            <fo:table-column
                                                                              column-width="100%" />
                                                                            <fo:table-body>
                                                                              <fo:table-row>
                                                                                <fo:table-cell
                                                                                  border="solid 0.6pt"
                                                                                  background-color="white"
                                                                                  padding="1pt">
                                                                                  <fo:block><xsl:call-template
                                                                                      name="FormatText">
                                                                                      <xsl:with-param
                                                                                        name="data"
                                                                                        select="/e:eform/e:UcastnikDoplnujuciKonanie/e:Subjekt[not(@*)]/e:PravnickaOsoba[not(@*)]/e:KontaktneUdaje[not(@*)]/e:AdresaElektronickejSchranky[not(@*)]" />
                                                                                    </xsl:call-template>
    &#160;</fo:block>
                                                                                </fo:table-cell>
                                                                              </fo:table-row>
                                                                            </fo:table-body>
                                                                          </fo:table>
                                                                        </fo:table-cell>
                                                                      </fo:table-row>
                                                                    </fo:table-body>
                                                                  </fo:table>
                                                                </fo:block-container>
                                                              </fo:table-cell>
                                                            </fo:table-row>
                                                          </fo:table-body>
                                                        </fo:table>
                                                      </fo:block-container>
                                                    </fo:block>
                                                  </fo:block>
                                                </fo:block-container>

                                                <!--foBlockForTableEnd-->
                                              </fo:table-cell>
                                            </fo:table-row>
                                          </fo:table-body>
                                        </fo:table>
                                      </fo:block-container>
                                    </fo:block>
                                  </fo:block>
                                </fo:block-container>

                                <!--foBlockForTableEnd-->

                              </fo:block>

                            </fo:block-container>
                          </xsl:if>
                          <!--foBlockForTableEnd-->
                        </fo:table-cell>
                      </fo:table-row>
                    </fo:table-body>
                  </fo:table>
                </fo:block-container>
              </fo:block>
            </fo:block>
          </fo:block-container>

          <!--foBlockForTableEnd--><!--foBlockForTableStart-->

          <fo:block-container width="auto">
            <xsl:attribute name='margin-left'>1mm</xsl:attribute>
            <xsl:attribute name='margin-right'>1mm</xsl:attribute>
            <fo:block font-size="12.0pt" font-weight="bold">
              <xsl:attribute name='margin-top'>5mm</xsl:attribute>
              <fo:block margin="5pt">Doplňujúce informácie</fo:block>
            </fo:block>
            <fo:block keep-with-previous.within-page="100" border-width="0.6pt"
              border-top-style="solid">
              <fo:block margin="5pt">
                <fo:block-container>
                  <fo:table table-layout="fixed" width="100%" start-indent="0" end-indent="0">
                    <fo:table-column column-width="100%" />
                    <fo:table-body>
                      <fo:table-row>
                        <fo:table-cell>
                          <fo:block-container width="auto" keep-together.within-page="100">
                            <xsl:attribute name='margin-top'>3mm</xsl:attribute>
                            <xsl:attribute name='margin-bottom'>3mm</xsl:attribute>
                            <!--<xsl:attribute
                            name='margin-right'>3mm</xsl:attribute>-->

                            <fo:table table-layout="fixed" width="100%" start-indent="0"
                              end-indent="0">
                              <fo:table-column column-width="100%" />
                              <fo:table-body>
                                <fo:table-row>
                                  <fo:table-cell>
                                    <xsl:attribute name='padding-left'>2mm</xsl:attribute>
                                    <xsl:attribute name='padding-right'>2mm</xsl:attribute>
                                    <fo:table table-layout="fixed" width="100%" start-indent="0"
                                      end-indent="0">
                                      <fo:table-column column-width="100%" />
                                      <fo:table-body>
                                        <fo:table-row>
                                          <fo:table-cell border="solid 0.6pt"
                                            background-color="white" padding="1pt">
                                            <fo:block><xsl:attribute name="wrap-option">wrap</xsl:attribute>
<xsl:attribute
                                                name='linefeed-treatment'>preserve</xsl:attribute>
<xsl:call-template
                                                name="FormatText">
                                                <xsl:with-param name="data"
                                                  select="/e:eform/e:DoplnujuceInformacie" />
                                              </xsl:call-template>
    &#160;</fo:block>
                                          </fo:table-cell>
                                        </fo:table-row>
                                      </fo:table-body>
                                    </fo:table>
                                  </fo:table-cell>
                                </fo:table-row>
                              </fo:table-body>
                            </fo:table>
                          </fo:block-container>
                        </fo:table-cell>
                      </fo:table-row>
                    </fo:table-body>
                  </fo:table>
                </fo:block-container>
              </fo:block>
            </fo:block>
          </fo:block-container>

          <!--foBlockForTableEnd--><!--foBlockForTableStart-->

          <fo:block-container width="auto">
            <xsl:attribute name='margin-left'>1mm</xsl:attribute>
            <xsl:attribute name='margin-right'>1mm</xsl:attribute>
            <fo:block font-size="12.0pt" font-weight="bold">
              <xsl:attribute name='margin-top'>5mm</xsl:attribute>
              <fo:block margin="5pt">Prílohy</fo:block>
            </fo:block>
            <fo:block keep-with-previous.within-page="100" border-width="0.6pt"
              border-top-style="solid">
              <fo:block margin="5pt">
                <fo:block-container>
                  <fo:table table-layout="fixed" width="100%" start-indent="0" end-indent="0">
                    <fo:table-column column-width="100%" />
                    <fo:table-body>
                      <fo:table-row>
                        <fo:table-cell>
                          <fo:block font-size="9.0pt">
                            <fo:block-container>
                              <fo:table table-layout="fixed" width="100%" start-indent="0"
                                end-indent="0">
                                <fo:table-column column-width="100%" />
                                <fo:table-body>
                                  <fo:table-row>
                                    <fo:table-cell>

                                      <xsl:choose>
                                        <xsl:when
                                          test="/e:eform/e:Prilohy[not(@*)]/e:Priloha[not(@*)]">
                                          <xsl:for-each
                                            select="/e:eform/e:Prilohy[not(@*)]/e:Priloha[not(@*)]">

                                            <fo:block>

                                              <!--foBlockForTableStart-->
                                              <xsl:if test="./e:TypPrilohy[not(@*)] = 'PRILOHA'">
                                                <fo:block-container width="auto">

                                                  <fo:block>


                                                    <!--foBlockForTableStart-->

                                                    <fo:block-container width="auto">
                                                      <xsl:attribute name='margin-left'>1mm</xsl:attribute>
                                                      <xsl:attribute name='margin-right'>1mm</xsl:attribute>
                                                      <fo:block font-size="12.0pt"
                                                        font-weight="bold">
                                                        <xsl:attribute name='margin-top'>5mm</xsl:attribute>
                                                        <fo:block margin="5pt">Príloha</fo:block>
                                                      </fo:block>
                                                      <fo:block keep-with-previous.within-page="100"
                                                        border-width="0.6pt"
                                                        border-top-style="solid">
                                                        <fo:block margin="5pt">
                                                          <fo:block-container>
                                                            <fo:table table-layout="fixed"
                                                              width="100%" start-indent="0"
                                                              end-indent="0">
                                                              <fo:table-column column-width="100%" />
                                                              <fo:table-body>
                                                                <fo:table-row>
                                                                  <fo:table-cell>
                                                                    <fo:block-container width="auto"
                                                                      keep-together.within-page="100">
                                                                      <xsl:attribute
                                                                        name='margin-top'>3mm</xsl:attribute>
                                                                      <xsl:attribute
                                                                        name='margin-bottom'>3mm</xsl:attribute>
                                                                      <!--<xsl:attribute
                                                                      name='margin-right'>3mm</xsl:attribute>-->
                                                                      <fo:table table-layout="fixed"
                                                                        width="100%"
                                                                        start-indent="0"
                                                                        end-indent="0">
                                                                        <fo:table-column
                                                                          column-width="100%" />
                                                                        <fo:table-body>
                                                                          <fo:table-row>
                                                                            <fo:table-cell>
                                                                              <xsl:attribute
                                                                                name='padding-left'>
    2mm</xsl:attribute>
                                                                              <xsl:attribute
                                                                                name='padding-right'>
    2mm</xsl:attribute>
                                                                              <fo:block>Popis
    prílohy</fo:block>
                                                                            </fo:table-cell>
                                                                          </fo:table-row>
                                                                        </fo:table-body>
                                                                      </fo:table>
                                                                      <fo:table table-layout="fixed"
                                                                        width="100%"
                                                                        start-indent="0"
                                                                        end-indent="0">
                                                                        <fo:table-column
                                                                          column-width="100%" />
                                                                        <fo:table-body>
                                                                          <fo:table-row>
                                                                            <fo:table-cell>
                                                                              <xsl:attribute
                                                                                name='padding-left'>
    2mm</xsl:attribute>
                                                                              <xsl:attribute
                                                                                name='padding-right'>
    2mm</xsl:attribute>
                                                                              <fo:table
                                                                                table-layout="fixed"
                                                                                width="100%"
                                                                                start-indent="0"
                                                                                end-indent="0">
                                                                                <fo:table-column
                                                                                  column-width="100%" />
                                                                                <fo:table-body>
                                                                                  <fo:table-row>
                                                                                    <fo:table-cell
                                                                                      border="solid 0.6pt"
                                                                                      background-color="white"
                                                                                      padding="1pt">
                                                                                      <fo:block><xsl:call-template
                                                                                          name="FormatText">
                                                                                          <xsl:with-param
                                                                                            name="data"
                                                                                            select="./e:Popis[not(@*)]" />
                                                                                        </xsl:call-template>
    &#160;</fo:block>
                                                                                    </fo:table-cell>
                                                                                  </fo:table-row>
                                                                                </fo:table-body>
                                                                              </fo:table>
                                                                            </fo:table-cell>
                                                                          </fo:table-row>
                                                                        </fo:table-body>
                                                                      </fo:table>
                                                                    </fo:block-container>
                                                                    <fo:block-container
                                                                      keep-together.within-page="100">
                                                                      <xsl:attribute
                                                                        name='margin-top'>3mm</xsl:attribute>
                                                                      <xsl:attribute
                                                                        name='margin-bottom'>3mm</xsl:attribute>
                                                                      <!--<xsl:attribute
                                                                      name='margin-right'>3mm</xsl:attribute>-->
                                                                      <fo:table table-layout="fixed"
                                                                        width="100%"
                                                                        start-indent="0"
                                                                        end-indent="0">
                                                                        <fo:table-column
                                                                          column-width="100%" />
                                                                        <fo:table-body>
                                                                          <fo:table-row>
                                                                            <fo:table-cell>
                                                                              <xsl:attribute
                                                                                name='padding-left'>
    2mm</xsl:attribute>
                                                                              <xsl:attribute
                                                                                name='padding-right'>
    2mm</xsl:attribute>
                                                                              <fo:table
                                                                                table-layout="fixed"
                                                                                width="100%"
                                                                                display-align="center">
                                                                                <fo:table-column
                                                                                  column-width="18.6pt" />
                                                                                <fo:table-column
                                                                                  column-width="100% - 18.6pt" />
                                                                                <fo:table-body>
                                                                                  <fo:table-row>
                                                                                    <fo:table-cell
                                                                                      background-color="white">
                                                                                      <fo:block>
                                                                                        <fo:instream-foreign-object>
                                                                                          <xsl:choose>
                                                                                            <xsl:when
                                                                                              test="./e:Povinna[not(@*)] = 'true'">
                                                                                              <svg:svg
                                                                                                xmlns="http://www.w3.org/2000/svg"
                                                                                                width="10"
                                                                                                height="10"
                                                                                                viewBox="0 0 24 24">
                                                                                                <svg:path
                                                                                                  d="M11 17l-5-5.299 1.399-1.43 3.574 3.736 6.572-7.007 1.455 1.403-8 8.597zm11-15v20h-20v-20h20zm2-2h-24v24h24v-24z" />
                                                                                              </svg:svg>
                                                                                            </xsl:when>
                                                                                            <xsl:otherwise>
                                                                                              <svg:svg
                                                                                                xmlns="http://www.w3.org/2000/svg"
                                                                                                width="10"
                                                                                                height="10"
                                                                                                viewBox="0 0 24 24">
                                                                                                <svg:path
                                                                                                  d="M22 2v20h-20v-20h20zm2-2h-24v24h24v-24z" />
                                                                                              </svg:svg>
                                                                                            </xsl:otherwise>
                                                                                          </xsl:choose>
                                                                                        </fo:instream-foreign-object>
                                                                                      </fo:block>
                                                                                    </fo:table-cell>
                                                                                    <fo:table-cell>
                                                                                      <fo:block>Povinná
    príloha</fo:block>
                                                                                    </fo:table-cell>
                                                                                  </fo:table-row>
                                                                                </fo:table-body>
                                                                              </fo:table>
                                                                            </fo:table-cell>
                                                                          </fo:table-row>
                                                                        </fo:table-body>
                                                                      </fo:table>
                                                                    </fo:block-container>
                                                                    <fo:block-container
                                                                      keep-together.within-page="100">
                                                                      <xsl:attribute
                                                                        name='margin-top'>3mm</xsl:attribute>
                                                                      <xsl:attribute
                                                                        name='margin-bottom'>3mm</xsl:attribute>
                                                                      <!--<xsl:attribute
                                                                      name='margin-right'>3mm</xsl:attribute>-->
                                                                      <fo:table table-layout="fixed"
                                                                        width="100%"
                                                                        start-indent="0"
                                                                        end-indent="0">
                                                                        <fo:table-column
                                                                          column-width="100%" />
                                                                        <fo:table-body>
                                                                          <fo:table-row>
                                                                            <fo:table-cell>
                                                                              <xsl:attribute
                                                                                name='padding-left'>
    2mm</xsl:attribute>
                                                                              <xsl:attribute
                                                                                name='padding-right'>
    2mm</xsl:attribute>
                                                                              <fo:table
                                                                                table-layout="fixed"
                                                                                width="100%"
                                                                                display-align="center">
                                                                                <fo:table-column
                                                                                  column-width="18.6pt" />
                                                                                <fo:table-column
                                                                                  column-width="100% - 18.6pt" />
                                                                                <fo:table-body>
                                                                                  <fo:table-row>
                                                                                    <fo:table-cell
                                                                                      background-color="white">
                                                                                      <fo:block>
                                                                                        <fo:instream-foreign-object>
                                                                                          <xsl:choose>
                                                                                            <xsl:when
                                                                                              test="./e:Podpisana[not(@*)] = 'true'">
                                                                                              <svg:svg
                                                                                                xmlns="http://www.w3.org/2000/svg"
                                                                                                width="10"
                                                                                                height="10"
                                                                                                viewBox="0 0 24 24">
                                                                                                <svg:path
                                                                                                  d="M11 17l-5-5.299 1.399-1.43 3.574 3.736 6.572-7.007 1.455 1.403-8 8.597zm11-15v20h-20v-20h20zm2-2h-24v24h24v-24z" />
                                                                                              </svg:svg>
                                                                                            </xsl:when>
                                                                                            <xsl:otherwise>
                                                                                              <svg:svg
                                                                                                xmlns="http://www.w3.org/2000/svg"
                                                                                                width="10"
                                                                                                height="10"
                                                                                                viewBox="0 0 24 24">
                                                                                                <svg:path
                                                                                                  d="M22 2v20h-20v-20h20zm2-2h-24v24h24v-24z" />
                                                                                              </svg:svg>
                                                                                            </xsl:otherwise>
                                                                                          </xsl:choose>
                                                                                        </fo:instream-foreign-object>
                                                                                      </fo:block>
                                                                                    </fo:table-cell>
                                                                                    <fo:table-cell>
                                                                                      <fo:block>Podpísaná
    príloha</fo:block>
                                                                                    </fo:table-cell>
                                                                                  </fo:table-row>
                                                                                </fo:table-body>
                                                                              </fo:table>
                                                                            </fo:table-cell>
                                                                          </fo:table-row>
                                                                        </fo:table-body>
                                                                      </fo:table>
                                                                    </fo:block-container><!--foBlockForTableStart-->

                                                                    <fo:block-container width="auto">
                                                                      <xsl:attribute
                                                                        name='margin-left'>1mm</xsl:attribute>
                                                                      <xsl:attribute
                                                                        name='margin-right'>1mm</xsl:attribute>
                                                                      <fo:block font-size="12.0pt"
                                                                        font-weight="bold">
                                                                        <xsl:attribute
                                                                          name='margin-top'>5mm</xsl:attribute>
                                                                        <fo:block margin="5pt">Technické
    údaje o prílohe</fo:block>
                                                                      </fo:block>
                                                                      <fo:block
                                                                        keep-with-previous.within-page="100"
                                                                        border-width="0.6pt"
                                                                        border-top-style="solid">
                                                                        <fo:block margin="5pt">
                                                                          <fo:block-container>
                                                                            <fo:table
                                                                              table-layout="fixed"
                                                                              width="100%"
                                                                              start-indent="0"
                                                                              end-indent="0">
                                                                              <fo:table-column
                                                                                column-width="100%" />
                                                                              <fo:table-body>
                                                                                <fo:table-row>
                                                                                  <fo:table-cell>
                                                                                    <fo:block-container
                                                                                      width="auto"
                                                                                      keep-together.within-page="100">
                                                                                      <xsl:attribute
                                                                                        name='margin-top'>
    3mm</xsl:attribute>
                                                                                      <xsl:attribute
                                                                                        name='margin-bottom'>
    3mm</xsl:attribute>
                                                                                      <!--<xsl:attribute
                                                                                      name='margin-right'>3mm</xsl:attribute>-->
                                                                                      <fo:table
                                                                                        table-layout="fixed"
                                                                                        width="100%"
                                                                                        start-indent="0"
                                                                                        end-indent="0">
                                                                                        <fo:table-column
                                                                                          column-width="100%" />
                                                                                        <fo:table-body>
                                                                                          <fo:table-row>
                                                                                            <fo:table-cell>
                                                                                              <xsl:attribute
                                                                                                name='padding-left'>
    2mm</xsl:attribute>
                                                                                              <xsl:attribute
                                                                                                name='padding-right'>
    2mm</xsl:attribute>
                                                                                              <fo:block>Názov
    súboru</fo:block>
                                                                                            </fo:table-cell>
                                                                                          </fo:table-row>
                                                                                        </fo:table-body>
                                                                                      </fo:table>
                                                                                      <fo:table
                                                                                        table-layout="fixed"
                                                                                        width="100%"
                                                                                        start-indent="0"
                                                                                        end-indent="0">
                                                                                        <fo:table-column
                                                                                          column-width="100%" />
                                                                                        <fo:table-body>
                                                                                          <fo:table-row>
                                                                                            <fo:table-cell>
                                                                                              <xsl:attribute
                                                                                                name='padding-left'>
    2mm</xsl:attribute>
                                                                                              <xsl:attribute
                                                                                                name='padding-right'>
    2mm</xsl:attribute>
                                                                                              <fo:table
                                                                                                table-layout="fixed"
                                                                                                width="100%"
                                                                                                start-indent="0"
                                                                                                end-indent="0">
                                                                                                <fo:table-column
                                                                                                  column-width="100%" />
                                                                                                <fo:table-body>
                                                                                                  <fo:table-row>
                                                                                                    <fo:table-cell
                                                                                                      border="solid 0.6pt"
                                                                                                      background-color="white"
                                                                                                      padding="1pt">
                                                                                                      <fo:block><xsl:call-template
                                                                                                          name="FormatText">
                                                                                                          <xsl:with-param
                                                                                                            name="data"
                                                                                                            select="./e:Subor[not(@*)]/e:Nazov[not(@*)]" />
                                                                                                        </xsl:call-template>
    &#160;</fo:block>
                                                                                                    </fo:table-cell>
                                                                                                  </fo:table-row>
                                                                                                </fo:table-body>
                                                                                              </fo:table>
                                                                                            </fo:table-cell>
                                                                                          </fo:table-row>
                                                                                        </fo:table-body>
                                                                                      </fo:table>
                                                                                    </fo:block-container>
                                                                                    <fo:block-container
                                                                                      width="auto"
                                                                                      keep-together.within-page="100">
                                                                                      <xsl:attribute
                                                                                        name='margin-top'>
    3mm</xsl:attribute>
                                                                                      <xsl:attribute
                                                                                        name='margin-bottom'>
    3mm</xsl:attribute>
                                                                                      <!--<xsl:attribute
                                                                                      name='margin-right'>3mm</xsl:attribute>-->
                                                                                      <fo:table
                                                                                        table-layout="fixed"
                                                                                        width="100%"
                                                                                        start-indent="0"
                                                                                        end-indent="0">
                                                                                        <fo:table-column
                                                                                          column-width="100%" />
                                                                                        <fo:table-body>
                                                                                          <fo:table-row>
                                                                                            <fo:table-cell>
                                                                                              <xsl:attribute
                                                                                                name='padding-left'>
    2mm</xsl:attribute>
                                                                                              <xsl:attribute
                                                                                                name='padding-right'>
    2mm</xsl:attribute>
                                                                                              <fo:block>Kontrolný
    súčet súboru</fo:block>
                                                                                            </fo:table-cell>
                                                                                          </fo:table-row>
                                                                                        </fo:table-body>
                                                                                      </fo:table>
                                                                                      <fo:table
                                                                                        table-layout="fixed"
                                                                                        width="100%"
                                                                                        start-indent="0"
                                                                                        end-indent="0">
                                                                                        <fo:table-column
                                                                                          column-width="100%" />
                                                                                        <fo:table-body>
                                                                                          <fo:table-row>
                                                                                            <fo:table-cell>
                                                                                              <xsl:attribute
                                                                                                name='padding-left'>
    2mm</xsl:attribute>
                                                                                              <xsl:attribute
                                                                                                name='padding-right'>
    2mm</xsl:attribute>
                                                                                              <fo:table
                                                                                                table-layout="fixed"
                                                                                                width="100%"
                                                                                                start-indent="0"
                                                                                                end-indent="0">
                                                                                                <fo:table-column
                                                                                                  column-width="100%" />
                                                                                                <fo:table-body>
                                                                                                  <fo:table-row>
                                                                                                    <fo:table-cell
                                                                                                      border="solid 0.6pt"
                                                                                                      background-color="white"
                                                                                                      padding="1pt">
                                                                                                      <fo:block><xsl:call-template
                                                                                                          name="FormatText">
                                                                                                          <xsl:with-param
                                                                                                            name="data"
                                                                                                            select="./e:Subor[not(@*)]/e:KontrolnySucet[not(@*)]" />
                                                                                                        </xsl:call-template>
    &#160;</fo:block>
                                                                                                    </fo:table-cell>
                                                                                                  </fo:table-row>
                                                                                                </fo:table-body>
                                                                                              </fo:table>
                                                                                            </fo:table-cell>
                                                                                          </fo:table-row>
                                                                                        </fo:table-body>
                                                                                      </fo:table>
                                                                                    </fo:block-container>
                                                                                  </fo:table-cell>
                                                                                </fo:table-row>
                                                                              </fo:table-body>
                                                                            </fo:table>
                                                                          </fo:block-container>
                                                                        </fo:block>
                                                                      </fo:block>
                                                                    </fo:block-container>

                                                                    <!--foBlockForTableEnd-->
                                                                  </fo:table-cell>
                                                                </fo:table-row>
                                                              </fo:table-body>
                                                            </fo:table>
                                                          </fo:block-container>
                                                        </fo:block>
                                                      </fo:block>
                                                    </fo:block-container>

                                                    <!--foBlockForTableEnd-->

                                                  </fo:block>

                                                </fo:block-container>
                                              </xsl:if>
                                              <!--foBlockForTableEnd-->

                                            </fo:block>

                                          </xsl:for-each>
                                        </xsl:when>
                                        <xsl:otherwise>

                                          <fo:block>

                                            <!--foBlockForTableStart-->
                                            <xsl:if test="./e:TypPrilohy[not(@*)] = 'PRILOHA'">
                                              <fo:block-container width="auto">

                                                <fo:block>


                                                  <!--foBlockForTableStart-->

                                                  <fo:block-container width="auto">
                                                    <xsl:attribute name='margin-left'>1mm</xsl:attribute>
                                                    <xsl:attribute name='margin-right'>1mm</xsl:attribute>
                                                    <fo:block font-size="12.0pt" font-weight="bold">
                                                      <xsl:attribute name='margin-top'>5mm</xsl:attribute>
                                                      <fo:block margin="5pt">Príloha</fo:block>
                                                    </fo:block>
                                                    <fo:block keep-with-previous.within-page="100"
                                                      border-width="0.6pt" border-top-style="solid">
                                                      <fo:block margin="5pt">
                                                        <fo:block-container>
                                                          <fo:table table-layout="fixed"
                                                            width="100%" start-indent="0"
                                                            end-indent="0">
                                                            <fo:table-column column-width="100%" />
                                                            <fo:table-body>
                                                              <fo:table-row>
                                                                <fo:table-cell>
                                                                  <fo:block-container width="auto"
                                                                    keep-together.within-page="100">
                                                                    <xsl:attribute name='margin-top'>
    3mm</xsl:attribute>
                                                                    <xsl:attribute
                                                                      name='margin-bottom'>3mm</xsl:attribute>
                                                                    <!--<xsl:attribute
                                                                    name='margin-right'>3mm</xsl:attribute>-->
                                                                    <fo:table table-layout="fixed"
                                                                      width="100%" start-indent="0"
                                                                      end-indent="0">
                                                                      <fo:table-column
                                                                        column-width="100%" />
                                                                      <fo:table-body>
                                                                        <fo:table-row>
                                                                          <fo:table-cell>
                                                                            <xsl:attribute
                                                                              name='padding-left'>
    2mm</xsl:attribute>
                                                                            <xsl:attribute
                                                                              name='padding-right'>
    2mm</xsl:attribute>
                                                                            <fo:block>Popis prílohy</fo:block>
                                                                          </fo:table-cell>
                                                                        </fo:table-row>
                                                                      </fo:table-body>
                                                                    </fo:table>
                                                                    <fo:table table-layout="fixed"
                                                                      width="100%" start-indent="0"
                                                                      end-indent="0">
                                                                      <fo:table-column
                                                                        column-width="100%" />
                                                                      <fo:table-body>
                                                                        <fo:table-row>
                                                                          <fo:table-cell>
                                                                            <xsl:attribute
                                                                              name='padding-left'>
    2mm</xsl:attribute>
                                                                            <xsl:attribute
                                                                              name='padding-right'>
    2mm</xsl:attribute>
                                                                            <fo:table
                                                                              table-layout="fixed"
                                                                              width="100%"
                                                                              start-indent="0"
                                                                              end-indent="0">
                                                                              <fo:table-column
                                                                                column-width="100%" />
                                                                              <fo:table-body>
                                                                                <fo:table-row>
                                                                                  <fo:table-cell
                                                                                    border="solid 0.6pt"
                                                                                    background-color="white"
                                                                                    padding="1pt">
                                                                                    <fo:block><xsl:call-template
                                                                                        name="FormatText">
                                                                                        <xsl:with-param
                                                                                          name="data"
                                                                                          select="./e:Popis[not(@*)]" />
                                                                                      </xsl:call-template>
    &#160;</fo:block>
                                                                                  </fo:table-cell>
                                                                                </fo:table-row>
                                                                              </fo:table-body>
                                                                            </fo:table>
                                                                          </fo:table-cell>
                                                                        </fo:table-row>
                                                                      </fo:table-body>
                                                                    </fo:table>
                                                                  </fo:block-container>
                                                                  <fo:block-container
                                                                    keep-together.within-page="100">
                                                                    <xsl:attribute name='margin-top'>
    3mm</xsl:attribute>
                                                                    <xsl:attribute
                                                                      name='margin-bottom'>3mm</xsl:attribute>
                                                                    <!--<xsl:attribute
                                                                    name='margin-right'>3mm</xsl:attribute>-->
                                                                    <fo:table table-layout="fixed"
                                                                      width="100%" start-indent="0"
                                                                      end-indent="0">
                                                                      <fo:table-column
                                                                        column-width="100%" />
                                                                      <fo:table-body>
                                                                        <fo:table-row>
                                                                          <fo:table-cell>
                                                                            <xsl:attribute
                                                                              name='padding-left'>
    2mm</xsl:attribute>
                                                                            <xsl:attribute
                                                                              name='padding-right'>
    2mm</xsl:attribute>
                                                                            <fo:table
                                                                              table-layout="fixed"
                                                                              width="100%"
                                                                              display-align="center">
                                                                              <fo:table-column
                                                                                column-width="18.6pt" />
                                                                              <fo:table-column
                                                                                column-width="100% - 18.6pt" />
                                                                              <fo:table-body>
                                                                                <fo:table-row>
                                                                                  <fo:table-cell
                                                                                    background-color="white">
                                                                                    <fo:block>
                                                                                      <fo:instream-foreign-object>
                                                                                        <xsl:choose>
                                                                                          <xsl:when
                                                                                            test="./e:Povinna[not(@*)] = 'true'">
                                                                                            <svg:svg
                                                                                              xmlns="http://www.w3.org/2000/svg"
                                                                                              width="10"
                                                                                              height="10"
                                                                                              viewBox="0 0 24 24">
                                                                                              <svg:path
                                                                                                d="M11 17l-5-5.299 1.399-1.43 3.574 3.736 6.572-7.007 1.455 1.403-8 8.597zm11-15v20h-20v-20h20zm2-2h-24v24h24v-24z" />
                                                                                            </svg:svg>
                                                                                          </xsl:when>
                                                                                          <xsl:otherwise>
                                                                                            <svg:svg
                                                                                              xmlns="http://www.w3.org/2000/svg"
                                                                                              width="10"
                                                                                              height="10"
                                                                                              viewBox="0 0 24 24">
                                                                                              <svg:path
                                                                                                d="M22 2v20h-20v-20h20zm2-2h-24v24h24v-24z" />
                                                                                            </svg:svg>
                                                                                          </xsl:otherwise>
                                                                                        </xsl:choose>
                                                                                      </fo:instream-foreign-object>
                                                                                    </fo:block>
                                                                                  </fo:table-cell>
                                                                                  <fo:table-cell>
                                                                                    <fo:block>Povinná
    príloha</fo:block>
                                                                                  </fo:table-cell>
                                                                                </fo:table-row>
                                                                              </fo:table-body>
                                                                            </fo:table>
                                                                          </fo:table-cell>
                                                                        </fo:table-row>
                                                                      </fo:table-body>
                                                                    </fo:table>
                                                                  </fo:block-container>
                                                                  <fo:block-container
                                                                    keep-together.within-page="100">
                                                                    <xsl:attribute name='margin-top'>
    3mm</xsl:attribute>
                                                                    <xsl:attribute
                                                                      name='margin-bottom'>3mm</xsl:attribute>
                                                                    <!--<xsl:attribute
                                                                    name='margin-right'>3mm</xsl:attribute>-->
                                                                    <fo:table table-layout="fixed"
                                                                      width="100%" start-indent="0"
                                                                      end-indent="0">
                                                                      <fo:table-column
                                                                        column-width="100%" />
                                                                      <fo:table-body>
                                                                        <fo:table-row>
                                                                          <fo:table-cell>
                                                                            <xsl:attribute
                                                                              name='padding-left'>
    2mm</xsl:attribute>
                                                                            <xsl:attribute
                                                                              name='padding-right'>
    2mm</xsl:attribute>
                                                                            <fo:table
                                                                              table-layout="fixed"
                                                                              width="100%"
                                                                              display-align="center">
                                                                              <fo:table-column
                                                                                column-width="18.6pt" />
                                                                              <fo:table-column
                                                                                column-width="100% - 18.6pt" />
                                                                              <fo:table-body>
                                                                                <fo:table-row>
                                                                                  <fo:table-cell
                                                                                    background-color="white">
                                                                                    <fo:block>
                                                                                      <fo:instream-foreign-object>
                                                                                        <xsl:choose>
                                                                                          <xsl:when
                                                                                            test="./e:Podpisana[not(@*)] = 'true'">
                                                                                            <svg:svg
                                                                                              xmlns="http://www.w3.org/2000/svg"
                                                                                              width="10"
                                                                                              height="10"
                                                                                              viewBox="0 0 24 24">
                                                                                              <svg:path
                                                                                                d="M11 17l-5-5.299 1.399-1.43 3.574 3.736 6.572-7.007 1.455 1.403-8 8.597zm11-15v20h-20v-20h20zm2-2h-24v24h24v-24z" />
                                                                                            </svg:svg>
                                                                                          </xsl:when>
                                                                                          <xsl:otherwise>
                                                                                            <svg:svg
                                                                                              xmlns="http://www.w3.org/2000/svg"
                                                                                              width="10"
                                                                                              height="10"
                                                                                              viewBox="0 0 24 24">
                                                                                              <svg:path
                                                                                                d="M22 2v20h-20v-20h20zm2-2h-24v24h24v-24z" />
                                                                                            </svg:svg>
                                                                                          </xsl:otherwise>
                                                                                        </xsl:choose>
                                                                                      </fo:instream-foreign-object>
                                                                                    </fo:block>
                                                                                  </fo:table-cell>
                                                                                  <fo:table-cell>
                                                                                    <fo:block>Podpísaná
    príloha</fo:block>
                                                                                  </fo:table-cell>
                                                                                </fo:table-row>
                                                                              </fo:table-body>
                                                                            </fo:table>
                                                                          </fo:table-cell>
                                                                        </fo:table-row>
                                                                      </fo:table-body>
                                                                    </fo:table>
                                                                  </fo:block-container><!--foBlockForTableStart-->

                                                                  <fo:block-container width="auto">
                                                                    <xsl:attribute
                                                                      name='margin-left'>1mm</xsl:attribute>
                                                                    <xsl:attribute
                                                                      name='margin-right'>1mm</xsl:attribute>
                                                                    <fo:block font-size="12.0pt"
                                                                      font-weight="bold">
                                                                      <xsl:attribute
                                                                        name='margin-top'>5mm</xsl:attribute>
                                                                      <fo:block margin="5pt">Technické
    údaje o prílohe</fo:block>
                                                                    </fo:block>
                                                                    <fo:block
                                                                      keep-with-previous.within-page="100"
                                                                      border-width="0.6pt"
                                                                      border-top-style="solid">
                                                                      <fo:block margin="5pt">
                                                                        <fo:block-container>
                                                                          <fo:table
                                                                            table-layout="fixed"
                                                                            width="100%"
                                                                            start-indent="0"
                                                                            end-indent="0">
                                                                            <fo:table-column
                                                                              column-width="100%" />
                                                                            <fo:table-body>
                                                                              <fo:table-row>
                                                                                <fo:table-cell>
                                                                                  <fo:block-container
                                                                                    width="auto"
                                                                                    keep-together.within-page="100">
                                                                                    <xsl:attribute
                                                                                      name='margin-top'>
    3mm</xsl:attribute>
                                                                                    <xsl:attribute
                                                                                      name='margin-bottom'>
    3mm</xsl:attribute>
                                                                                    <!--<xsl:attribute
                                                                                    name='margin-right'>3mm</xsl:attribute>-->
                                                                                    <fo:table
                                                                                      table-layout="fixed"
                                                                                      width="100%"
                                                                                      start-indent="0"
                                                                                      end-indent="0">
                                                                                      <fo:table-column
                                                                                        column-width="100%" />
                                                                                      <fo:table-body>
                                                                                        <fo:table-row>
                                                                                          <fo:table-cell>
                                                                                            <xsl:attribute
                                                                                              name='padding-left'>
    2mm</xsl:attribute>
                                                                                            <xsl:attribute
                                                                                              name='padding-right'>
    2mm</xsl:attribute>
                                                                                            <fo:block>Názov
    súboru</fo:block>
                                                                                          </fo:table-cell>
                                                                                        </fo:table-row>
                                                                                      </fo:table-body>
                                                                                    </fo:table>
                                                                                    <fo:table
                                                                                      table-layout="fixed"
                                                                                      width="100%"
                                                                                      start-indent="0"
                                                                                      end-indent="0">
                                                                                      <fo:table-column
                                                                                        column-width="100%" />
                                                                                      <fo:table-body>
                                                                                        <fo:table-row>
                                                                                          <fo:table-cell>
                                                                                            <xsl:attribute
                                                                                              name='padding-left'>
    2mm</xsl:attribute>
                                                                                            <xsl:attribute
                                                                                              name='padding-right'>
    2mm</xsl:attribute>
                                                                                            <fo:table
                                                                                              table-layout="fixed"
                                                                                              width="100%"
                                                                                              start-indent="0"
                                                                                              end-indent="0">
                                                                                              <fo:table-column
                                                                                                column-width="100%" />
                                                                                              <fo:table-body>
                                                                                                <fo:table-row>
                                                                                                  <fo:table-cell
                                                                                                    border="solid 0.6pt"
                                                                                                    background-color="white"
                                                                                                    padding="1pt">
                                                                                                    <fo:block><xsl:call-template
                                                                                                        name="FormatText">
                                                                                                        <xsl:with-param
                                                                                                          name="data"
                                                                                                          select="./e:Subor[not(@*)]/e:Nazov[not(@*)]" />
                                                                                                      </xsl:call-template>
    &#160;</fo:block>
                                                                                                  </fo:table-cell>
                                                                                                </fo:table-row>
                                                                                              </fo:table-body>
                                                                                            </fo:table>
                                                                                          </fo:table-cell>
                                                                                        </fo:table-row>
                                                                                      </fo:table-body>
                                                                                    </fo:table>
                                                                                  </fo:block-container>
                                                                                  <fo:block-container
                                                                                    width="auto"
                                                                                    keep-together.within-page="100">
                                                                                    <xsl:attribute
                                                                                      name='margin-top'>
    3mm</xsl:attribute>
                                                                                    <xsl:attribute
                                                                                      name='margin-bottom'>
    3mm</xsl:attribute>
                                                                                    <!--<xsl:attribute
                                                                                    name='margin-right'>3mm</xsl:attribute>-->
                                                                                    <fo:table
                                                                                      table-layout="fixed"
                                                                                      width="100%"
                                                                                      start-indent="0"
                                                                                      end-indent="0">
                                                                                      <fo:table-column
                                                                                        column-width="100%" />
                                                                                      <fo:table-body>
                                                                                        <fo:table-row>
                                                                                          <fo:table-cell>
                                                                                            <xsl:attribute
                                                                                              name='padding-left'>
    2mm</xsl:attribute>
                                                                                            <xsl:attribute
                                                                                              name='padding-right'>
    2mm</xsl:attribute>
                                                                                            <fo:block>Kontrolný
    súčet súboru</fo:block>
                                                                                          </fo:table-cell>
                                                                                        </fo:table-row>
                                                                                      </fo:table-body>
                                                                                    </fo:table>
                                                                                    <fo:table
                                                                                      table-layout="fixed"
                                                                                      width="100%"
                                                                                      start-indent="0"
                                                                                      end-indent="0">
                                                                                      <fo:table-column
                                                                                        column-width="100%" />
                                                                                      <fo:table-body>
                                                                                        <fo:table-row>
                                                                                          <fo:table-cell>
                                                                                            <xsl:attribute
                                                                                              name='padding-left'>
    2mm</xsl:attribute>
                                                                                            <xsl:attribute
                                                                                              name='padding-right'>
    2mm</xsl:attribute>
                                                                                            <fo:table
                                                                                              table-layout="fixed"
                                                                                              width="100%"
                                                                                              start-indent="0"
                                                                                              end-indent="0">
                                                                                              <fo:table-column
                                                                                                column-width="100%" />
                                                                                              <fo:table-body>
                                                                                                <fo:table-row>
                                                                                                  <fo:table-cell
                                                                                                    border="solid 0.6pt"
                                                                                                    background-color="white"
                                                                                                    padding="1pt">
                                                                                                    <fo:block><xsl:call-template
                                                                                                        name="FormatText">
                                                                                                        <xsl:with-param
                                                                                                          name="data"
                                                                                                          select="./e:Subor[not(@*)]/e:KontrolnySucet[not(@*)]" />
                                                                                                      </xsl:call-template>
    &#160;</fo:block>
                                                                                                  </fo:table-cell>
                                                                                                </fo:table-row>
                                                                                              </fo:table-body>
                                                                                            </fo:table>
                                                                                          </fo:table-cell>
                                                                                        </fo:table-row>
                                                                                      </fo:table-body>
                                                                                    </fo:table>
                                                                                  </fo:block-container>
                                                                                </fo:table-cell>
                                                                              </fo:table-row>
                                                                            </fo:table-body>
                                                                          </fo:table>
                                                                        </fo:block-container>
                                                                      </fo:block>
                                                                    </fo:block>
                                                                  </fo:block-container>

                                                                  <!--foBlockForTableEnd-->
                                                                </fo:table-cell>
                                                              </fo:table-row>
                                                            </fo:table-body>
                                                          </fo:table>
                                                        </fo:block-container>
                                                      </fo:block>
                                                    </fo:block>
                                                  </fo:block-container>

                                                  <!--foBlockForTableEnd-->

                                                </fo:block>

                                              </fo:block-container>
                                            </xsl:if>
                                            <!--foBlockForTableEnd-->

                                          </fo:block>

                                        </xsl:otherwise>
                                      </xsl:choose>
                                    </fo:table-cell>
                                  </fo:table-row>
                                </fo:table-body>
                              </fo:table>
                            </fo:block-container>
                          </fo:block>
                        </fo:table-cell>
                      </fo:table-row>
                    </fo:table-body>
                  </fo:table>
                </fo:block-container>
              </fo:block>
            </fo:block>
          </fo:block-container>

          <!--foBlockForTableEnd-->
          <fo:block id="end" />
        </fo:flow>
      </fo:page-sequence>
    </fo:root>
  </xsl:template>
</xsl:stylesheet>