Skip to content

Instantly share code, notes, and snippets.

@jessgusclark
Created April 18, 2016 19:34
Show Gist options
  • Save jessgusclark/18cdee1666e5b25f6678c58e32be6510 to your computer and use it in GitHub Desktop.
Save jessgusclark/18cdee1666e5b25f6678c58e32be6510 to your computer and use it in GitHub Desktop.
<!-- Get the Tags that are associated with the data file -->
<xsl:template name="GetTagsForPage">
<xsl:param name="page-path" />
<xsl:variable name="page-tags" select="doc(concat('ou:/Tag/GetTags?site=', $ou:site, '&amp;path=', $page-path))/tags" />
<xsl:for-each select="$page-tags/tag">
<xsl:call-template name="DisplayTag">
<xsl:with-param name="tag" select="." />
</xsl:call-template>
</xsl:for-each>
</xsl:template>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment