XDC - v. 0.6.1

File xsl.xsl

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

This is the XSLT stylesheet repsonsible for processing the XDC comments in XSLT stylesheet files.
Version:
0.5
Author:
Jens Voß


Template Summary
<xsl:template match="xsl:stylesheet" mode="contentPage.getMemberNames"/>

This template is an "implementation" of the "abstract" template with mode="contentPage.getMemberNames" defined (and used) in content-page.xsl.

<xsl:template match="xsl:stylesheet" mode="contentPage.getSubelementNames"/>

This is another "implementation" of an "abstract" template defined (and used) in content-page.xsl.

<xsl:template match="xsl:template" mode="contentPage.getSubelementNames"/>

The return value of this "implementation" of the "abstract" template with mode="contentPage.getSubelementNames" defined (and used) in content-page.xsl ensures XSLT template parameters to be listed as subelements of the documented template.

<xsl:template match="xsl:template" mode="basePage.getXdcTagNames"/>

This is another "implementation" of an "abstract" template defined (and used) in content-page.xsl.

<xsl:template match="/" mode="comments.displayXdcTagLabel">
  <xsl:param name="tagName"/>
</xsl:template>

This template "overwrites" the template with mode="comments.displayXdcTagLabel" defined and used in comments.xsl and "implemented" first in base-page.xsl.

<xsl:template match="/" mode="comments.getArgTag">
  <xsl:param name="tagName"/>
</xsl:template>

This template "implements" the "abstract" template defined and used in the stylesheet comments.xsl.


Template Detail
<xsl:template match="xsl:stylesheet" mode="contentPage.getMemberNames"/>

This template is an "implementation" of the "abstract" template with mode="contentPage.getMemberNames" defined (and used) in content-page.xsl. Its return value ensures XSLT parameters and templates to be considered for documentation.


<xsl:template match="xsl:stylesheet" mode="contentPage.getSubelementNames"/>

This is another "implementation" of an "abstract" template defined (and used) in content-page.xsl. Its return value ensures XSLT imports and includes to be listed as subelements of the stylesheet documented.


<xsl:template match="xsl:template" mode="contentPage.getSubelementNames"/>

The return value of this "implementation" of the "abstract" template with mode="contentPage.getSubelementNames" defined (and used) in content-page.xsl ensures XSLT template parameters to be listed as subelements of the documented template.


<xsl:template match="xsl:template" mode="basePage.getXdcTagNames"/>

This is another "implementation" of an "abstract" template defined (and used) in content-page.xsl. Its return value ensures @param tags to be included in the XDC documentation for the documented XSLT template (in addition to the standard tags recognized by XDC).


<xsl:template match="/" mode="comments.displayXdcTagLabel">
  <xsl:param name="tagName"/>
</xsl:template>

This template "overwrites" the template with mode="comments.displayXdcTagLabel" defined and used in comments.xsl and "implemented" first in base-page.xsl. It defines how the @param tag is to be handled (and delegates to its "ancestor implementation" for the standard XDC tags).

See:
The defining template


<xsl:template match="/" mode="comments.getArgTag">
  <xsl:param name="tagName"/>
</xsl:template>

This template "implements" the "abstract" template defined and used in the stylesheet comments.xsl. It returns "1" (meaning "yes") if the tagName is 'param', and "0" otherwise.


XDC - v. 0.6.1

Copyright © 2005 - 2006 Jens Voß.