glossdisplay.xsl 1.2 KB

12345678910111213141516171819202122232425
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  3. xmlns:related-links="http://dita-ot.sourceforge.net/ns/200709/related-links"
  4. version="2.0"
  5. exclude-result-prefixes="related-links">
  6. <xsl:template match="*[contains(@class, ' topic/link ')][@type='glossentry']" mode="related-links:get-group"
  7. name="related-links:group.glossentry">
  8. <xsl:call-template name="related-links:group.concept"/>
  9. </xsl:template>
  10. <xsl:template match="*[contains(@class, ' topic/link ')][@type='glossentry']" mode="related-links:get-group-priority"
  11. name="related-links:group-priority.glossentry">
  12. <xsl:call-template name="related-links:group-priority.concept"/>
  13. </xsl:template>
  14. <xsl:template match="*[contains(@class, ' topic/link ')][@type='glossentry']" mode="related-links:result-group"
  15. name="related-links:result.glossentry">
  16. <xsl:param name="links"/>
  17. <xsl:call-template name="related-links:result.concept">
  18. <xsl:with-param name="links" select="$links"/>
  19. </xsl:call-template>
  20. </xsl:template>
  21. </xsl:stylesheet>