summaryrefslogtreecommitdiff
path: root/help3xsl/get_bookmark.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'help3xsl/get_bookmark.xsl')
-rw-r--r--help3xsl/get_bookmark.xsl9
1 files changed, 1 insertions, 8 deletions
diff --git a/help3xsl/get_bookmark.xsl b/help3xsl/get_bookmark.xsl
index 692ded0ffe..c53a559596 100644
--- a/help3xsl/get_bookmark.xsl
+++ b/help3xsl/get_bookmark.xsl
@@ -22,13 +22,6 @@ xsltproc get_bookmark.xsl <file.xhp>
<xsl:param name="productversion"/>
<xsl:output indent="yes" method="text"/>
-<xsl:variable name="online" select="$local!='yes'"/>
-<xsl:variable name="target">
- <xsl:choose>
- <xsl:when test="$online"><xsl:value-of select="concat($productversion,'/')"/></xsl:when>
- <xsl:otherwise><xsl:value-of select="''"/></xsl:otherwise>
- </xsl:choose>
-</xsl:variable>
<!--
############################
@@ -61,7 +54,7 @@ xsltproc get_bookmark.xsl <file.xhp>
<xsl:template match="/">
<xsl:for-each select="//bookmark[@branch='index']">
<xsl:variable name="hrefhtml" select="substring-before($filename,'xhp')"/>
- <xsl:variable name="href" select="concat($target,$Language,'/',$hrefhtml,'html?DbPAR=',$app,'#',@id)"/>
+ <xsl:variable name="href" select="concat($Language,'/',$hrefhtml,'html?DbPAR=',$app,'#',@id)"/>
<xsl:for-each select="bookmark_value">
<xsl:text disable-output-escaping="yes"><![CDATA[{url:"]]></xsl:text>
<xsl:value-of select="$href"/>