Skip to content

Commit

Permalink
Fix duplicate globals analysis blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
sim642 committed Dec 1, 2021
1 parent 279681b commit 49ea2ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion resources/globals.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@
</xsl:template>

<xsl:template match="globs">
<xsl:for-each select="glob[1]/analysis" >
<!-- https://stackoverflow.com/questions/2291567/how-to-use-xslt-to-create-distinct-values#comment38881974_18886096 -->
<xsl:for-each select="glob/analysis[not(./@name=preceding::*/@name)]" >
<xsl:variable name="analysis" select="@name"/>
<div class="toggle">
<span>
Expand Down

0 comments on commit 49ea2ed

Please sign in to comment.