﻿<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl"
>
    <xsl:output method="xml" indent="yes"/>

    <xsl:template name="Footer">
		<div>
			<xsl:choose>
				<xsl:when test="/AjaxRequest/FooterContent/Footers/Footer">
					<footer>
						<div class="container">
							<div class="footer_mid">
								<div class="row">
									<xsl:for-each select="/AjaxRequest/FooterContent/Footers/Footer">
										<div class="col-sm-3 m_top">
											<p class="f_text">
												<xsl:value-of select="./Title"/>
											</p>
											<ul class="list-unstyled">
												<xsl:for-each select="./Link">
													<xsl:variable name="url" select="./@url"></xsl:variable>
													<li class="f_text" style="font-weight:normal;">
														<a href="{$url}" style="color:#535554;" target="_blank">
															<xsl:value-of select="."/>

														</a>
													</li>
												</xsl:for-each>
											</ul>
										</div>
									</xsl:for-each>
								</div>
							</div>
						</div>
					</footer>
				</xsl:when>
				<xsl:otherwise>
					<div></div>
				</xsl:otherwise>
			</xsl:choose>
		  
		</div>
    </xsl:template>
</xsl:stylesheet>
