$v:olink-databases
$v:olink-databases — External olink databases.
Variable:
{http://docbook.org/ns/docbook/variables}olink-databases
Defined in:
modules/variable.xsl
Used in:
main.xsl
Synopsis
<xsl:variable name="v:olink-databases"
as="element(h:targetdb)*">
<xsl:if test="normalize-space($olink-databases) != ''">
<xsl:for-each select="tokenize($olink-databases, ',\s*') ! normalize-space(.)">
<xsl:variable name="db" select="resolve-uri(., static-base-uri())"/>
<xsl:try>
<xsl:variable name="olinkdb" select="doc($db)/h:targetdb"/>
<xsl:if test="empty($olinkdb)">
<xsl:message select="'No targets in olinkdb:', $db"/>
</xsl:if>
<xsl:sequence select="$olinkdb"/>
<xsl:catch>
<xsl:message select="'Failed to load olinkdb:', $db"/>
</xsl:catch>
</xsl:try>
</xsl:for-each>
</xsl:if>
</xsl:variable>
Description
The $v:olink-databases
variable is usually derived from the
$olink-databases
parameter. It must contain a sequence of
olink target databases.