core.xsl

Core XSLTdoc Stylesheet
This stylesheet
Author:
ibirrer
CVS Id:
core.xsl 41 2009-01-10 11:31:18Z ibirrer
Copyright:
2004, P&P Software GmbH

Parameters Summary

xs:string* additionalCSS - source
Custom Stylesheets
string targetDir - source
The directory in which the documentation should be generated.

Match Templates Summary

/xsl:stylesheet (param: element() config) - source
Root template if XSLTdoConfig file is used
/XSLTdocConfig (param: element() config) - source
Root template if XSLTdocConfig file is used
* (mode: enhancePageAttributes) - source
No short description available
page (mode: enhancePageAttributes) - source
No short description available
* (param: configcurrentPagemode: htmlTemplate) - source
Identity template for XSLTdoc templates
xdt:content (param: element() configelement() currentPagemode: htmlTemplate) - source
This template replaces the xdt:content element in the html template
xdt:cssDeclaration (param: element() configelement() currentPagemode: htmlTemplate) - source
This template replaces the xdt:cssDeclaration element in the html template
xdt:menuLinks (param: element() configelement() currentPagemode: htmlTemplate) - source
This template replaces the xdt:menuLinks element in the html template
xdt:siteTitle (param: element() configelement() currentPagemode: htmlTemplate) - source
Renders the site title
* (mode: namspace2xhtml) - source
No short description available
page[@id='functionTemplateList'] (param: element() configelement() currentPagemode: renderContent) - source
This templates creates the content for a page with the name 'functionTemplateList'
page[@id='mainPage'] (param: element() configelement() currentPagemode: renderContent) - source
This templates creates the content for a page with the name 'mainPage'
page[@id='stylesheetList'] (param: element() configelement() currentPagemode: renderContent) - source
This templates creates the content for a page with the name 'stylesheetList'
page[parent::pagelist[@id='stylesheets']] (param: element() configelement() currentPagemode: renderContent) - source
This stylesheet renders the content for pages definded in the 'stylesheet' pagelist

Named Templates Summary

element()* buildStylesheetPagelist (param: xs:string stylesheetUrixs:string rootUrixs:string targetUri) - source
Builds a list of all stylesheet files by following the include and import links in each stylesheet
void generatePages (param: element() config) - source
Generates each page given in the config parameter

Parameters Detail

xs:string* additionalCSS - source
Custom Stylesheets
Add additional (custom) css stylesheets here to override css rules from the standard css file (XSLTdoc.css).
string targetDir - source
The directory in which the documentation should be generated.
The directory given must be relative to root stylesheet which is being processed. This parameter is used to compute the variable $targetDirUriAbs. If this parameter is not set the $targetDirUriAbs variable defaults a directory 'xsltdoc' which is created inside the same directory in which the input stylesheet occurs.
Only used if the input is a stylesheet file. Not used if the input is a XSLTdocConfig XML file.

Match Templates Detail

/xsl:stylesheet (param: element() config) - source
Root template if XSLTdoConfig file is used
Parameters:
element() config -
/XSLTdocConfig (param: element() config) - source
Root template if XSLTdocConfig file is used
Parameters:
element() config -
* (mode: enhancePageAttributes) - source
No short description available
page (mode: enhancePageAttributes) - source
No short description available
* (param: configcurrentPagemode: htmlTemplate) - source
Identity template for XSLTdoc templates
Parameters:
config -
currentPage -
xdt:content (param: element() configelement() currentPagemode: htmlTemplate) - source
This template replaces the xdt:content element in the html template
Parameters:
element() config -
element() currentPage -
xdt:cssDeclaration (param: element() configelement() currentPagemode: htmlTemplate) - source
This template replaces the xdt:cssDeclaration element in the html template
Parameters:
element() config -
element() currentPage -
xdt:menuLinks (param: element() configelement() currentPagemode: htmlTemplate) - source
This template replaces the xdt:menuLinks element in the html template
Parameters:
element() config -
element() currentPage -
xdt:siteTitle (param: element() configelement() currentPagemode: htmlTemplate) - source
Renders the site title
Parameters:
element() config -
element() currentPage -
* (mode: namspace2xhtml) - source
No short description available
page[@id='functionTemplateList'] (param: element() configelement() currentPagemode: renderContent) - source
This templates creates the content for a page with the name 'functionTemplateList'
Parameters:
element() config -
element() currentPage -
page[@id='mainPage'] (param: element() configelement() currentPagemode: renderContent) - source
This templates creates the content for a page with the name 'mainPage'
Parameters:
element() config -
element() currentPage -
page[@id='stylesheetList'] (param: element() configelement() currentPagemode: renderContent) - source
This templates creates the content for a page with the name 'stylesheetList'
Parameters:
element() config -
element() currentPage -
page[parent::pagelist[@id='stylesheets']] (param: element() configelement() currentPagemode: renderContent) - source
This stylesheet renders the content for pages definded in the 'stylesheet' pagelist
It just applies the template rules to the root element of the stylesheets linked in the page element. This calls the template rules defined in stylesheet.xsl.
Parameters:
element() config -
element() currentPage -

Named Templates Detail

element()* buildStylesheetPagelist (param: xs:string stylesheetUrixs:string rootUrixs:string targetUri) - source
Builds a list of all stylesheet files by following the include and import links in each stylesheet
Parameters:
xs:string stylesheetUri - The URI of the stylesheet from which indcludes/imports should be followed to find files.
xs:string rootUri - The root directory to which relative paths should be built to.
xs:string targetUri -
void generatePages (param: element() config) - source
Generates each page given in the config parameter
Parameters:
element() config -