keywords.xsl 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <?xml version="1.0" encoding="ASCII"?>
  2. <!--This file was created automatically by html2xhtml-->
  3. <!--from the HTML stylesheets.-->
  4. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
  5. <!-- ********************************************************************
  6. $Id$
  7. ********************************************************************
  8. This file is part of the XSL DocBook Stylesheet distribution.
  9. See ../README or http://docbook.sf.net/release/xsl/current/ for
  10. copyright and other information.
  11. ******************************************************************** -->
  12. <xsl:template match="keywordset"/>
  13. <xsl:template match="subjectset"/>
  14. <!-- ==================================================================== -->
  15. <xsl:template match="keywordset" mode="html.header">
  16. <meta name="keywords">
  17. <xsl:attribute name="content">
  18. <xsl:apply-templates select="keyword" mode="html.header"/>
  19. </xsl:attribute>
  20. </meta>
  21. </xsl:template>
  22. <xsl:template match="keyword" mode="html.header">
  23. <xsl:apply-templates/>
  24. <xsl:if test="following-sibling::keyword">, </xsl:if>
  25. </xsl:template>
  26. <!-- ==================================================================== -->
  27. </xsl:stylesheet>