<?xml version="1.0" encoding="windows-1251"?>
<xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" exclude-result-prefixes="fo">
	<xsl:output method="xml" version="1.0" omit-xml-declaration="no" indent="yes"/>
	<xsl:template match="DECLARBODY">
		<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
			<fo:layout-master-set>
				<fo:simple-page-master margin-right="0.5cm" margin-left="2cm" margin-bottom="1cm" margin-top="0.5cm" page-width="21cm" page-height="29.7cm" master-name="first">
					<fo:region-body margin-top="0cm" margin-bottom="0cm"/>
					<fo:region-before extent="0cm"/>
					<fo:region-after extent="0cm"/>
				</fo:simple-page-master>
			</fo:layout-master-set>
			<fo:page-sequence font-family="TimesNewRoman" master-reference="first" display-align="center" font-size="8pt">
				<fo:flow flow-name="xsl-region-body">
					<fo:table>
						<fo:table-column column-number="1" column-width="5cm"/>
						<fo:table-column column-number="2" column-width="7cm"/>
						<fo:table-column column-number="3" column-width="6cm"/>
						<fo:table-body start-indent="0pt" end-indent="0pt">
							<fo:table-row>
								<fo:table-cell padding-left="5.4pt">
									<fo:block font-size="7pt">
									F1403404
								</fo:block>
								</fo:table-cell>
								<fo:table-cell>
									<fo:block>
										<fo:leader leader-pattern="space" leader-length="5pt"/>
									</fo:block>
								</fo:table-cell>
								<fo:table-cell text-align="right" font-size="7pt">
									<fo:block>
										<xsl:value-of select="//DECLARHEAD/TIN"/>
									</fo:block>
								</fo:table-cell>
							</fo:table-row>
						</fo:table-body>
					</fo:table>
					<fo:table>
						<fo:table-column column-number="1" column-width="12cm"/>
						<fo:table-column column-number="2" column-width="6cm"/>
						<fo:table-body start-indent="0pt" end-indent="0pt">
							<fo:table-row>
								<fo:table-cell>
									<fo:block>
										<fo:leader leader-pattern="space" leader-length="5pt"/>
									</fo:block>
								</fo:table-cell>
								<fo:table-cell text-align="center" font-size="7pt">
									<fo:block>
										<fo:block>
										ЗАТВЕРДЖЕНО
									</fo:block>
										<fo:block>
									постановою Кабінету Міністрів України
									</fo:block>
										<fo:block>
								від 4 квітня	2025 р. № 374
									</fo:block>
									</fo:block>
								</fo:table-cell>
							</fo:table-row>
						</fo:table-body>
					</fo:table>
					<fo:block space-before="0.2cm" text-align="center" font-weight="bold">
				Витяг
						</fo:block>
					<fo:block text-align="center" font-weight="bold">
	з Єдиного реєстру ліцензіатів з виробництва та обігу спирту етилового, спиртових дистилятів, алкогольних напоїв, тютюнових виробів, тютюнової сировини та рідин, що використовуються в електронних сигаретах
					</fo:block>
					<fo:block text-align="center">
(щодо ліцензій на право роздрібної торгівлі алкогольними напоями, сидром та перрі (без додання спирту), тютюновими виробами, рідинами, що використовуються в електронних сигаретах)
				</fo:block>
					<fo:table space-before="0.5cm">
						<fo:table-column column-number="1" column-width="14cm"/>
						<fo:table-column column-number="2" column-width="4cm"/>
						<fo:table-body start-indent="0pt" end-indent="0pt">
							<fo:table-row>
								<fo:table-cell padding-left="0.1cm">
									<fo:block>
				Системний порядковий номер запису в Єдиному реєстрі ліцензіатів з виробництва та обігу спирту етилового, спиртових дистилятів, алкогольних напоїв, тютюнових виробів, тютюнової сировини та рідин, що використовуються в електронних сигаретах:
							</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block font-weight="bold" text-align="center">
										<xsl:value-of select=" R02G2S"/>
									</fo:block>
								</fo:table-cell>
							</fo:table-row>
						</fo:table-body>
					</fo:table>
					<fo:table space-before="0.5cm">
						<fo:table-column column-number="1" column-width="7cm"/>
						<fo:table-column column-number="2" column-width="2cm"/>
						<fo:table-body start-indent="0pt" end-indent="0pt">
							<fo:table-row>
								<fo:table-cell padding-left="0.1cm">
									<fo:block>
				Дата, час формування витягу:
							</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block font-weight="bold" text-align="center">
										<xsl:value-of select=" R03G2S"/>
									</fo:block>
								</fo:table-cell>
							</fo:table-row>
						</fo:table-body>
					</fo:table>
					<fo:table space-before.optimum="0.5cm">
						<fo:table-column column-number="1" column-width="14cm"/>
						<fo:table-column column-number="2" column-width="4cm"/>
						<fo:table-body start-indent="0pt" end-indent="0pt">
							<fo:table-row>
								<fo:table-cell padding-left="0.1cm">
									<fo:block>
		Стан запису в Єдиному реєстрі ліцензіатів з виробництва та обігу спирту етилового, спиртових дистилятів, алкогольних напоїв, тютюнових виробів, тютюнової сировини та рідин, що використовуються в електронних сигаретах, про ліцензію:
							</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block font-weight="bold" text-align="center">
										<xsl:value-of select=" R04G2S"/>
									</fo:block>
								</fo:table-cell>
							</fo:table-row>
						</fo:table-body>
					</fo:table>
					<fo:table space-before="0.5cm">
						<fo:table-column column-number="1" column-width="7cm"/>
						<fo:table-column column-number="2" column-width="11cm"/>
						<fo:table-body start-indent="0pt" end-indent="0pt">
							<fo:table-row>
								<fo:table-cell padding-left="0.1cm">
									<fo:block>
			Найменування/прізвище, власне ім’я, по батькові (за наявності) ліцензіата:
							</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block font-weight="bold" text-align="center">
										<xsl:value-of select=" HNAME"/>
									</fo:block>
								</fo:table-cell>
							</fo:table-row>
						</fo:table-body>
					</fo:table>
					<fo:table space-before="0.5cm">
						<fo:table-column column-number="1" column-width="14cm"/>
						<fo:table-column column-number="2" column-width="4cm"/>
						<fo:table-body start-indent="0pt" end-indent="0pt">
							<fo:table-row>
								<fo:table-cell padding-left="0.1cm">
									<fo:block>
			Код згідно з ЄДРПОУ/реєстраційний номер облікової картки платника податків або серія (за наявності) та номер паспорта громадянина України для фізичних осіб, які через свої релігійні переконання відмовляються від прийняття реєстраційного номера облікової картки платника податків та офіційно повідомили про це відповідному контролюючому органу і мають відмітку у паспорті/податковий номер, наданий особі, яка уповноважена на ведення обліку діяльності за договорами про спільну діяльність без утворення юридичної особи, ліцензіата/податковий номер постійного представництва:
							</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block font-weight="bold" text-align="center">
										<xsl:value-of select=" HTIN"/>
									</fo:block>
								</fo:table-cell>
							</fo:table-row>
						</fo:table-body>
					</fo:table>
					<fo:table space-before="0.5cm">
						<fo:table-column column-number="1" column-width="14cm"/>
						<fo:table-column column-number="2" column-width="4cm"/>
						<fo:table-body start-indent="0pt" end-indent="0pt">
							<fo:table-row>
								<fo:table-cell padding-left="0.1cm">
									<fo:block>
		Унікальний номер запису в Єдиному державному демографічному реєстрі (за наявності):
							</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block font-weight="bold" text-align="center">
										<xsl:value-of select=" HUNZR"/>
									</fo:block>
								</fo:table-cell>
							</fo:table-row>
						</fo:table-body>
					</fo:table>
					<fo:table space-before="0.5cm">
						<fo:table-column column-number="1" column-width="7cm"/>
						<fo:table-column column-number="2" column-width="11cm"/>
						<fo:table-body start-indent="0pt" end-indent="0pt">
							<fo:table-row>
								<fo:table-cell padding-left="0.1cm">
									<fo:block>
			Місцезнаходження ліцензіата:
							</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block font-weight="bold" text-align="center">
										<xsl:value-of select=" HLOC"/>
									</fo:block>
								</fo:table-cell>
							</fo:table-row>
						</fo:table-body>
					</fo:table>
					<fo:table space-before="0.5cm">
						<fo:table-column column-number="1" column-width="12cm"/>
						<fo:table-column column-number="2" column-width="6cm"/>
						<fo:table-body start-indent="0pt" end-indent="0pt">
							<fo:table-row>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block font-weight="bold" text-align="center">
										<xsl:value-of select=" HSTI"/>
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block font-weight="bold" text-align="center">
										<xsl:value-of select=" HKSTI"/>
									</fo:block>
								</fo:table-cell>
							</fo:table-row>
							<fo:table-row>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block text-align="center" font-size="6pt">
									(найменування органу ліцензування, що прийняв рішення про надання ліцензії)
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block text-align="center" font-size="6pt">
									(код органу ліцензування)
									</fo:block>
								</fo:table-cell>
							</fo:table-row>
						</fo:table-body>
					</fo:table>
					<fo:table space-before="0.5cm">
						<fo:table-column column-number="1" column-width="10cm"/>
						<fo:table-column column-number="2" column-width="6cm"/>
						<fo:table-column column-number="3" column-width="2cm"/>
						<fo:table-body start-indent="0pt" end-indent="0pt">
							<fo:table-row>
								<fo:table-cell number-rows-spanned="2">
									<fo:block>
									Реквізити заяви про отримання ліцензії: 
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block text-align="center">
								Номер
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block text-align="center">
								Дата
									</fo:block>
								</fo:table-cell>
							</fo:table-row>
							<fo:table-row>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block font-weight="bold" text-align="center">
										<xsl:value-of select=" R05G2S"/>
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block text-align="center">
										<xsl:value-of select="concat(substring(R05G3D,1,2),'.',substring(R05G3D,3,2),'.',substring(R05G3D,5,4))"/>
									</fo:block>
								</fo:table-cell>
							</fo:table-row>
						</fo:table-body>
					</fo:table>
					<fo:table space-before="0.5cm">
						<fo:table-column column-number="1" column-width="10cm"/>
						<fo:table-column column-number="2" column-width="6cm"/>
						<fo:table-column column-number="3" column-width="2cm"/>
						<fo:table-body start-indent="0pt" end-indent="0pt">
							<fo:table-row>
								<fo:table-cell number-rows-spanned="2">
									<fo:block>
								Реквізити рішення органу ліцензування про надання ліцензії:
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block text-align="center">
									Номер
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block text-align="center">
							Дата
									</fo:block>
								</fo:table-cell>
							</fo:table-row>
							<fo:table-row>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block font-weight="bold" text-align="center">
										<xsl:value-of select=" R06G2S"/>
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block text-align="center">
										<xsl:value-of select="concat(substring(R06G3D,1,2),'.',substring(R06G3D,3,2),'.',substring(R06G3D,5,4))"/>
									</fo:block>
								</fo:table-cell>
							</fo:table-row>
						</fo:table-body>
					</fo:table>
					<fo:table space-before="0.5cm">
						<fo:table-column column-number="1" column-width="7cm"/>
						<fo:table-column column-number="2" column-width="11cm"/>
						<fo:table-body start-indent="0pt" end-indent="0pt">
							<fo:table-row>
								<fo:table-cell padding-left="0.1cm">
									<fo:block>
			Вид наданої ліцензії:
							</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block font-weight="bold" text-align="center">
										<xsl:value-of select=" R07G2S"/>
									</fo:block>
								</fo:table-cell>
							</fo:table-row>
						</fo:table-body>
					</fo:table>
					<fo:table space-before="0.5cm">
						<fo:table-column column-number="1" column-width="7cm"/>
						<fo:table-column column-number="2" column-width="11cm"/>
						<fo:table-body start-indent="0pt" end-indent="0pt">
							<fo:table-row>
								<fo:table-cell padding-left="0.1cm">
									<fo:block>
		Реєстраційний номер ліцензії:
							</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block font-weight="bold" text-align="center">
										<xsl:value-of select=" R08G2S"/>
									</fo:block>
								</fo:table-cell>
							</fo:table-row>
						</fo:table-body>
					</fo:table>
					<fo:table space-before="0.5cm">
						<fo:table-column column-number="1" column-width="7cm"/>
						<fo:table-column column-number="2" column-width="11cm"/>
						<fo:table-body start-indent="0pt" end-indent="0pt">
							<fo:table-row>
								<fo:table-cell padding-left="0.1cm">
									<fo:block>
	Дата початку дії ліцензії:
							</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block text-align="center">
										<xsl:value-of select="concat(substring(R09G2D,1,2),'.',substring(R09G2D,3,2),'.',substring(R09G2D,5,4))"/>
									</fo:block>
								</fo:table-cell>
							</fo:table-row>
						</fo:table-body>
					</fo:table>
					<fo:table space-before="0.5cm">
						<fo:table-column column-number="1" column-width="7cm"/>
						<fo:table-column column-number="2" column-width="11cm"/>
						<fo:table-body start-indent="0pt" end-indent="0pt">
							<fo:table-row>
								<fo:table-cell padding-left="0.1cm">
									<fo:block>
	Дата закінчення строку дії ліцензії:
							</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block text-align="center">
										<xsl:value-of select="concat(substring(R010G2D,1,2),'.',substring(R010G2D,3,2),'.',substring(R010G2D,5,4))"/>
									</fo:block>
								</fo:table-cell>
							</fo:table-row>
						</fo:table-body>
					</fo:table>
					<fo:block space-before="0.5cm">
			Адреса/адреси місця провадження господарської діяльності
					</fo:block>
					<fo:table space-before="0.5cm">
						<fo:table-column column-number="1" column-width="6cm"/>
						<fo:table-column column-number="2" column-width="6cm"/>
						<fo:table-column column-number="3" column-width="6cm"/>
						<fo:table-body start-indent="0pt" end-indent="0pt">
							<fo:table-row text-align="center">
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block>
					Адреса місця роздрібної торгівлі
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block>
						Ідентифікатор об’єкта оподаткування
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block>
				Код/коди згідно з Кодифікатором адміністративно-територіальних одиниць та територій територіальних громад
									</fo:block>
								</fo:table-cell>
							</fo:table-row>
							<xsl:if test="count(//DECLARBODY/*[substring(name(),1,8)='T11RXXXX'])=0">
								<xsl:call-template name="t11_row">
									<xsl:with-param name="rownum" select="1"/>
									<xsl:with-param name="iden" select="'T11RXXXX'"/>
								</xsl:call-template>
							</xsl:if>
							<xsl:for-each select="//DECLARBODY/*[substring(name(), 1,5)='T11RX']">
								<xsl:sort select="./@ROWNUM" data-type="number"/>
								<xsl:variable name="n" select="./@ROWNUM"/>
								<xsl:if test="count(following-sibling::*[substring(name(), 1,5)='T11RX' and @ROWNUM=$n])=0">
									<xsl:call-template name="t11_row">
										<xsl:with-param name="rownum" select="$n"/>
										<xsl:with-param name="iden" select="'T11RXXXX'"/>
									</xsl:call-template>
								</xsl:if>
							</xsl:for-each>
						</fo:table-body>
					</fo:table>
					<fo:block space-before="0.5cm">
		Перелік фіскальних номерів реєстраторів розрахункових операцій, програмних реєстраторів розрахункових операцій, книг обліку розрахункових операцій та розрахункових книжок, що розміщуються в місці роздрібної торгівлі:
					</fo:block>
					<fo:table space-before="0.5cm">
						<fo:table-column column-number="1" column-width="6cm"/>
						<fo:table-column column-number="2" column-width="2cm"/>
						<fo:table-column column-number="3" column-width="2cm"/>
						<fo:table-column column-number="4" column-width="4cm"/>
						<fo:table-column column-number="5" column-width="4cm"/>
						<fo:table-body start-indent="0pt" end-indent="0pt">
							<fo:table-row text-align="center">
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block>
				Перелік фіскальних номерів реєстраторів розрахункових операцій, програмних реєстраторів розрахункових операцій
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block>
				Дата початку використання в місці торгівлі
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block>
				Дата закінчення використання в місці торгівлі
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block>
				Перелік фіскальних номерів книг обліку розрахункових операцій
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block>
			Перелік фіскальних номерів розрахункових книжок
									</fo:block>
								</fo:table-cell>
							</fo:table-row>
							<xsl:if test="count(//DECLARBODY/*[substring(name(),1,8)='T12RXXXX'])=0">
								<xsl:call-template name="t12_row">
									<xsl:with-param name="rownum" select="1"/>
									<xsl:with-param name="iden" select="'T12RXXXX'"/>
								</xsl:call-template>
							</xsl:if>
							<xsl:for-each select="//DECLARBODY/*[substring(name(), 1,5)='T12RX']">
								<xsl:sort select="./@ROWNUM" data-type="number"/>
								<xsl:variable name="n" select="./@ROWNUM"/>
								<xsl:if test="count(following-sibling::*[substring(name(), 1,5)='T12RX' and @ROWNUM=$n])=0">
									<xsl:call-template name="t12_row">
										<xsl:with-param name="rownum" select="$n"/>
										<xsl:with-param name="iden" select="'T12RXXXX'"/>
									</xsl:call-template>
								</xsl:if>
							</xsl:for-each>
						</fo:table-body>
					</fo:table>
					<fo:table space-before="0.5cm">
						<fo:table-column column-number="1" column-width="1cm"/>
						<fo:table-column column-number="2" column-width="17cm"/>
						<fo:table-body start-indent="0pt" end-indent="0pt">
							<fo:table-row>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block text-align="center">
					Так/ні
									</fo:block>
								</fo:table-cell>
								<fo:table-cell number-rows-spanned="2" padding-left="0.2cm">
									<fo:block>
				Розташування місця роздрібної торгівлі за межами населених пунктів — адміністративних центрів областей, м. Києва та м. Севастополя на відстані до 50 кілометрів та наявність торговельних залів площею понад 500 кв. метрів
									</fo:block>
								</fo:table-cell>
							</fo:table-row>
							<fo:table-row>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block font-weight="bold" text-align="center">
										<xsl:value-of select=" R013G1S"/>
									</fo:block>
								</fo:table-cell>
							</fo:table-row>
						</fo:table-body>
					</fo:table>
					<fo:block space-before="0.5cm">
				Інформація про внесення платежу за ліцензію: 
									</fo:block>
					<fo:table space-before.optimum="0.5cm">
						<fo:table-column column-number="1" column-width="1cm"/>
						<fo:table-column column-number="2" column-width="2cm"/>
						<fo:table-column column-number="3" column-width="2cm"/>
						<fo:table-column column-number="4" column-width="4cm"/>
						<fo:table-column column-number="5" column-width="4cm"/>
						<fo:table-column column-number="6" column-width="2cm"/>
						<fo:table-column column-number="7" column-width="3cm"/>
						<fo:table-body start-indent="0pt" end-indent="0pt">
							<fo:table-row text-align="center">
								<fo:table-cell border-style="solid" border-width="0.25pt" number-rows-spanned="2">
									<fo:block font-size="5pt">
					Порядковий номер
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt" number-columns-spanned="2">
									<fo:block>
						Сплачено за період
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt" number-columns-spanned="4">
									<fo:block>
					Реквізити платіжної інструкції
									</fo:block>
								</fo:table-cell>
							</fo:table-row>
							<fo:table-row text-align="center">
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block>
				з
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block>
					до
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block>
					код класифікації доходів бюджету
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block>
				номер
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block>
					дата
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block>
				сума внесеного платежу, гривень
									</fo:block>
								</fo:table-cell>
							</fo:table-row>
							<xsl:if test="count(//DECLARBODY/*[substring(name(),1,8)='T14RXXXX'])=0">
								<xsl:call-template name="t14_row">
									<xsl:with-param name="rownum" select="1"/>
									<xsl:with-param name="iden" select="'T14RXXXX'"/>
								</xsl:call-template>
							</xsl:if>
							<xsl:for-each select="//DECLARBODY/*[substring(name(), 1,5)='T14RX']">
								<xsl:sort select="./@ROWNUM" data-type="number"/>
								<xsl:variable name="n" select="./@ROWNUM"/>
								<xsl:if test="count(following-sibling::*[substring(name(), 1,5)='T14RX' and @ROWNUM=$n])=0">
									<xsl:call-template name="t14_row">
										<xsl:with-param name="rownum" select="$n"/>
										<xsl:with-param name="iden" select="'T14RXXXX'"/>
									</xsl:call-template>
								</xsl:if>
							</xsl:for-each>
						</fo:table-body>
					</fo:table>
					<fo:table space-before.optimum="0.2cm" font-size="6pt">
						<fo:table-column column-number="1" column-width="4cm"/>
						<fo:table-column column-number="2" column-width="2cm"/>
						<fo:table-column column-number="3" column-width="3cm"/>
						<fo:table-column column-number="4" column-width="2cm"/>
						<fo:table-column column-number="5" column-width="7cm"/>
						<fo:table-body start-indent="0pt" end-indent="0pt">
							<fo:table-row text-align="center">
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block>
		Найменування органу ліцензування, яким внесено зміни до ліцензії
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block>
				Код органу ліцензування
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block>
				Номер заяви про внесення змін до відомостей
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block>
				Дата заяви про внесення змін до відомостей
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block>
				Дата внесення змін до відомостей
									</fo:block>
								</fo:table-cell>
							</fo:table-row>
							<xsl:if test="count(//DECLARBODY/*[substring(name(),1,9)='T142RXXXX'])=0">
								<xsl:call-template name="t142_row">
									<xsl:with-param name="rownum" select="1"/>
									<xsl:with-param name="iden" select="'T142RXXXX'"/>
								</xsl:call-template>
							</xsl:if>
							<xsl:for-each select="//DECLARBODY/*[substring(name(), 1,6)='T142RX']">
								<xsl:sort select="./@ROWNUM" data-type="number"/>
								<xsl:variable name="n" select="./@ROWNUM"/>
								<xsl:if test="count(following-sibling::*[substring(name(), 1,6)='T142RX' and @ROWNUM=$n])=0">
									<xsl:call-template name="t142_row">
										<xsl:with-param name="rownum" select="$n"/>
										<xsl:with-param name="iden" select="'T142RXXXX'"/>
									</xsl:call-template>
								</xsl:if>
							</xsl:for-each>
						</fo:table-body>
					</fo:table>
					<fo:table space-before="0.5cm">
						<fo:table-column column-number="1" column-width="1cm"/>
						<fo:table-column column-number="2" column-width="11cm"/>
						<fo:table-column column-number="3" column-width="6cm"/>
						<fo:table-body start-indent="0pt" end-indent="0pt">
							<fo:table-row text-align="center">
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block font-size="5pt">
					Порядковий номер
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block>
				Найменування органу ліцензування, що прийняв рішення про припинення дії ліцензії
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block>
				Код органу ліцензування
									</fo:block>
								</fo:table-cell>
							</fo:table-row>
							<xsl:if test="count(//DECLARBODY/*[substring(name(),1,8)='T15RXXXX'])=0">
								<xsl:call-template name="t15_row">
									<xsl:with-param name="rownum" select="1"/>
									<xsl:with-param name="iden" select="'T15RXXXX'"/>
								</xsl:call-template>
							</xsl:if>
							<xsl:for-each select="//DECLARBODY/*[substring(name(), 1,5)='T15RX']">
								<xsl:sort select="./@ROWNUM" data-type="number"/>
								<xsl:variable name="n" select="./@ROWNUM"/>
								<xsl:if test="count(following-sibling::*[substring(name(), 1,5)='T15RX' and @ROWNUM=$n])=0">
									<xsl:call-template name="t15_row">
										<xsl:with-param name="rownum" select="$n"/>
										<xsl:with-param name="iden" select="'T15RXXXX'"/>
									</xsl:call-template>
								</xsl:if>
							</xsl:for-each>
						</fo:table-body>
					</fo:table>
					<fo:table space-before="0.5cm">
						<fo:table-column column-number="1" column-width="10cm"/>
						<fo:table-column column-number="2" column-width="6cm"/>
						<fo:table-column column-number="3" column-width="2cm"/>
						<fo:table-body start-indent="0pt" end-indent="0pt">
							<fo:table-row>
								<fo:table-cell number-rows-spanned="2">
									<fo:block>
							Реквізити заяви про припинення дії ліцензії:
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block text-align="center">
								Номер
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block text-align="center">
								Дата
									</fo:block>
								</fo:table-cell>
							</fo:table-row>
							<fo:table-row>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block font-weight="bold" text-align="center">
										<xsl:value-of select=" R016G2S"/>
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block text-align="center">
										<xsl:value-of select="concat(substring(R016G3D,1,2),'.',substring(R016G3D,3,2),'.',substring(R016G3D,5,4))"/>
									</fo:block>
								</fo:table-cell>
							</fo:table-row>
						</fo:table-body>
					</fo:table>
					<fo:table space-before="0.5cm">
						<fo:table-column column-number="1" column-width="1cm"/>
						<fo:table-column column-number="2" column-width="5cm"/>
						<fo:table-column column-number="3" column-width="3cm"/>
						<fo:table-column column-number="4" column-width="9cm"/>
						<fo:table-body start-indent="0pt" end-indent="0pt">
							<fo:table-row text-align="center">
								<fo:table-cell border-style="solid" border-width="0.25pt" number-rows-spanned="2">
									<fo:block font-size="5pt">
					Порядковий номер 
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt" number-columns-spanned="2">
									<fo:block>
						Реквізити рішення органу ліцензування про припинення дії ліцензії
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt" number-rows-spanned="2">
									<fo:block>
					Підстава/підстави для припинення дії ліцензії:
									</fo:block>
								</fo:table-cell>
							</fo:table-row>
							<fo:table-row text-align="center">
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block>
				номер:
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block>
				дата:
									</fo:block>
								</fo:table-cell>
							</fo:table-row>
							<xsl:if test="count(//DECLARBODY/*[substring(name(),1,8)='T17RXXXX'])=0">
								<xsl:call-template name="t17_row">
									<xsl:with-param name="rownum" select="1"/>
									<xsl:with-param name="iden" select="'T17RXXXX'"/>
								</xsl:call-template>
							</xsl:if>
							<xsl:for-each select="//DECLARBODY/*[substring(name(), 1,5)='T17RX']">
								<xsl:sort select="./@ROWNUM" data-type="number"/>
								<xsl:variable name="n" select="./@ROWNUM"/>
								<xsl:if test="count(following-sibling::*[substring(name(), 1,5)='T17RX' and @ROWNUM=$n])=0">
									<xsl:call-template name="t17_row">
										<xsl:with-param name="rownum" select="$n"/>
										<xsl:with-param name="iden" select="'T17RXXXX'"/>
									</xsl:call-template>
								</xsl:if>
							</xsl:for-each>
						</fo:table-body>
					</fo:table>
					<fo:table space-before.optimum="0.2cm" font-size="6pt">
						<fo:table-column column-number="1" column-width="1cm"/>
						<fo:table-column column-number="2" column-width="2cm"/>
						<fo:table-column column-number="3" column-width="2cm"/>
						<fo:table-column column-number="4" column-width="2cm"/>
						<fo:table-column column-number="5" column-width="2cm"/>
						<fo:table-column column-number="6" column-width="2cm"/>
						<fo:table-column column-number="7" column-width="2cm"/>
						<fo:table-column column-number="8" column-width="2cm"/>
						<fo:table-column column-number="9" column-width="3cm"/>
						<fo:table-body start-indent="0pt" end-indent="0pt">
							<fo:table-row text-align="center">
								<fo:table-cell border-style="solid" border-width="0.25pt" number-rows-spanned="2">
									<fo:block font-size="5pt">
					Порядковий номер
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt" number-columns-spanned="2">
									<fo:block>
						Адміністративне оскарження рішення органу ліцензування
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt" number-columns-spanned="3">
									<fo:block font-weight="bold">
						Рішення органу ліцензування, яке оскаржується
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt" number-columns-spanned="3">
									<fo:block>
						Результати адміністративного оскарження
									</fo:block>
								</fo:table-cell>
							</fo:table-row>
							<fo:table-row text-align="center">
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block>
				дата
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block>
				номер
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block>
			вид рішення
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block>
				дата
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block>
				номер
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block>
				дата
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block>
				номер
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block>
				«Скасовано рішення органу ліцензування» або «Рішення органу ліцензування залишено без змін»
									</fo:block>
								</fo:table-cell>
							</fo:table-row>
							<xsl:if test="count(//DECLARBODY/*[substring(name(),1,8)='T18RXXXX'])=0">
								<xsl:call-template name="t18_row">
									<xsl:with-param name="rownum" select="1"/>
									<xsl:with-param name="iden" select="'T18RXXXX'"/>
								</xsl:call-template>
							</xsl:if>
							<xsl:for-each select="//DECLARBODY/*[substring(name(), 1,5)='T18RX']">
								<xsl:sort select="./@ROWNUM" data-type="number"/>
								<xsl:variable name="n" select="./@ROWNUM"/>
								<xsl:if test="count(following-sibling::*[substring(name(), 1,5)='T18RX' and @ROWNUM=$n])=0">
									<xsl:call-template name="t18_row">
										<xsl:with-param name="rownum" select="$n"/>
										<xsl:with-param name="iden" select="'T18RXXXX'"/>
									</xsl:call-template>
								</xsl:if>
							</xsl:for-each>
						</fo:table-body>
					</fo:table>
					<fo:table space-before.optimum="0.2cm" font-size="6pt">
						<fo:table-column column-number="1" column-width="1cm"/>
						<fo:table-column column-number="2" column-width="2cm"/>
						<fo:table-column column-number="3" column-width="6cm"/>
						<fo:table-column column-number="4" column-width="2cm"/>
						<fo:table-column column-number="5" column-width="7cm"/>
						<fo:table-body start-indent="0pt" end-indent="0pt">
							<fo:table-row text-align="center">
								<fo:table-cell border-style="solid" border-width="0.25pt" number-rows-spanned="2">
									<fo:block font-size="5pt">
				Порядковий номер
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt" number-columns-spanned="2">
									<fo:block>
			Відомості про те, що рішення органу ліцензування про припинення дії ліцензії на право провадження відповідного виду господарської діяльності зупинено на підставі рішення суду, що набрало законної сили і яким прийнято рішення про зупинення дії рішення органу ліцензування про припинення дії ліцензії
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt" number-columns-spanned="2">
									<fo:block>
						Рішення органу ліцензування про припинення дії ліцензії, яке зупинено
									</fo:block>
								</fo:table-cell>
							</fo:table-row>
							<fo:table-row text-align="center">
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block>
				дата
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block>
				номер справи
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block>
				дата
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block>
				номер
									</fo:block>
								</fo:table-cell>
							</fo:table-row>
							<xsl:if test="count(//DECLARBODY/*[substring(name(),1,8)='T19RXXXX'])=0">
								<xsl:call-template name="t19_row">
									<xsl:with-param name="rownum" select="1"/>
									<xsl:with-param name="iden" select="'T19RXXXX'"/>
								</xsl:call-template>
							</xsl:if>
							<xsl:for-each select="//DECLARBODY/*[substring(name(), 1,5)='T19RX']">
								<xsl:sort select="./@ROWNUM" data-type="number"/>
								<xsl:variable name="n" select="./@ROWNUM"/>
								<xsl:if test="count(following-sibling::*[substring(name(), 1,5)='T19RX' and @ROWNUM=$n])=0">
									<xsl:call-template name="t19_row">
										<xsl:with-param name="rownum" select="$n"/>
										<xsl:with-param name="iden" select="'T19RXXXX'"/>
									</xsl:call-template>
								</xsl:if>
							</xsl:for-each>
						</fo:table-body>
					</fo:table>
					<fo:table space-before.optimum="0.2cm" font-size="6pt">
						<fo:table-column column-number="1" column-width="1cm"/>
						<fo:table-column column-number="2" column-width="2cm"/>
						<fo:table-column column-number="3" column-width="6cm"/>
						<fo:table-column column-number="4" column-width="2cm"/>
						<fo:table-column column-number="5" column-width="7cm"/>
						<fo:table-body start-indent="0pt" end-indent="0pt">
							<fo:table-row text-align="center">
								<fo:table-cell border-style="solid" border-width="0.25pt" number-rows-spanned="2">
									<fo:block font-size="5pt">
					Порядковий номер
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt" number-columns-spanned="2">
									<fo:block>
				Рішення суду, що набрало законної сили і яким прийнято рішення про визнання протиправним та скасування рішення органу ліцензування про припинення дії ліцензії
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt" number-columns-spanned="2">
									<fo:block>
					Рішення органу ліцензування про припинення дії ліцензії, яке скасовано
									</fo:block>
								</fo:table-cell>
							</fo:table-row>
							<fo:table-row text-align="center">
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block>
				дата
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block>
				номер справи
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block>
				дата
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block>
				номер
									</fo:block>
								</fo:table-cell>
							</fo:table-row>
							<xsl:if test="count(//DECLARBODY/*[substring(name(),1,8)='T20RXXXX'])=0">
								<xsl:call-template name="t20_row">
									<xsl:with-param name="rownum" select="1"/>
									<xsl:with-param name="iden" select="'T20RXXXX'"/>
								</xsl:call-template>
							</xsl:if>
							<xsl:for-each select="//DECLARBODY/*[substring(name(), 1,5)='T20RX']">
								<xsl:sort select="./@ROWNUM" data-type="number"/>
								<xsl:variable name="n" select="./@ROWNUM"/>
								<xsl:if test="count(following-sibling::*[substring(name(), 1,5)='T20RX' and @ROWNUM=$n])=0">
									<xsl:call-template name="t20_row">
										<xsl:with-param name="rownum" select="$n"/>
										<xsl:with-param name="iden" select="'T20RXXXX'"/>
									</xsl:call-template>
								</xsl:if>
							</xsl:for-each>
						</fo:table-body>
					</fo:table>
					<fo:table space-before.optimum="0.5cm">
						<fo:table-column column-number="1" column-width="4cm"/>
						<fo:table-column column-number="2" column-width="2cm"/>
						<fo:table-body start-indent="0pt" end-indent="0pt">
							<fo:table-row text-align="center">
								<fo:table-cell>
									<fo:block>
					Дата припинення дії ліцензії:
									</fo:block>
								</fo:table-cell>
								<fo:table-cell border-style="solid" border-width="0.25pt">
									<fo:block text-align="center">
										<xsl:value-of select="concat(substring(R021G2D,1,2),'.',substring(R021G2D,3,2),'.',substring(R021G2D,5,4))"/>
									</fo:block>
								</fo:table-cell>
							</fo:table-row>
						</fo:table-body>
					</fo:table>
				</fo:flow>
			</fo:page-sequence>
		</fo:root>
	</xsl:template>
	<xsl:template name="t11_row">
		<xsl:param name="rownum"/>
		<xsl:variable name="iden" select="'T11RXXXX'"/>
		<fo:table-row>
			<fo:table-cell padding-left="0.1cm" border-style="solid" border-width="0.25pt">
				<fo:block>
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G1S')][@ROWNUM=$rownum]) = 0">
			-
			</xsl:if>
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G1S')][@ROWNUM=$rownum]) &gt; 0">
						<xsl:value-of select="//DECLARBODY/*[name()=concat($iden, 'G1S')][@ROWNUM=$rownum]"/>
					</xsl:if>
				</fo:block>
			</fo:table-cell>
			<fo:table-cell padding-left="0.1cm" border-style="solid" border-width="0.25pt">
				<fo:block>
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G2S')][@ROWNUM=$rownum]) = 0">
			-
			</xsl:if>
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G2S')][@ROWNUM=$rownum]) &gt; 0">
						<xsl:value-of select="//DECLARBODY/*[name()=concat($iden, 'G2S')][@ROWNUM=$rownum]"/>
					</xsl:if>
				</fo:block>
			</fo:table-cell>
			<fo:table-cell padding-left="0.1cm" border-style="solid" border-width="0.25pt">
				<fo:block>
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G3S')][@ROWNUM=$rownum]) = 0">
			-
			</xsl:if>
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G3S')][@ROWNUM=$rownum]) &gt; 0">
						<xsl:value-of select="//DECLARBODY/*[name()=concat($iden, 'G3S')][@ROWNUM=$rownum]"/>
					</xsl:if>
				</fo:block>
			</fo:table-cell>
		</fo:table-row>
	</xsl:template>
	<xsl:template name="t12_row">
		<xsl:param name="rownum"/>
		<xsl:variable name="iden" select="'T12RXXXX'"/>
		<fo:table-row>
			<fo:table-cell padding-left="0.1cm" border-style="solid" border-width="0.25pt">
				<fo:block>
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G1S')][@ROWNUM=$rownum]) = 0">
			-
			</xsl:if>
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G1S')][@ROWNUM=$rownum]) &gt; 0">
						<xsl:value-of select="//DECLARBODY/*[name()=concat($iden, 'G1S')][@ROWNUM=$rownum]"/>
					</xsl:if>
				</fo:block>
			</fo:table-cell>
			<fo:table-cell border-style="solid" border-width="0.25pt">
				<fo:block text-align="center">
					<xsl:variable name="dat2" select="//DECLARBODY/*[name()=concat($iden, 'G2D')][@ROWNUM=$rownum]"/>
					<xsl:value-of select="concat(substring($dat2, 1,2),'.',substring($dat2, 3,2),'.',substring($dat2,5,4))"/>
				</fo:block>
			</fo:table-cell>
			<fo:table-cell border-style="solid" border-width="0.25pt">
				<fo:block text-align="center">
					<xsl:variable name="dat2" select="//DECLARBODY/*[name()=concat($iden, 'G3D')][@ROWNUM=$rownum]"/>
					<xsl:value-of select="concat(substring($dat2, 1,2),'.',substring($dat2, 3,2),'.',substring($dat2,5,4))"/>
				</fo:block>
			</fo:table-cell>
			<fo:table-cell padding-left="0.1cm" border-style="solid" border-width="0.25pt">
				<fo:block>
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G4S')][@ROWNUM=$rownum]) = 0">
			-
			</xsl:if>
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G4S')][@ROWNUM=$rownum]) &gt; 0">
						<xsl:value-of select="//DECLARBODY/*[name()=concat($iden, 'G4S')][@ROWNUM=$rownum]"/>
					</xsl:if>
				</fo:block>
			</fo:table-cell>
			<fo:table-cell padding-left="0.1cm" border-style="solid" border-width="0.25pt">
				<fo:block>
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G5S')][@ROWNUM=$rownum]) = 0">
			-
			</xsl:if>
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G5S')][@ROWNUM=$rownum]) &gt; 0">
						<xsl:value-of select="//DECLARBODY/*[name()=concat($iden, 'G5S')][@ROWNUM=$rownum]"/>
					</xsl:if>
				</fo:block>
			</fo:table-cell>
		</fo:table-row>
	</xsl:template>
	<xsl:template name="t14_row">
		<xsl:param name="rownum"/>
		<xsl:variable name="iden" select="'T14RXXXX'"/>
		<fo:table-row>
			<fo:table-cell border-style="solid" border-width="0.25pt">
				<fo:block text-align="center">
					<xsl:value-of select="$rownum"/>
				</fo:block>
			</fo:table-cell>
			<fo:table-cell border-style="solid" border-width="0.25pt">
				<fo:block text-align="center">
					<xsl:variable name="dat2" select="//DECLARBODY/*[name()=concat($iden, 'G2D')][@ROWNUM=$rownum]"/>
					<xsl:value-of select="concat(substring($dat2, 1,2),'.',substring($dat2, 3,2),'.',substring($dat2,5,4))"/>
				</fo:block>
			</fo:table-cell>
			<fo:table-cell border-style="solid" border-width="0.25pt">
				<fo:block text-align="center">
					<xsl:variable name="dat2" select="//DECLARBODY/*[name()=concat($iden, 'G3D')][@ROWNUM=$rownum]"/>
					<xsl:value-of select="concat(substring($dat2, 1,2),'.',substring($dat2, 3,2),'.',substring($dat2,5,4))"/>
				</fo:block>
			</fo:table-cell>
			<fo:table-cell padding-right="0.1cm" border-style="solid" border-width="0.25pt">
				<fo:block text-align="right">
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G4')][@ROWNUM=$rownum]) = 0">
			-
			</xsl:if>
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G4')][@ROWNUM=$rownum]) &gt; 0">
						<xsl:value-of select="//DECLARBODY/*[name()=concat($iden, 'G4')][@ROWNUM=$rownum]"/>
					</xsl:if>
				</fo:block>
			</fo:table-cell>
			<fo:table-cell padding-left="0.1cm" border-style="solid" border-width="0.25pt">
				<fo:block>
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G5S')][@ROWNUM=$rownum]) = 0">
			-
			</xsl:if>
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G5S')][@ROWNUM=$rownum]) &gt; 0">
						<xsl:value-of select="//DECLARBODY/*[name()=concat($iden, 'G5S')][@ROWNUM=$rownum]"/>
					</xsl:if>
				</fo:block>
			</fo:table-cell>
			<fo:table-cell border-style="solid" border-width="0.25pt">
				<fo:block text-align="center">
					<xsl:variable name="dat2" select="//DECLARBODY/*[name()=concat($iden, 'G6D')][@ROWNUM=$rownum]"/>
					<xsl:value-of select="concat(substring($dat2, 1,2),'.',substring($dat2, 3,2),'.',substring($dat2,5,4))"/>
				</fo:block>
			</fo:table-cell>
			<fo:table-cell padding-right="0.1cm" border-style="solid" border-width="0.25pt">
				<fo:block text-align="right">
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G7')][@ROWNUM=$rownum]) = 0">
			-
			</xsl:if>
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G7')][@ROWNUM=$rownum]) &gt; 0">
						<xsl:value-of select="//DECLARBODY/*[name()=concat($iden, 'G7')][@ROWNUM=$rownum]"/>
					</xsl:if>
				</fo:block>
			</fo:table-cell>
		</fo:table-row>
	</xsl:template>
	<xsl:template name="t142_row">
		<xsl:param name="rownum"/>
		<xsl:variable name="iden" select="'T142RXXXX'"/>
		<fo:table-row>
			<fo:table-cell padding-left="0.1cm" border-style="solid" border-width="0.25pt">
				<fo:block>
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G2S')][@ROWNUM=$rownum]) = 0">
			-
			</xsl:if>
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G2S')][@ROWNUM=$rownum]) &gt; 0">
						<xsl:value-of select="//DECLARBODY/*[name()=concat($iden, 'G2S')][@ROWNUM=$rownum]"/>
					</xsl:if>
				</fo:block>
			</fo:table-cell>
			<fo:table-cell padding-right="0.1cm" border-style="solid" border-width="0.25pt">
				<fo:block text-align="right">
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G3')][@ROWNUM=$rownum]) = 0">
			-
			</xsl:if>
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G3')][@ROWNUM=$rownum]) &gt; 0">
						<xsl:value-of select="//DECLARBODY/*[name()=concat($iden, 'G3')][@ROWNUM=$rownum]"/>
					</xsl:if>
				</fo:block>
			</fo:table-cell>
			<fo:table-cell padding-left="0.1cm" border-style="solid" border-width="0.25pt">
				<fo:block>
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G4S')][@ROWNUM=$rownum]) = 0">
			-
			</xsl:if>
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G4S')][@ROWNUM=$rownum]) &gt; 0">
						<xsl:value-of select="//DECLARBODY/*[name()=concat($iden, 'G4S')][@ROWNUM=$rownum]"/>
					</xsl:if>
				</fo:block>
			</fo:table-cell>
			<fo:table-cell border-style="solid" border-width="0.25pt">
				<fo:block text-align="center">
					<xsl:variable name="dat2" select="//DECLARBODY/*[name()=concat($iden, 'G5D')][@ROWNUM=$rownum]"/>
					<xsl:value-of select="concat(substring($dat2, 1,2),'.',substring($dat2, 3,2),'.',substring($dat2,5,4))"/>
				</fo:block>
			</fo:table-cell>
			<fo:table-cell border-style="solid" border-width="0.25pt">
				<fo:block text-align="center">
					<xsl:variable name="dat2" select="//DECLARBODY/*[name()=concat($iden, 'G6D')][@ROWNUM=$rownum]"/>
					<xsl:value-of select="concat(substring($dat2, 1,2),'.',substring($dat2, 3,2),'.',substring($dat2,5,4))"/>
				</fo:block>
			</fo:table-cell>
		</fo:table-row>
	</xsl:template>
	<xsl:template name="t15_row">
		<xsl:param name="rownum"/>
		<xsl:variable name="iden" select="'T15RXXXX'"/>
		<fo:table-row>
			<fo:table-cell border-style="solid" border-width="0.25pt">
				<fo:block text-align="center">
					<xsl:value-of select="$rownum"/>
				</fo:block>
			</fo:table-cell>
			<fo:table-cell padding-left="0.1cm" border-style="solid" border-width="0.25pt">
				<fo:block>
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G2S')][@ROWNUM=$rownum]) = 0">
			-
			</xsl:if>
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G2S')][@ROWNUM=$rownum]) &gt; 0">
						<xsl:value-of select="//DECLARBODY/*[name()=concat($iden, 'G2S')][@ROWNUM=$rownum]"/>
					</xsl:if>
				</fo:block>
			</fo:table-cell>
			<fo:table-cell padding-right="0.1cm" border-style="solid" border-width="0.25pt">
				<fo:block text-align="right">
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G3')][@ROWNUM=$rownum]) = 0">
			-
			</xsl:if>
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G3')][@ROWNUM=$rownum]) &gt; 0">
						<xsl:value-of select="//DECLARBODY/*[name()=concat($iden, 'G3')][@ROWNUM=$rownum]"/>
					</xsl:if>
				</fo:block>
			</fo:table-cell>
		</fo:table-row>
	</xsl:template>
	<xsl:template name="t17_row">
		<xsl:param name="rownum"/>
		<xsl:variable name="iden" select="'T17RXXXX'"/>
		<fo:table-row>
			<fo:table-cell border-style="solid" border-width="0.25pt">
				<fo:block text-align="center">
					<xsl:value-of select="$rownum"/>
				</fo:block>
			</fo:table-cell>
			<fo:table-cell padding-left="0.1cm" border-style="solid" border-width="0.25pt">
				<fo:block>
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G2S')][@ROWNUM=$rownum]) = 0">
			-
			</xsl:if>
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G2S')][@ROWNUM=$rownum]) &gt; 0">
						<xsl:value-of select="//DECLARBODY/*[name()=concat($iden, 'G2S')][@ROWNUM=$rownum]"/>
					</xsl:if>
				</fo:block>
			</fo:table-cell>
			<fo:table-cell border-style="solid" border-width="0.25pt">
				<fo:block text-align="center">
					<xsl:variable name="dat2" select="//DECLARBODY/*[name()=concat($iden, 'G3D')][@ROWNUM=$rownum]"/>
					<xsl:value-of select="concat(substring($dat2, 1,2),'.',substring($dat2, 3,2),'.',substring($dat2,5,4))"/>
				</fo:block>
			</fo:table-cell>
			<fo:table-cell padding-left="0.1cm" border-style="solid" border-width="0.25pt">
				<fo:block>
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G4S')][@ROWNUM=$rownum]) = 0">
			-
			</xsl:if>
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G4S')][@ROWNUM=$rownum]) &gt; 0">
						<xsl:value-of select="//DECLARBODY/*[name()=concat($iden, 'G4S')][@ROWNUM=$rownum]"/>
					</xsl:if>
				</fo:block>
			</fo:table-cell>
		</fo:table-row>
	</xsl:template>
	<xsl:template name="t18_row">
		<xsl:param name="rownum"/>
		<xsl:variable name="iden" select="'T18RXXXX'"/>
		<fo:table-row>
			<fo:table-cell padding-left="0.1cm" border-style="solid" border-width="0.25pt" padding-top="0.1cm">
				<fo:block text-align="center">
					<xsl:value-of select="$rownum"/>
				</fo:block>
			</fo:table-cell>
			<fo:table-cell border-style="solid" border-width="0.25pt">
				<fo:block text-align="center">
					<xsl:variable name="dat2" select="//DECLARBODY/*[name()=concat($iden, 'G2D')][@ROWNUM=$rownum]"/>
					<xsl:value-of select="concat(substring($dat2, 1,2),'.',substring($dat2, 3,2),'.',substring($dat2,5,4))"/>
				</fo:block>
			</fo:table-cell>
			<fo:table-cell padding-left="0.1cm" border-style="solid" border-width="0.25pt">
				<fo:block>
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G3S')][@ROWNUM=$rownum]) = 0">
			-
			</xsl:if>
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G3S')][@ROWNUM=$rownum]) &gt; 0">
						<xsl:value-of select="//DECLARBODY/*[name()=concat($iden, 'G3S')][@ROWNUM=$rownum]"/>
					</xsl:if>
				</fo:block>
			</fo:table-cell>
			<fo:table-cell padding-left="0.1cm" border-style="solid" border-width="0.25pt">
				<fo:block>
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G4S')][@ROWNUM=$rownum]) = 0">
			-
			</xsl:if>
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G4S')][@ROWNUM=$rownum]) &gt; 0">
						<xsl:value-of select="//DECLARBODY/*[name()=concat($iden, 'G4S')][@ROWNUM=$rownum]"/>
					</xsl:if>
				</fo:block>
			</fo:table-cell>
			<fo:table-cell border-style="solid" border-width="0.25pt">
				<fo:block text-align="center">
					<xsl:variable name="dat2" select="//DECLARBODY/*[name()=concat($iden, 'G5D')][@ROWNUM=$rownum]"/>
					<xsl:value-of select="concat(substring($dat2, 1,2),'.',substring($dat2, 3,2),'.',substring($dat2,5,4))"/>
				</fo:block>
			</fo:table-cell>
			<fo:table-cell padding-left="0.1cm" border-style="solid" border-width="0.25pt">
				<fo:block>
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G6S')][@ROWNUM=$rownum]) = 0">
			-
			</xsl:if>
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G6S')][@ROWNUM=$rownum]) &gt; 0">
						<xsl:value-of select="//DECLARBODY/*[name()=concat($iden, 'G6S')][@ROWNUM=$rownum]"/>
					</xsl:if>
				</fo:block>
			</fo:table-cell>
			<fo:table-cell border-style="solid" border-width="0.25pt">
				<fo:block text-align="center">
					<xsl:variable name="dat2" select="//DECLARBODY/*[name()=concat($iden, 'G7D')][@ROWNUM=$rownum]"/>
					<xsl:value-of select="concat(substring($dat2, 1,2),'.',substring($dat2, 3,2),'.',substring($dat2,5,4))"/>
				</fo:block>
			</fo:table-cell>
			<fo:table-cell padding-left="0.1cm" border-style="solid" border-width="0.25pt">
				<fo:block>
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G8S')][@ROWNUM=$rownum]) = 0">
			-
			</xsl:if>
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G8S')][@ROWNUM=$rownum]) &gt; 0">
						<xsl:value-of select="//DECLARBODY/*[name()=concat($iden, 'G8S')][@ROWNUM=$rownum]"/>
					</xsl:if>
				</fo:block>
			</fo:table-cell>
			<fo:table-cell padding-left="0.1cm" border-style="solid" border-width="0.25pt">
				<fo:block>
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G9S')][@ROWNUM=$rownum]) = 0">
			-
			</xsl:if>
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G9S')][@ROWNUM=$rownum]) &gt; 0">
						<xsl:value-of select="//DECLARBODY/*[name()=concat($iden, 'G9S')][@ROWNUM=$rownum]"/>
					</xsl:if>
				</fo:block>
			</fo:table-cell>
		</fo:table-row>
	</xsl:template>
	<xsl:template name="t19_row">
		<xsl:param name="rownum"/>
		<xsl:variable name="iden" select="'T19RXXXX'"/>
		<fo:table-row>
			<fo:table-cell padding-left="0.1cm" border-style="solid" border-width="0.25pt" padding-top="0.1cm">
				<fo:block text-align="center">
					<xsl:value-of select="$rownum"/>
				</fo:block>
			</fo:table-cell>
			<fo:table-cell border-style="solid" border-width="0.25pt">
				<fo:block text-align="center">
					<xsl:variable name="dat2" select="//DECLARBODY/*[name()=concat($iden, 'G2D')][@ROWNUM=$rownum]"/>
					<xsl:value-of select="concat(substring($dat2, 1,2),'.',substring($dat2, 3,2),'.',substring($dat2,5,4))"/>
				</fo:block>
			</fo:table-cell>
			<fo:table-cell padding-left="0.1cm" border-style="solid" border-width="0.25pt">
				<fo:block>
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G3S')][@ROWNUM=$rownum]) = 0">
			-
			</xsl:if>
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G3S')][@ROWNUM=$rownum]) &gt; 0">
						<xsl:value-of select="//DECLARBODY/*[name()=concat($iden, 'G3S')][@ROWNUM=$rownum]"/>
					</xsl:if>
				</fo:block>
			</fo:table-cell>
			<fo:table-cell border-style="solid" border-width="0.25pt">
				<fo:block text-align="center">
					<xsl:variable name="dat2" select="//DECLARBODY/*[name()=concat($iden, 'G4D')][@ROWNUM=$rownum]"/>
					<xsl:value-of select="concat(substring($dat2, 1,2),'.',substring($dat2, 3,2),'.',substring($dat2,5,4))"/>
				</fo:block>
			</fo:table-cell>
			<fo:table-cell padding-left="0.1cm" border-style="solid" border-width="0.25pt">
				<fo:block>
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G5S')][@ROWNUM=$rownum]) = 0">
			-
			</xsl:if>
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G5S')][@ROWNUM=$rownum]) &gt; 0">
						<xsl:value-of select="//DECLARBODY/*[name()=concat($iden, 'G5S')][@ROWNUM=$rownum]"/>
					</xsl:if>
				</fo:block>
			</fo:table-cell>
		</fo:table-row>
	</xsl:template>
	<xsl:template name="t20_row">
		<xsl:param name="rownum"/>
		<xsl:variable name="iden" select="'T20RXXXX'"/>
		<fo:table-row>
			<fo:table-cell padding-left="0.1cm" border-style="solid" border-width="0.25pt" padding-top="0.1cm">
				<fo:block text-align="center">
					<xsl:value-of select="$rownum"/>
				</fo:block>
			</fo:table-cell>
			<fo:table-cell border-style="solid" border-width="0.25pt">
				<fo:block text-align="center">
					<xsl:variable name="dat2" select="//DECLARBODY/*[name()=concat($iden, 'G2D')][@ROWNUM=$rownum]"/>
					<xsl:value-of select="concat(substring($dat2, 1,2),'.',substring($dat2, 3,2),'.',substring($dat2,5,4))"/>
				</fo:block>
			</fo:table-cell>
			<fo:table-cell padding-left="0.1cm" border-style="solid" border-width="0.25pt">
				<fo:block>
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G3S')][@ROWNUM=$rownum]) = 0">
			-
			</xsl:if>
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G3S')][@ROWNUM=$rownum]) &gt; 0">
						<xsl:value-of select="//DECLARBODY/*[name()=concat($iden, 'G3S')][@ROWNUM=$rownum]"/>
					</xsl:if>
				</fo:block>
			</fo:table-cell>
			<fo:table-cell border-style="solid" border-width="0.25pt">
				<fo:block text-align="center">
					<xsl:variable name="dat2" select="//DECLARBODY/*[name()=concat($iden, 'G4D')][@ROWNUM=$rownum]"/>
					<xsl:value-of select="concat(substring($dat2, 1,2),'.',substring($dat2, 3,2),'.',substring($dat2,5,4))"/>
				</fo:block>
			</fo:table-cell>
			<fo:table-cell padding-left="0.1cm" border-style="solid" border-width="0.25pt">
				<fo:block>
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G5S')][@ROWNUM=$rownum]) = 0">
			-
			</xsl:if>
					<xsl:if test="string-length(//DECLARBODY/*[name()=concat($iden, 'G5S')][@ROWNUM=$rownum]) &gt; 0">
						<xsl:value-of select="//DECLARBODY/*[name()=concat($iden, 'G5S')][@ROWNUM=$rownum]"/>
					</xsl:if>
				</fo:block>
			</fo:table-cell>
		</fo:table-row>
	</xsl:template>
</xsl:stylesheet>
