• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0"?> <!-- -*- sgml -*- -->
2<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
3
4<!-- special stylesheet to generate the docs to fit into the website -->
5<!-- the only differences between this and vg-html-chunk.xsl are:    -->
6<!-- (a) no css stylesheet is used;        -->
7<!-- (b) no navigation header is used;     -->
8<!-- (c) no html start/end tags are output -->
9
10
11<!-- import the common styles -->
12<xsl:import href="vg-html-common.xsl"/>
13
14
15<!-- custom header for website documentation            -->
16<!-- the original template inserts html+title+body tags -->
17<!-- see http://docbook.sourceforge.net/release/xsl/current/html/chunk-common.xsl -->
18<xsl:template name="chunk-element-content">
19  <xsl:param name="prev"/>
20  <xsl:param name="next"/>
21  <xsl:param name="nav.context"/>
22  <xsl:param name="content">
23    <xsl:apply-imports/>
24  </xsl:param>
25  <xsl:copy-of select="$content"/>
26  <xsl:call-template name="footer.navigation">
27	  <xsl:with-param name="prev" select="$prev"/>
28	  <xsl:with-param name="next" select="$next"/>
29	  <xsl:with-param name="nav.context" select="$nav.context"/>
30  </xsl:call-template>
31</xsl:template>
32
33
34</xsl:stylesheet>
35