Parameters
Each stylesheet run in the EuroMath environment receives these parameters:
<xsl:param name="empar:isRoot" select="true()"/>
<xsl:param name="empar:parentNs"/>
<xsl:param name="empar:documentName"/>
<xsl:param name="empar:documentExtension"/>
<xsl:param name="empar:documentDir"/>
<xsl:param name="empar:resultName"/>
<xsl:param name="empar:resultExtension"/>
<xsl:param name="empar:resultDir"/>
<xsl:param name="empar:euromathIdString"/>
<xsl:param name="empar:processingSource" select="true()"/>
Parameter |
Type |
Description |
isRoot |
boolean |
Determines whether the stylesheet is processing the root nametree - the
nametree that contains root element of the document. |
parentNs |
string |
If this nametree is not root then this parameter contains namespace of
the parent nametree, otherwise it is not defined. |
documentName |
string |
Denotes a string representing the name of the source document.
It does not contain path to the document nor the document extension. |
documentExtension |
string |
Denotes 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. |
documentDir |
string |
Denotes a string representing directory where the document is stored. URI
address, always ending with '/'. |
resultName |
string |
Denotes 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. |
resultExtension |
string |
Denotes 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. |
resultDir |
string |
Denotes a string representing directory where the result document. URI
address, always ending with '/'. |
euromathIdString |
string |
Returns a string identificating the EuroMath instance. The string
represents a printable product identifier, such as "EuroMath2-1.3.0 ". |
processingSource |
boolean |
If true then the source of this exporter is the source
document. If false then we are processing an
output of another exporter. |