$chunk-output-base-uri
$chunk-output-base-uri — Output base URI for chunks.
Parameter:
{}chunk-output-base-uri
Defined in:
param.xsl
Used in:
param.xsl, modules/chunk.xsl, modules/chunk-cleanup.xsl
Synopsis
|<xsl:param
|name="chunk-output-base-uri"
|as="xs:string">
|<xsl:choose>
|<xsl:when test="not($v:chunk)"><!-- it doesn't actually matter -->
|<xsl:sequence select="''"/>
|</xsl:when>
|<xsl:when use-when="function-available('ext:cwd')" test="true()">
|<xsl:message select="'Default output base uri:', resolve-uri(ext:cwd(), static-base-uri())"/>
|<xsl:sequence select="resolve-uri(ext:cwd(), static-base-uri())"/>
|</xsl:when>
|<xsl:otherwise>
|<xsl:message terminate="yes" select="'You must specify the $chunk-output-base-uri'"/>
|</xsl:otherwise>
|</xsl:choose>
|</xsl:param>
Description
This parameter identifies the output directory where “chunks” will be stored. If the stylesheet is not producing chunked results (see Section 2.6, “Chunked” output), this parameter has no effect.
If the ext:cwd()
extension function (see
Section 2.5, Extension functions) is available, its value will be the default
value for this parameter. If the extension isn’t available, you must
provide a value for this parameter.