stylesheets/devhelp.xsl
author "German Poo-Caaman~o <gpoo@ubiobio.cl>"
Thu, 07 Sep 2006 16:46:51 -0400
changeset 0 7e52f5046fb6
permissions -rw-r--r--
2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl> * Makefile: * programming-guidelines.xml: * stylesheets/README * stylesheets/devhelp.xsl * stylesheets/home.png * stylesheets/left.png * stylesheets/librognome-html.xsl * stylesheets/programming-guidelines.css: * stylesheets/right.png: * stylesheets/up.png: * ChangeLog: Initial version.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
     1
<?xml version='1.0'?> <!--*- mode: xml -*-->
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
     2
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
     3
                version='1.0'
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
     4
                xmlns="http://www.devhelp.net/book"
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
     5
                exclude-result-prefixes="#default">
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
     6
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
     7
  <xsl:template name="generate.devhelp">
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
     8
    <xsl:call-template name="write.chunk">
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
     9
      <xsl:with-param name="filename">
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    10
        <xsl:choose>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    11
          <xsl:when test="$gtkdoc.bookname">
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    12
            <xsl:value-of select="$gtkdoc.bookname"/>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    13
          </xsl:when>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    14
          <xsl:otherwise>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    15
            <xsl:text>book</xsl:text>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    16
          </xsl:otherwise>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    17
        </xsl:choose>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    18
        <xsl:text>.devhelp</xsl:text>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    19
      </xsl:with-param>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    20
      <xsl:with-param name="method" select="'xml'"/>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    21
      <xsl:with-param name="indent" select="'yes'"/>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    22
      <xsl:with-param name="encoding" select="'utf-8'"/>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    23
      <xsl:with-param name="content">
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    24
        <xsl:call-template name="devhelp"/>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    25
      </xsl:with-param>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    26
    </xsl:call-template>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    27
  </xsl:template>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    28
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    29
  <xsl:template name="devhelp">
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    30
    <xsl:variable name="title">
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    31
      <xsl:apply-templates select="." mode="generate.devhelp.toc.title.mode"/>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    32
    </xsl:variable>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    33
    <xsl:variable name="link">
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    34
      <xsl:call-template name="href.target"/>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    35
    </xsl:variable>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    36
    <xsl:variable name="author">
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    37
      <xsl:if test="articleinfo|bookinfo">
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    38
        <xsl:apply-templates mode="generate.devhelp.authors"
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    39
                             select="articleinfo|bookinfo"/>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    40
      </xsl:if>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    41
    </xsl:variable>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    42
    <xsl:variable name="toc.nodes" select="part|reference|preface|chapter|
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    43
                                           appendix|article|bibliography|
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    44
                                           glossary|index|refentry|
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    45
                                           bridgehead|sect1"/>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    46
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    47
    <book title="{$title}" link="{$link}" author="{$author}" name="{$gtkdoc.bookname}">
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    48
      <xsl:if test="$toc.nodes">
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    49
        <chapters>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    50
          <xsl:apply-templates select="$toc.nodes"
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    51
                               mode="generate.devhelp.toc.mode"/>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    52
        </chapters>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    53
      </xsl:if>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    54
      <functions>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    55
        <xsl:apply-templates select="//refsect2"
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    56
                             mode="generate.devhelp.index.mode"/>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    57
      </functions>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    58
    </book>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    59
  </xsl:template>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    60
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    61
  <xsl:template match="*" mode="generate.devhelp.toc.mode">
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    62
    <xsl:variable name="title">
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    63
      <xsl:apply-templates select="." mode="generate.devhelp.toc.title.mode"/>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    64
    </xsl:variable>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    65
    <xsl:variable name="target">
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    66
      <xsl:variable name="anchor" select="title/anchor"/>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    67
      <xsl:choose>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    68
        <xsl:when test="$anchor">
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    69
          <xsl:call-template name="href.target">
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    70
            <xsl:with-param name="object" select="$anchor"/>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    71
          </xsl:call-template>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    72
        </xsl:when>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    73
        <xsl:otherwise>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    74
          <xsl:call-template name="href.target"/>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    75
        </xsl:otherwise>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    76
      </xsl:choose>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    77
    </xsl:variable>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    78
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    79
    <sub name="{$title}" link="{$target}">
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    80
      <xsl:apply-templates select="section|sect1|
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    81
                                   refentry|refsect|
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    82
                                   bridgehead|part|chapter"
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    83
                           mode="generate.devhelp.toc.mode"/>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    84
    </sub>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    85
  </xsl:template>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    86
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    87
  <xsl:template match="*" mode="generate.devhelp.index.mode">
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    88
    <xsl:variable name="title" select="title"/>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    89
    <xsl:variable name="anchor" select="title/anchor"/>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    90
    <xsl:variable name="target">
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    91
      <xsl:choose>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    92
        <xsl:when test="$anchor">
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    93
          <xsl:call-template name="href.target">
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    94
            <xsl:with-param name="object" select="$anchor"/>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    95
          </xsl:call-template>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    96
        </xsl:when>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    97
        <xsl:otherwise>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    98
          <xsl:call-template name="href.target"/>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    99
        </xsl:otherwise>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
   100
      </xsl:choose>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
   101
    </xsl:variable>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
   102
    <function name="{$title}" link="{$target}"/>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
   103
  </xsl:template>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
   104
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
   105
  <!-- get title -->
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
   106
  <xsl:template match="article" mode="generate.devhelp.toc.title.mode">
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
   107
    <xsl:value-of select="articleinfo/title"/>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
   108
  </xsl:template>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
   109
  <xsl:template match="book" mode="generate.devhelp.toc.title.mode">
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
   110
    <xsl:value-of select="bookinfo/title"/>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
   111
  </xsl:template>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
   112
  <xsl:template match="refentry" mode="generate.devhelp.toc.title.mode">
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
   113
    <xsl:value-of select="refmeta/refentrytitle"/>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
   114
  </xsl:template>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
   115
  <xsl:template match="*" mode="generate.devhelp.toc.title.mode">
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
   116
    <xsl:value-of select="title"/>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
   117
  </xsl:template>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
   118
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
   119
  <!-- generate list of authors ... -->
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
   120
  <xsl:template match="articleinfo|bookinfo" mode="generate.devhelp.authors">
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
   121
    <xsl:for-each select="authorgroup/author">
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
   122
      <xsl:value-of select="firstname"/>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
   123
      <xsl:text> </xsl:text>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
   124
      <xsl:value-of select="surname"/>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
   125
      <xsl:if test="not(last())">
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
   126
        <xsl:text>, </xsl:text>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
   127
      </xsl:if>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
   128
    </xsl:for-each>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
   129
  </xsl:template>
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
   130
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
   131
</xsl:stylesheet>