11047

ID11047
Data2021-11-03
Symbol2021/11/03/11047
InstytucjaUrząd Gminy Latowicz
NazwaWniosek o wydanie zaświadczenia o posiadaniu przyłącza kanalizacyjnego/wodociągowego zasilanego z wodociągu gminnego
Czy Aktualny1

Ustawy (1)

  • URI://Dziennik_Ustaw/2021/670/16b/1
  • Ustawa z dnia 17 lutego 2005 r. o informatyzacji działalności podmiotów realizujących zadania publiczne

    Pliki

    Styl

    <?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:wnio="http://crd.gov.pl/wzor/2021/11/03/11047/" xmlns:meta="http://crd.gov.pl/xml/schematy/meta/2009/11/16/" xmlns:str="http://crd.gov.pl/xml/schematy/struktura/2009/11/16/" xmlns:oso="http://crd.gov.pl/xml/schematy/osoba/2009/11/16/" xmlns:inst="http://crd.gov.pl/xml/schematy/instytucja/2009/11/16/" xmlns:adr="http://crd.gov.pl/xml/schematy/adres/2009/11/09/" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0">
    	<xsl:template match="/">
    		<xsl:for-each select="wnio:Dokument">
    			<html xmlns="http://www.w3.org/1999/xhtml">
    				<head>
    					<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    					<title>Wniosek o wydanie zaświadczenia o posiadaniu przyłącza kanalizacyjnego/wodociągowego zasilanego z wodociągu gminnego</title>
    				</head>
    				<body>
    					<div align="center">
    						<table style="width: 850px; font-family: Arial; font-size: 12px;">
    							<tbody>
    								<tr>
    									<td>
    										<div style="margin: 0 0 15px 0;">
    											<table border="0" cellpadding="0" cellspacing="0" style="margin: 0px 0px 3px; padding: 0px; width: 100%; border-collapse: collapse;">
    												<tbody>
    													<tr>
    														<td style="border-right: none; font-weight: normal; text-align: left;" width="55%">
    															<table border="0" cellpadding="0" cellspacing="0" style="margin: 20px 0px 3px; padding: 0px; width: 100%; border-collapse: collapse; font-size: 12px;">
    																<tbody>
    																	<tr>
    																		<td colspan="4" style="font-weight: normal; padding: 5px; text-align: left;">
    																			<span>
    																				<xsl:if test="true()">
    																					<span>
    																						<xsl:if test="wnio:TrescDokumentu/wnio:DaneWnioskodawcy/wnio:Nazwa = 1">Imię i nazwisko</xsl:if>
    																						<xsl:if test="wnio:TrescDokumentu/wnio:DaneWnioskodawcy/wnio:Nazwa = 2">Nazwa</xsl:if>
    																					</span>
    																				</xsl:if>
    																			</span>
    																			<xsl:for-each select="wnio:TrescDokumentu/wnio:DaneWnioskodawcy/wnio:Sekcja">
    																				<xsl:if test="../wnio:Nazwa='1'"> <span>
    																						<label>
    																							<span/>
    																						</label>
    																						<xsl:if test="true()">
    																							<span type="text" style="font-weight: bold;">
    																								<xsl:value-of select="wnio:Imie"/>
    																							</span>
    																						</xsl:if>
    																					</span> 
    																					<span>
    																						<xsl:if test="true()">
    																							<span type="text" style="font-weight: bold;">
    																								<xsl:value-of select="wnio:Nazwisko"/>
    																							</span>
    																						</xsl:if>
    																					</span>
    																				</xsl:if>
    																			</xsl:for-each>
    																			<xsl:for-each select="wnio:TrescDokumentu/wnio:DaneWnioskodawcy/wnio:Sekcja2">
    																				<xsl:if test="../wnio:Nazwa='2'"> <span>
    																						<xsl:if test="true()">
    																							<span type="text" style="font-weight: bold;">
    																								<xsl:value-of select="wnio:Nazwa"/>
    																							</span>
    																						</xsl:if>
    																					</span>
    																				</xsl:if>
    																			</xsl:for-each> </td>
    																	</tr>
    																	<tr>
    																		<td colspan="2" style="font-weight: normal; padding: 5px; text-align: left;">Ulica: <span>
    																				<xsl:if test="true()">
    																					<span type="text" style="font-weight: bold;">
    																						<xsl:value-of select="wnio:TrescDokumentu/wnio:DaneWnioskodawcy/wnio:Ulica"/>
    																					</span>
    																				</xsl:if>
    																			</span>
    																		</td>
    																		<td style="font-weight: normal; padding: 3px; text-align: justify;">Nr domu: <span>
    																				<xsl:if test="true()">
    																					<span type="text" style="font-weight: bold;">
    																						<xsl:value-of select="wnio:TrescDokumentu/wnio:DaneWnioskodawcy/wnio:NumerDomu"/>
    																					</span>
    																				</xsl:if>
    																			</span>
    																		</td>
    																		<td style="font-weight: normal; padding: 3px; text-align: justify;">Nr lokalu: <span>
    																				<xsl:if test="true()">
    																					<span type="text" style="font-weight: bold;">
    																						<xsl:value-of select="wnio:TrescDokumentu/wnio:DaneWnioskodawcy/wnio:NumerLokalu"/>
    																					</span>
    																				</xsl:if>
    																			</span>
    																		</td>
    																	</tr>
    																	<tr>
    																		<td colspan="2" style="font-weight: normal; padding: 5px; text-align: left;" width="50%">Miejscowość: <span>
    																				<xsl:if test="true()">
    																					<span type="text" style="font-weight: bold;">
    																						<xsl:value-of select="wnio:TrescDokumentu/wnio:DaneWnioskodawcy/wnio:Miejscowosc"/>
    																					</span>
    																				</xsl:if>
    																			</span>
    																		</td>
    																		<td colspan="2" style="font-weight: normal; padding: 5px; text-align: justify;">Kod pocztowy: <span>
    																				<xsl:if test="true()">
    																					<span type="text" style="font-weight: bold;">
    																						<xsl:value-of select="wnio:TrescDokumentu/wnio:DaneWnioskodawcy/wnio:KodPocztowy"/>
    																					</span>
    																				</xsl:if>
    																			</span>
    																		</td>
    																	</tr>
    																	<tr>
    																		<td colspan="4" style="font-weight: normal; padding: 5px; text-align: left;">nr telefonu: <span>
    																				<xsl:if test="true()">
    																					<span type="text" style="font-weight: bold;">
    																						<xsl:value-of select="wnio:TrescDokumentu/wnio:DaneWnioskodawcy/wnio:Telefon"/>
    																					</span>
    																				</xsl:if>
    																			</span>
    																		</td>
    																	</tr>
    																	<tr>
    																		<td colspan="4" style="font-weight: normal; padding: 5px; text-align: left;">adres e-mail: <span>
    																				<xsl:if test="true()">
    																					<span type="text" style="font-weight: bold;">
    																						<xsl:value-of select="wnio:TrescDokumentu/wnio:DaneWnioskodawcy/wnio:Email"/>
    																					</span>
    																				</xsl:if>
    																			</span>
    																		</td>
    																	</tr>
    																</tbody>
    															</table>
    															<div style="padding:10px 0 10px 0;font-size:12px;">
    																<span>
    																	<xsl:if test="true()">
    																		<span>
    																			<xsl:choose>
    																				<xsl:when test="contains(concat(concat(' ', normalize-space(wnio:TrescDokumentu/wnio:AdresKorespondencyjny/wnio:CzyJest)),' '),  ' 1 ' )">
    																					<span>[<b>X</b>]</span>
    																				</xsl:when>
    																				<xsl:otherwise>
    																					<span>[ ]</span>
    																				</xsl:otherwise>
    																			</xsl:choose>
    																			<label>
    																				<span> adres korespondencyjny</span>
    																			</label>
    																		</span>
    																	</xsl:if>
    																</span>
    															</div>
    															<xsl:for-each select="wnio:TrescDokumentu/wnio:AdresKorespondencyjny/wnio:Sekcja">
    																<xsl:if test="(../wnio:CzyJest=&#34;1&#34;)">
    																	<table border="0" cellpadding="0" cellspacing="0" style="padding: 0px; width: 100%; border-collapse: collapse; background-color: #ffffff; font-size: 12px;">
    																		<tbody>
    																			<tr>
    																				<td colspan="2" style="font-weight: normal; padding: 5px; text-align: left;">Ulica: <span>
    																						<xsl:if test="true()">
    																							<span type="text" style="font-weight: bold;">
    																								<xsl:value-of select="wnio:TrescDokumentu/wnio:DanePelnomocnika/wnio:ulica"/>
    																							</span>
    																						</xsl:if>
    																					</span>
    																				</td>
    																				<td style="font-weight: normal; padding: 3px; text-align: justify;">Nr domu: <span>
    																						<xsl:if test="true()">
    																							<span type="text" style="font-weight: bold;">
    																								<xsl:value-of select="wnio:TrescDokumentu/wnio:DanePelnomocnika/wnio:NumerDomu"/>
    																							</span>
    																						</xsl:if>
    																					</span>
    																				</td>
    																				<td style="font-weight: normal; padding: 3px; text-align: justify;">Nr lokalu: <span>
    																						<xsl:if test="true()">
    																							<span type="text" style="font-weight: bold;">
    																								<xsl:value-of select="wnio:TrescDokumentu/wnio:DanePelnomocnika/wnio:NumerLokalu"/>
    																							</span>
    																						</xsl:if>
    																					</span>
    																				</td>
    																			</tr>
    																			<tr>
    																				<td colspan="2" style="ont-weight: normal; padding: 5px; text-align: left;" width="50%">Miejscowość: <span>
    																						<xsl:if test="true()">
    																							<span type="text" style="font-weight: bold;">
    																								<xsl:value-of select="wnio:Miejscowosc"/>
    																							</span>
    																						</xsl:if>
    																					</span>
    																				</td>
    																				<td colspan="2" style="font-weight: normal; padding: 5px; text-align: justify;">Kod pocztowy: <span>
    																						<xsl:if test="true()">
    																							<span type="text" style="font-weight: bold;">
    																								<xsl:value-of select="wnio:TrescDokumentu/wnio:DanePelnomocnika/wnio:KodPocztowy"/>
    																							</span>
    																						</xsl:if>
    																					</span>
    																				</td>
    																			</tr>
    																		</tbody>
    																	</table>
    																</xsl:if>
    															</xsl:for-each>
    														</td>
    														<td style="font-weight: normal; padding: 10px; text-align: left; font-size: 12px;">
    															<p align="right">Latowicz, <xsl:if test="true()">
    																	<xsl:value-of select="wnio:TrescDokumentu/wnio:Wniosek/wnio:deklaracjaZDnia"/>
    																</xsl:if> r.</p>
    															<br/>
    															<br/>
    															<br/> <br/>
    															<br/>
    															<div align="right" style="font-weight: normal; font-size: 18px;">
    																<xsl:value-of select="wnio:DaneDokumentu/str:Adresaci/meta:Podmiot/inst:Instytucja/inst:NazwaInstytucji"/>
    															</div>
    														</td>
    													</tr>
    												</tbody>
    											</table>
    										</div>
    										<div style="font-size: 18px; font-weight: bold; text-align: center; margin: 30px 0px 30px 0px;">WNIOSEK<br/>
    											<p align="center" class="Standard">o wydanie zaświadczenia o posiadaniu przyłącza <span>
    													<label>
    														<span/>
    													</label>
    													<xsl:if test="true()">
    														<span>
    															<xsl:if test="wnio:TrescDokumentu/wnio:RodzajZaswiadczenia = 1">kanalizacyjnego</xsl:if>
    															<xsl:if test="wnio:TrescDokumentu/wnio:RodzajZaswiadczenia = 2">wodociągowego</xsl:if>
    														</span>
    													</xsl:if>
    												</span> zasilanego z wodociągu gminnego </p>
    										</div>
    										<table cellpadding="0" cellspacing="0" style="margin: 0px 0px 3px; padding: 0; width: 100%; border-collapse: collapse; margin-top: 30px;">
    											<tbody>
    												<tr>
    													<td colspan="2" style="text-align: justify; background-color: #ffffff; font-size: 12px;">
    														<div style="font-weight: normal;">
    															<p class="Standarduser">
    																<strong>LOKALIZACJA NIERUCHOMOŚCI</strong>
    															</p>
    															<table border="0" cellpadding="0" cellspacing="0" style="margin: 10px 0px 3px; padding: 0px; width: 100%; border-collapse: collapse; font-size: 12px;">
    																<tbody>
    																	<tr>
    																		<td colspan="2" style="font-weight: normal; padding: 5px; text-align: left;">Ulica: <span>
    																				<xsl:if test="true()">
    																					<span type="text" style="font-weight: bold;">
    																						<xsl:value-of select="wnio:TrescDokumentu/wnio:Lokalizacja/wnio:ulica"/>
    																					</span>
    																				</xsl:if>
    																			</span>
    																		</td>
    																		<td style="font-weight: normal; padding: 3px; text-align: justify;">Nr domu: <span>
    																				<xsl:if test="true()">
    																					<span type="text" style="font-weight: bold;">
    																						<xsl:value-of select="wnio:TrescDokumentu/wnio:Lokalizacja/wnio:NrDomu"/>
    																					</span>
    																				</xsl:if>
    																			</span>
    																		</td>
    																		<td style="font-weight: normal; padding: 3px; text-align: justify;">Nr lokalu: <span>
    																				<xsl:if test="true()">
    																					<span type="text" style="font-weight: bold;">
    																						<xsl:value-of select="wnio:TrescDokumentu/wnio:Lokalizacja/wnio:NrLokalu"/>
    																					</span>
    																				</xsl:if>
    																			</span>
    																		</td>
    																	</tr>
    																	<tr>
    																		<td colspan="2" style="font-weight: normal; padding: 5px; text-align: left;" width="50%">Miejscowość: <span>
    																				<xsl:if test="true()">
    																					<span type="text" style="font-weight: bold;">
    																						<xsl:value-of select="wnio:TrescDokumentu/wnio:Lokalizacja/wnio:Miejscowosc"/>
    																					</span>
    																				</xsl:if>
    																			</span>
    																		</td>
    																		<td colspan="2" style="font-weight: normal; padding: 5px; text-align: justify;">Kod pocztowy: <span>
    																				<xsl:if test="true()">
    																					<span type="text" style="font-weight: bold;">
    																						<xsl:value-of select="wnio:TrescDokumentu/wnio:Lokalizacja/wnio:kod"/>
    																					</span>
    																				</xsl:if>
    																			</span>
    																		</td>
    																	</tr>
    																	<tr>
    																		<td colspan="2" style="font-weight: normal; padding: 5px; text-align: left;">działka o nr ewidencyjnym: <span>
    																				<xsl:if test="true()">
    																					<span type="text" style="font-weight: bold;">
    																						<xsl:value-of select="wnio:TrescDokumentu/wnio:Lokalizacja/wnio:DziaklaNr"/>
    																					</span>
    																				</xsl:if>
    																			</span>
    																		</td>
    																		<td colspan="2" style="font-weight: normal; padding: 5px; text-align: left;">obręb: <span>
    																				<xsl:if test="true()">
    																					<span type="text" style="font-weight: bold;">
    																						<xsl:value-of select="wnio:TrescDokumentu/wnio:Lokalizacja/wnio:Obreb"/>
    																					</span>
    																				</xsl:if>
    																			</span>
    																		</td>
    																	</tr>
    																</tbody>
    															</table>
    														</div>
    														<br/>
    														<p class="Standard">Zaświadczenie jest potrzebne celem przedłożenia w 
    															<span type="text" style="font-weight: bold;">
    																<xsl:if test="true()">
    																	<xsl:call-template name="substitute">
    																		<xsl:with-param name="string" select="wnio:TrescDokumentu/wnio:CelPrzedlozenia"/>
    																	</xsl:call-template>
    																</xsl:if>
    															</span>
    														</p><p class="Standard">w sprawie  <span>
    																<xsl:if test="true()">
    																	<span>
    																		<xsl:if test="wnio:TrescDokumentu/wnio:Sprawa = 1">mieszkaniowego.</xsl:if>
    																		<xsl:if test="wnio:TrescDokumentu/wnio:Sprawa = 2">innej:</xsl:if>
    																	</span>
    																</xsl:if>
    															</span>
    														<br/>
    														<xsl:for-each select="wnio:TrescDokumentu/wnio:sekcjaSprawa">
    															<xsl:if test="(../wnio:Sprawa='2')"> <span type="text" style="font-weight: bold;">
    																	<xsl:if test="true()">
    																		<xsl:call-template name="substitute">
    																			<xsl:with-param name="string" select="wnio:jaka"/>
    																		</xsl:call-template>
    																	</xsl:if>
    																</span>.</xsl:if>
    														</xsl:for-each></p><p> </p><p class="Standard">
    															<span style="text-decoration: underline;">Pouczenie</span>:<br/>
    															<span>
    																<xsl:if test="true()">
    																	<span>
    																		<xsl:value-of select="wnio:TrescDokumentu/wnio:Pouczenie"/>
    																	</span>
    																</xsl:if>
    															</span>
    														</p>
    														<br/>
    														<p align="center" class="Standarduser">
    															<strong>
    																<span style="text-decoration: underline;">OŚWIADCZENIE O WYRAŻENIU ZGODY <span>
    
    																	</span>
    																</span>
    															</strong>
    														</p><p class="Standard">
    															<xsl:if test="true()">
    																<span>
    																	<xsl:value-of select="wnio:TrescDokumentu/wnio:Oswiadczenie"/>
    																</span>
    															</xsl:if>
    														</p><p> </p>
    														<div>
    															<p align="center" class="Standard">
    																<strong>OBOWIĄZEK INFORMACYJNY</strong>
    															</p>
    														</div>
    														<div>
    															<div style="font-size: 12px; font-weight:normal;text-align:justify;">
    																<xsl:call-template name="replace">
    																	<xsl:with-param name="string" select="wnio:TrescDokumentu/wnio:Klauzula"/>
    																</xsl:call-template>	
    															</div>
    														</div>
    														<br/>
    														<div style="text-align: left; font-weight: normal; padding: 15px 0 25px 0;"> Informacja o podpisie elektronicznym:
    															<div style="display: inline-block; padding-left: 200px;">
    																<span style="font-size: 12px;">
    																	<p align="center" style="text-align: center;font-size: 10px;font-family: Verdana;line-height: 20px;">
    																		<xsl:choose>
    																			<xsl:when test="string-length(//wnio:Dokument/ds:Signature/ds:SignatureValue) &gt; 0">
    																				<xsl:text>Dokument został podpisany, aby go zweryfikować</xsl:text>
    																				<br/>
    																				<xsl:text>należy użyć oprogramowania do weryfikacji podpisu</xsl:text>
    																				<xsl:choose>
    																					<xsl:when test="count(//wnio:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime']) &gt; 1">
    																						<br/>
    																						<xsl:text>Daty złożenia podpisu: </xsl:text>
    																						<xsl:for-each select="//wnio:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime']">
    																							<xsl:value-of select="."/>
    																						</xsl:for-each>
    																					</xsl:when>
    																					<xsl:when test="count(//wnio:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime']) = 1">
    																						<br/>
    																						<xsl:text>Data złożenia podpisu: </xsl:text>
    																						<xsl:for-each select="//wnio:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime']">
    																							<xsl:value-of select="."/>
    																						</xsl:for-each>
    																					</xsl:when>
    																					<xsl:when test="0 &gt;= count(//wnio:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime'])">
    																					</xsl:when>
    																				</xsl:choose>
    																			</xsl:when>
    																			<xsl:otherwise>
    																				<xsl:text>Dokument nie zawiera podpisu</xsl:text>
    																			</xsl:otherwise>
    																		</xsl:choose>
    																		<br/>
    																	</p>
    																</span>
    															</div>
    														</div>
    														<div>
    															<xsl:if test="wnio:TrescDokumentu/wnio:Zalaczniki/wnio:ZalacznikiDodatkowe/str:Zalaczniki/str:Zalacznik/str:DaneZalacznika != ''">
    																<span style="font-weight: bold;">
    																	<h2 style="font-size: 12px;font-family:Arial;line-height: 20px;padding: 0px;margin:0px; font-weight: bold;">Załączniki do wniosku:</h2>
    																</span>
    															</xsl:if>
    														</div>
    														<div>
    															<xsl:for-each select="wnio:TrescDokumentu/wnio:Zalaczniki/wnio:ZalacznikiDodatkowe/str:Zalaczniki/str:Zalacznik">
    																<xsl:if test="true()">
    																	<span>
    																		<xsl:value-of select="str:DaneZalacznika/../@nazwaPliku"/>
    																	</span>
    																</xsl:if>
    															</xsl:for-each>
    														</div><p> </p>
    													</td>
    												</tr>
    												<tr>
    													<td colspan="2" style="padding: 30px 0 0 0; text-align: justify; background-color: #ffffff; font-size: 12px;">
    														<div style="text-align: left; padding-left: 500px;"> </div>
    													</td>
    												</tr>
    											</tbody>
    										</table>
    									</td>
    								</tr>
    							</tbody>
    						</table>
    					</div>
    				</body>
    			</html>
    		</xsl:for-each>
    	</xsl:template>
    	<xsl:template name="substitute">
    		<xsl:param name="string"/>
    		<xsl:param name="from" select="'&#xA;'"/>
    		<xsl:param name="to">
    			<br/>
    		</xsl:param>
    		<xsl:choose>
    			<xsl:when test="contains($string, $from)">
    				<xsl:value-of select="substring-before($string, $from)"/>
    				<xsl:copy-of select="$to"/>
    				<xsl:call-template name="substitute">
    					<xsl:with-param name="string" select="substring-after($string, $from)"/>
    					<xsl:with-param name="from" select="$from"/>
    					<xsl:with-param name="to" select="$to"/>
    				</xsl:call-template>
    			</xsl:when>
    			<xsl:otherwise>
    				<xsl:value-of select="$string"/>
    			</xsl:otherwise>
    		</xsl:choose>
    	</xsl:template>
    	<xsl:template name="Zalaczniki">
    		<xsl:param name="zalaczniki" select="wnio:TrescDokumentu/wnio:Zalaczniki/wnio:ZalacznikiDodatkowe/str:Zalaczniki"/>
    		<xsl:if test="count($zalaczniki/str:Zalacznik) &gt; 0">
    			<div style="text-align: left;">
    				<ol style="padding-top: 0px;margin-top: 0px;">
    					<xsl:for-each select="$zalaczniki/str:Zalacznik[@nazwaPliku != '']">
    						<li>
    							<xsl:if test="@kodowanie='base64'">
    								<xsl:value-of select="@nazwaPliku"/>
    								<xsl:if test="string-length(str:OpisZalacznika) &gt; 0"> - </xsl:if>
    								<xsl:if test="string-length(str:OpisZalacznika) &gt; 0">
    									<xsl:value-of select="str:OpisZalacznika"/>
    								</xsl:if>
    							</xsl:if>
    							<xsl:if test="@kodowanie='URI'">
    								<a href="{str:DaneZalacznika}">
    									<xsl:value-of select="@nazwaPliku"/>
    								</a>
    								<xsl:if test="string-length(str:OpisZalacznika) &gt; 0">
    				 (wartość skrótu w chwili załączania: 
    									<xsl:value-of select="str:OpisZalacznika"/>)
    								</xsl:if>
    							</xsl:if>			
    						</li>
    					</xsl:for-each>
    				</ol>
    			</div>
    		</xsl:if>
    	</xsl:template>
    	<xsl:template name="replace">
    		<xsl:param name="string"/>
    		<xsl:if test="contains($string, '^')">
    			<xsl:value-of select="substring-before($string,'^')"/>
    			<ol>
    				<xsl:call-template name="replace">
    					<xsl:with-param name="string" select="substring-after($string,'^')"/>
    				</xsl:call-template>
    			</ol>	
    		</xsl:if>
    		<xsl:if test="contains($string, '_')">
    			<xsl:value-of select="substring-before($string,'_')"/>
    			<ul>
    				<xsl:call-template name="replace">
    					<xsl:with-param name="string" select="substring-after($string,'_')"/>
    				</xsl:call-template>
    			</ul>	
    		</xsl:if>
    		<xsl:if test="(string-length(substring-before($string, '$')) &lt;  string-length(substring-before($string, '|')) and contains($string, '$') and not(contains($string, '^')) and not(contains($string, '_')))">
    			<li>
    				<xsl:value-of select="substring-before($string,'$')"/>
    			</li>
    			<xsl:call-template name="replace">
    				<xsl:with-param name="string" select="substring-after($string,'$')"/>
    			</xsl:call-template>
    		</xsl:if>
    		<xsl:if test="string-length(substring-before($string, '$')) &gt;  string-length(substring-before($string, '|')) and contains($string, '|') and not(contains($string, '^')) and not(contains($string, '_'))">
    			<xsl:value-of select="substring-before($string,'|')"/>
    			<br/>
    			<xsl:call-template name="replace">
    				<xsl:with-param name="string" select="substring-after($string,'|')"/>
    			</xsl:call-template>
    		</xsl:if>
    	</xsl:template>
    </xsl:stylesheet>