Hi i have a xslt file which will call an existing macro within umbraco
i need some suggestion on how to tag the macros in xslt
this is my existing macro
<umbraco:Macro Alias="AdmiralLogControl" runat="server">
here isn my new xslt :
<xsl:variable name="domainName">
<xsl:value-of select="umbraco.library:RequestServerVariables('HTTP_HOST')" />
</xsl:variable>
<xsl:template match="/">
<!-- start writing XSLT -->
<!-- determine which banner to show -->
<xsl:choose>
<xsl:when test="$domainName = 'bd.admiral.dk'">
<!-- code for banner here -->
</xsl:when>
<xsl:when test="$domainName = 'dk.admiral.dk'">
<!-- code for alternative banner goes here -->
</xsl:when>
<xsl:otherwise>
<!-- code for default banner goes here -->
<!--tag it here-->
</xsl:otherwise>
</xsl:choose>
This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/27729-calling-a-macro-in-xslt