/[classpath]/gjdoc/src/resources/doctranslets/html/gjdoc.xsl
ViewVC logotype

Diff of /gjdoc/src/resources/doctranslets/html/gjdoc.xsl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by julian, Mon Nov 22 12:42:21 2004 UTC revision 1.4 by julian, Mon Nov 22 22:29:58 2004 UTC
# Line 30  Line 30 
30    xmlns:html="http://www.w3.org/TR/REC-html40"    xmlns:html="http://www.w3.org/TR/REC-html40"
31    xmlns="http://www.gnu.org/software/cp-tools/gjdocxslfiles">    xmlns="http://www.gnu.org/software/cp-tools/gjdocxslfiles">
32    
33      <xsl:include href="../gjdoc_common.xsl"/>
34    
35    <xsl:output method="xml"    <xsl:output method="xml"
36      encoding="utf-8"      encoding="utf-8"
37      indent="no"/>      indent="no"/>
# Line 73  Line 75 
75          </outputfile>          </outputfile>
76        </xsl:if>        </xsl:if>
77    
78        <outputfile>        <xsl:if test="not($gjdoc.option.nohelp)">
79          <name><xsl:text>fulltree.html</xsl:text></name>          <outputfile>
80          <sheet><xsl:text>fulltree.xsl</xsl:text></sheet>            <name><xsl:text>fulltree.html</xsl:text></name>
81          <comment><xsl:text>HTML Tree file</xsl:text></comment>            <sheet><xsl:text>fulltree.xsl</xsl:text></sheet>
82        </outputfile>            <comment><xsl:text>HTML Tree file</xsl:text></comment>
83            </outputfile>
84          </xsl:if>
85    
86          <xsl:if test="not($gjdoc.option.noindex)">
87            <xsl:choose>
88              <xsl:when test="$gjdoc.option.splitindex">
89                
90                <outputfile>
91                  <name><xsl:text>alphaindex.html</xsl:text></name>
92                  <info/>
93                  <sheet><xsl:text>alphaindex_chunked.xsl</xsl:text></sheet>
94                  <comment><xsl:text>HTML Alphabetical Index (Overview)</xsl:text></comment>
95                </outputfile>
96    
97                <xsl:for-each select="document('alphaindex.xml',/)/gjdoc:alphaindex/gjdoc:category">
98                  <outputfile>
99                    <name><xsl:value-of select="concat('alphaindex_', @letter, '.html')"/></name>
100                    <info><xsl:value-of select="@letter"/></info>
101                    <sheet><xsl:text>alphaindex_chunked.xsl</xsl:text></sheet>
102                    <comment><xsl:value-of select="concat('HTML Alphabetical Index (Letter ', @letter, ')')"/></comment>
103                  </outputfile>
104                </xsl:for-each>
105    
106              </xsl:when>
107              <xsl:otherwise>
108                <outputfile>
109                  <name><xsl:text>alphaindex.html</xsl:text></name>
110                  <sheet><xsl:text>alphaindex.xsl</xsl:text></sheet>
111                  <comment><xsl:text>HTML Alphabetical Index</xsl:text></comment>
112                </outputfile>
113              </xsl:otherwise>
114            </xsl:choose>
115          </xsl:if>
116    
117        <xsl:for-each select="gjdoc:rootdoc/gjdoc:packagedoc">        <xsl:for-each select="gjdoc:rootdoc/gjdoc:packagedoc">
118          <outputfile>          <outputfile>
# Line 117  Line 152 
152          <comment><xsl:text>CSS Stylesheet</xsl:text></comment>          <comment><xsl:text>CSS Stylesheet</xsl:text></comment>
153        </outputfile>              </outputfile>      
154    
155          <xsl:if test="not($gjdoc.option.nohelp)">
156            <outputfile>
157              <name><xsl:text>help.html</xsl:text></name>
158              <sheet><xsl:text>help.xsl</xsl:text></sheet>
159              <comment><xsl:text>Help file</xsl:text></comment>
160            </outputfile>
161          </xsl:if>
162      </gjdocoutput>      </gjdocoutput>
163    </xsl:template>    </xsl:template>
164    

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26