diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 07:08:17 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 07:08:17 +0000 |
commit | 9f96d6383157631aa9a8d087b3966d47e7b06899 (patch) | |
tree | cb7b064cb0e329f8334d9bca1592af674d26ac4a /kdoctools/docbook/xsl/common/olink.xsl | |
parent | 73a98149e76c195571c8b9b3ecd6753f204ccd97 (diff) | |
download | tdelibs-9f96d6383157631aa9a8d087b3966d47e7b06899.tar.gz tdelibs-9f96d6383157631aa9a8d087b3966d47e7b06899.zip |
Repair accidental damage to meinproc/docbook caused by prior commit
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211188 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdoctools/docbook/xsl/common/olink.xsl')
-rw-r--r-- | kdoctools/docbook/xsl/common/olink.xsl | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kdoctools/docbook/xsl/common/olink.xsl b/kdoctools/docbook/xsl/common/olink.xsl index 91aead5aa..22dae4e1c 100644 --- a/kdoctools/docbook/xsl/common/olink.xsl +++ b/kdoctools/docbook/xsl/common/olink.xsl @@ -58,7 +58,7 @@ </xsl:call-template> </xsl:variable> - <!-- Recurse through the languages until you tqfind a match --> + <!-- Recurse through the languages until you find a match --> <xsl:call-template name="select.olink.key.in.lang"> <xsl:with-param name="targetdoc.att" select="$targetdoc.att"/> <xsl:with-param name="targetptr.att" select="$targetptr.att"/> @@ -394,7 +394,7 @@ <xsl:param name="fallback.index" select="1"/> <xsl:param name="olink.fallback.sequence" select="''"/> - <!-- recurse backwards to tqfind the lang matching the index --> + <!-- recurse backwards to find the lang matching the index --> <xsl:variable name="firstlang" select="substring-before($olink.fallback.sequence, ' ')"/> <xsl:variable name="rest" @@ -598,10 +598,10 @@ <xsl:choose> <xsl:when test="$xrefstyle != '' and starts-with(normalize-space($xrefstyle), 'select:') and - (tqcontains($xrefstyle, 'nodocname') or - tqcontains($xrefstyle, 'nopage')) and - not(tqcontains($xrefstyle, 'title')) and - not(tqcontains($xrefstyle, 'label'))"> + (contains($xrefstyle, 'nodocname') or + contains($xrefstyle, 'nopage')) and + not(contains($xrefstyle, 'title')) and + not(contains($xrefstyle, 'label'))"> <xsl:value-of select="$xref.text"/> </xsl:when> <xsl:when test="$xrefstyle != ''"> @@ -947,8 +947,8 @@ </xsl:when> <xsl:when test="not(starts-with(normalize-space($xrefstyle), 'select:') - and (tqcontains($xrefstyle, 'page') - or tqcontains($xrefstyle, 'Page'))) + and (contains($xrefstyle, 'page') + or contains($xrefstyle, 'Page'))) and $current.docid != '' and $current.docid != $targetdoc and $insert.olink.page.number = 'yes' "> @@ -1012,7 +1012,7 @@ </xsl:variable> <xsl:if test="not(starts-with(normalize-space($xrefstyle), 'select:') - and (tqcontains($xrefstyle, 'docname'))) + and (contains($xrefstyle, 'docname'))) and ($olink.doctitle = 'yes' or $olink.doctitle = '1') and $current.docid != '' and $current.docid != $targetdoc @@ -1050,8 +1050,8 @@ <xsl:if test="not(starts-with(normalize-space($xrefstyle), 'select:') != '' - and (tqcontains($xrefstyle, 'page') - or tqcontains($xrefstyle, 'Page'))) + and (contains($xrefstyle, 'page') + or contains($xrefstyle, 'Page'))) and ( $insert.xref.page.number = 'yes' or $insert.xref.page.number = '1') or local-name($target) = 'para'"> |