<xsl:stylesheet xmlns:x="http://www.w3.org/2001/XMLSchema" xmlns:d="http://schemas.microsoft.com/sharepoint/dsp" version="1.0" exclude-result-prefixes="xsl msxsl ddwrt" xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime" xmlns:asp="http://schemas.microsoft.com/ASPNET/20" xmlns:__designer="http://schemas.microsoft.com/WebParts/v2/DataView/designer" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:SharePoint="Microsoft.SharePoint.WebControls" xmlns:ddwrt2="urn:frontpage:internal">



   <xsl:template match="/">
          <p></p>
           <p><br/><strong><xsl:value-of select="munstat/@value"/></strong> <BR/></p>
      <TABLE BORDER="0" CELLPADDING="5">
<tr>
					<td colspan="2" class="ms-nlline"></td>
				</tr>

                  <xsl:for-each select="munstat/thema">
            <TR ALIGN="left" valign="top">
               <TD>
<xsl:choose>
                 <xsl:when test="string-length(@adress)&gt;0">
   <p><xsl:element name="a">
    <xsl:attribute name="href"><xsl:value-of select="@adress"/>
     </xsl:attribute>
     <xsl:value-of select="@value"/>
   </xsl:element>
</p>
</xsl:when>
<xsl:otherwise>
    <p><strong><xsl:value-of select="@value"/></strong></p>
  </xsl:otherwise>
</xsl:choose>

                               </TD>
                <TD>
<xsl:for-each select="razdel">
<xsl:choose>
  <xsl:when test="string-length(@adress)&gt;0">
   <span><xsl:element name="a">
    <xsl:attribute name="href"><xsl:value-of select="@adress"/>
     </xsl:attribute>
     <xsl:value-of select="@value"/>
   </xsl:element>
</span>
</xsl:when>
<xsl:otherwise>
    <span><xsl:value-of select="@value"/></span>
  </xsl:otherwise>
</xsl:choose>


                       <xsl:for-each select="podrazdel">
                          <span> (

                                                   <xsl:choose>

<xsl:when test="string-length(@adress)&gt;0">
   <span><xsl:element name="a">
    <xsl:attribute name="href"><xsl:value-of select="@adress"/>
     </xsl:attribute>
     <xsl:value-of select="@value"/>
   </xsl:element>
</span>
</xsl:when>
<xsl:otherwise>
    <span><xsl:value-of select="@value"/></span>
  </xsl:otherwise>
</xsl:choose>

)</span>




</xsl:for-each>
<BR/><BR/>

                  </xsl:for-each>

                 </TD>
                
            </TR>
            <tr>
					<td colspan="2" class="ms-nlline"></td>
				</tr>

         </xsl:for-each>
      </TABLE>
   </xsl:template>
 </xsl:stylesheet>

