﻿<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:template match="/">

        <xsl:variable name="HostName" select="normalize-space(Output/HostName)"></xsl:variable>
        
        <xsl:for-each select ="Output/Communities/Community">
            <div align="left">
                <a class="link" href="http://www.lifespace.com/{PromoteKey}">
                    <span style="font-size: 12pt;">
                        <xsl:value-of select="Lifespace"/> : <xsl:value-of select="Section"/> : <xsl:value-of select="CommunityName"/>
                    </span>
                </a>
            </div>
        </xsl:for-each>
    </xsl:template>
</xsl:stylesheet>
