Parameters provided to the XSLT

Each XSLT stylesheet run in the GENE environment receives these parameters when wrapped in XsltExporterBase class:

xmlns:gpar="dom://baka.sk/xml/gene/param"
<xsl:param name="gpar:isRoot" select="true()"/>
<xsl:param name="gpar:parentNs"/>
<xsl:param name="gpar:documentName"/>
<xsl:param name="gpar:documentExtension"/>
<xsl:param name="gpar:documentDir"/>
<xsl:param name="gpar:resultName"/>
<xsl:param name="gpar:resultExtension"/>
<xsl:param name="gpar:resultDir"/>
<xsl:param name="gpar:processingSource" select="true()"/>
ParameterTypeDescription
isRootbooleanDetermines whether the stylesheet is processing the root nametree - the nametree that contains root element of the document.
parentNsstringIf this nametree is not root then this parameter contains namespace of the parent nametree, otherwise it is not defined.
documentNamestringDenotes a string representing the name of the source document. It does not contain path to the document nor the document extension.
documentExtensionstringDenotes a string representing the extension of the document being transformed. The string is empty if the source XML file has no extension. If there is an extension, its first character is a dot.
documentDirstringDenotes a string representing directory where the document is stored. URI address, always ending with '/'.
resultNamestringDenotes a string representing the name of the output file that has been given as a parameter to the transformer. The file extension (the character string that terminate the file name, after a dot) is not part of that string, nor is the path to the file. Empty string if transforming for an on-screen renderer.
resultExtensionstringDenotes a string representing the extension of the document being transformed. The string is empty if the output file name has no extension, or if the transformer feeds on-screen renderer. If there is an extension, its first character is a dot. Empty string if transforming for an on-screen renderer.
resultDirstringDenotes a string representing directory where the result document. URI address, always ending with '/'.
processingSourcebooleanprocessingSourceIf true then the source of this exporter is the source document. If false then we are processing an output of another exporter.