File: html.xsl

package info (click to toggle)
synopsis 0.12-8
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 38,112 kB
  • ctags: 18,122
  • sloc: ansic: 41,842; cpp: 39,920; xml: 17,704; python: 13,545; sh: 10,045; yacc: 1,271; makefile: 1,242; lex: 684; asm: 361
file content (31 lines) | stat: -rw-r--r-- 1,209 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?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">

<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl"/>

<xsl:param name="html.stylesheet" select="'synopsis.css'"/>
<xsl:param name="use.extensions" select="'1'"/>
<xsl:param name="use.id.as.filename" select="1"/>
<xsl:param name="chunk.first.sections" select="1"/>
<xsl:param name="tablecolumns.extension" select="0"/>
<xsl:param name="use.svg" select="0"/>
<xsl:param name="header.rule" select="0"/>
<xsl:param name="footer.rule" select="0"/>
<xsl:param name="table.borders.with.css" select="1"/>
<xsl:param name="segmentedlist.as.table" select="1"/>
<xsl:param name="refmanual.base" select="'http://synopsis.fresco.org/docs/Manual/'"/>

<!-- Specialize the olink template for links to the ref manual -->
<xsl:template match="olink[@targetdoc='reference']">
  <xsl:variable name="href">
    <xsl:value-of select="$refmanual.base"/>
  </xsl:variable>
  <a href="$href">
    <xsl:apply-templates />
  </a>
</xsl:template>

</xsl:stylesheet>