2004-01-13 19:45:19 +01:00
|
|
|
<?xml version='1.0'?>
|
|
|
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
|
|
version='1.0'
|
|
|
|
xmlns="http://www.w3.org/TR/xhtml1/transitional"
|
|
|
|
exclude-result-prefixes="#default">
|
|
|
|
|
2004-01-16 00:51:32 +01:00
|
|
|
<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl"/>
|
2006-12-10 17:01:06 +01:00
|
|
|
<xsl:include href="stylesheet-common.xsl" />
|
2004-01-13 19:45:19 +01:00
|
|
|
|
2004-01-16 00:51:32 +01:00
|
|
|
|
2006-12-10 17:01:06 +01:00
|
|
|
<!-- Parameters -->
|
2012-11-09 05:55:36 +01:00
|
|
|
<xsl:param name="base.dir" select="'html/'"></xsl:param>
|
2004-01-13 19:45:19 +01:00
|
|
|
<xsl:param name="use.id.as.filename" select="'1'"></xsl:param>
|
|
|
|
<xsl:param name="make.valid.html" select="1"></xsl:param>
|
2004-01-16 00:51:32 +01:00
|
|
|
<xsl:param name="generate.id.attributes" select="1"></xsl:param>
|
2004-01-13 19:45:19 +01:00
|
|
|
<xsl:param name="generate.legalnotice.link" select="1"></xsl:param>
|
|
|
|
<xsl:param name="link.mailto.url">pgsql-docs@postgresql.org</xsl:param>
|
2013-11-28 04:22:40 +01:00
|
|
|
<xsl:param name="chunk.first.sections" select="1"/>
|
2004-01-16 00:51:32 +01:00
|
|
|
<xsl:param name="chunk.quietly" select="1"></xsl:param>
|
2013-10-18 04:00:27 +02:00
|
|
|
<xsl:param name="toc.max.depth">2</xsl:param>
|
2004-01-16 00:51:32 +01:00
|
|
|
|
2013-11-29 04:45:08 +01:00
|
|
|
<xsl:param name="website.stylesheet" select="0"/>
|
|
|
|
|
|
|
|
<xsl:param name="html.stylesheet">
|
|
|
|
<xsl:choose>
|
|
|
|
<xsl:when test="$website.stylesheet = 0">stylesheet.css</xsl:when>
|
|
|
|
<xsl:otherwise>http://www.postgresql.org/media/css/docs.css</xsl:otherwise>
|
|
|
|
</xsl:choose>
|
|
|
|
</xsl:param>
|
|
|
|
|
2004-01-13 19:45:19 +01:00
|
|
|
|
2012-04-30 20:12:28 +02:00
|
|
|
<!-- Change display of some elements -->
|
|
|
|
|
|
|
|
<xsl:template match="command">
|
|
|
|
<xsl:call-template name="inline.monoseq"/>
|
|
|
|
</xsl:template>
|
|
|
|
|
2013-10-18 04:00:27 +02:00
|
|
|
|
|
|
|
<!-- table of contents configuration -->
|
|
|
|
|
|
|
|
<xsl:param name="generate.toc">
|
|
|
|
appendix toc,title
|
|
|
|
article/appendix nop
|
|
|
|
article toc,title
|
|
|
|
book toc,title
|
|
|
|
chapter toc,title
|
|
|
|
part toc,title
|
|
|
|
preface toc,title
|
|
|
|
qandadiv toc
|
|
|
|
qandaset toc
|
|
|
|
reference toc,title
|
|
|
|
sect1 toc
|
|
|
|
sect2 toc
|
|
|
|
sect3 toc
|
|
|
|
sect4 toc
|
|
|
|
sect5 toc
|
|
|
|
section toc
|
|
|
|
set toc,title
|
|
|
|
</xsl:param>
|
|
|
|
|
2004-01-13 19:45:19 +01:00
|
|
|
</xsl:stylesheet>
|