XDC - v. 0.6.1

File overview-summary.xsl

<xsl:stylesheet version="1.0">
  <xsl:import href="summary-page.xsl"/>
</xsl:stylesheet>

This is the XSLT stylesheet repsonsible for generating the overview-summary page of the XDC documentation.
Version:
0.5
Author:
Jens Voß


Template Summary
<xsl:template match="/" mode="summaryPage.shortDescriptionHeader"/>

This template is an "implementation" of the "abstract" template defined in the stylesheet file summary-page.xsl.

<xsl:template match="/" mode="summaryPage.summaryTableHeader"/>

This is another "implementation" of an "abstract" template defined and used in the summary-page.xsl stylesheet.

<xsl:template match="/" mode="summaryPage.longDescriptionHeader"/>

This template also "implements" an "abstract" template of the stylesheet summary-page.xsl.

<xsl:template match="package" mode="summaryPage.itemLink"/>

This template "implements" another "abstract" template defined in the stylesheet summary-page.xsl by creating a relative URL to the package summary file of the documented package.

<xsl:template match="/*/*[not (string-length(@name))]" mode="summaryPage.displayItem"/>

This template "overrides" the template with the same mode defined in the imported stylesheet summary-page.xsl by returning an empty String for the package with an empty name (the "unnamed package").


Template Detail
<xsl:template match="/" mode="summaryPage.shortDescriptionHeader"/>

This template is an "implementation" of the "abstract" template defined in the stylesheet file summary-page.xsl. It displays the title of the documented API (which is specified with the -doctitle option) in the upper section of the overview summary page.


<xsl:template match="/" mode="summaryPage.summaryTableHeader"/>

This is another "implementation" of an "abstract" template defined and used in the summary-page.xsl stylesheet. It returns the header label (in this case, the literal "Packages") of the table of packages of the documented API.


<xsl:template match="/" mode="summaryPage.longDescriptionHeader"/>

This template also "implements" an "abstract" template of the stylesheet summary-page.xsl. It returns an empty String.


<xsl:template match="package" mode="summaryPage.itemLink"/>

This template "implements" another "abstract" template defined in the stylesheet summary-page.xsl by creating a relative URL to the package summary file of the documented package.


<xsl:template match="/*/*[not (string-length(@name))]" mode="summaryPage.displayItem"/>

This template "overrides" the template with the same mode defined in the imported stylesheet summary-page.xsl by returning an empty String for the package with an empty name (the "unnamed package").


XDC - v. 0.6.1

Copyright © 2005 - 2006 Jens Voß.