Changeset fd7e0ed6 for stylesheets/lfs-xsl
- Timestamp:
- 05/09/2008 12:42:27 PM (16 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 2262b78
- Parents:
- b5b51a2
- Location:
- stylesheets/lfs-xsl/docbook-xsl-snapshot
- Files:
-
- 34 edited
Legend:
- Unmodified
- Added
- Removed
-
stylesheets/lfs-xsl/docbook-xsl-snapshot/common/common.xsl
rb5b51a2 rfd7e0ed6 848 848 select="imageobject|imageobjectco 849 849 |videoobject|audioobject|textobject"/> 850 850 851 851 <xsl:variable name="mediaobject.index"> 852 852 <xsl:call-template name="select.mediaobject.index"> … … 918 918 and $preferred.mediaobject.role != '' 919 919 and $olist[@role = $preferred.mediaobject.role]"> 920 920 921 921 <!-- Get the first hit's position index --> 922 922 <xsl:for-each select="$olist"> … … 960 960 <xsl:if test="$count <= count($olist)"> 961 961 <xsl:variable name="object" select="$olist[position()=$count]"/> 962 962 963 963 <xsl:variable name="useobject"> 964 964 <xsl:choose> … … 1014 1014 </xsl:choose> 1015 1015 </xsl:variable> 1016 1016 1017 1017 <xsl:choose> 1018 1018 <xsl:when test="$useobject='1'"> … … 1672 1672 <xsl:param name="filename" select="."/> 1673 1673 <xsl:param name="destdir" select="''"/> 1674 1674 1675 1675 <xsl:variable name="srcurl"> 1676 1676 <xsl:call-template name="strippath"> -
stylesheets/lfs-xsl/docbook-xsl-snapshot/common/entities.ent
rb5b51a2 rfd7e0ed6 2 2 $Id$ 3 3 ******************************************************************** 4 4 5 5 This file contains common entity declarations used for 6 6 sorting by various templates. -
stylesheets/lfs-xsl/docbook-xsl-snapshot/common/gentext.xsl
rb5b51a2 rfd7e0ed6 767 767 </xsl:choose> 768 768 </xsl:if> 769 769 770 770 <!-- special case: use regular xref template if just turning off page --> 771 771 <xsl:if test="($pagetype = 'nopage' or $docnametype = 'nodocname') … … 826 826 827 827 </xsl:if> 828 828 829 829 </xsl:template> 830 830 -
stylesheets/lfs-xsl/docbook-xsl-snapshot/common/l10n.xsl
rb5b51a2 rfd7e0ed6 431 431 </xsl:call-template> 432 432 </xsl:variable> 433 433 434 434 <xsl:choose> 435 435 <xsl:when test="string-length($template) != 0">1</xsl:when> -
stylesheets/lfs-xsl/docbook-xsl-snapshot/common/labels.xsl
rb5b51a2 rfd7e0ed6 818 818 </xsl:choose> 819 819 </xsl:template> 820 820 821 821 <xsl:template name="autolabel.format"> 822 822 <xsl:param name="context" select="."/> -
stylesheets/lfs-xsl/docbook-xsl-snapshot/common/olink.xsl
rb5b51a2 rfd7e0ed6 74 74 </xsl:call-template> 75 75 </xsl:variable> 76 76 77 77 <!-- Recurse through the languages until you find a match --> 78 78 <xsl:call-template name="select.olink.key.in.lang"> … … 86 86 </xsl:call-template> 87 87 </xsl:if> 88 88 89 89 </xsl:template> 90 90 … … 97 97 <xsl:param name="fallback.index" select="1"/> 98 98 <xsl:param name="olink.fallback.sequence" select="''"/> 99 99 100 100 <xsl:variable name="target.lang"> 101 101 <xsl:call-template name="select.target.lang"> … … 451 451 </xsl:for-each> 452 452 </xsl:variable> 453 453 454 454 <xsl:variable name="targetdoc"> 455 455 <xsl:value-of select="substring-before($olink.key, '/')"/> 456 456 </xsl:variable> 457 457 458 458 <!-- Does the target database use a sitemap? --> 459 459 <xsl:variable name="use.sitemap"> … … 463 463 </xsl:choose> 464 464 </xsl:variable> 465 466 465 466 467 467 <!-- Get the baseuri for this targetptr --> 468 468 <xsl:variable name="baseuri" > … … 531 531 </xsl:choose> 532 532 </xsl:variable> 533 533 534 534 <!-- Form the href information --> 535 535 <xsl:if test="$baseuri != ''"> … … 1024 1024 and $current.docid != $targetdoc 1025 1025 and $insert.olink.page.number = 'yes' "> 1026 1026 1027 1027 <xsl:variable name="page-number"> 1028 1028 <xsl:for-each select="$target.database" > … … 1031 1031 </xsl:for-each> 1032 1032 </xsl:variable> 1033 1033 1034 1034 <xsl:if test="$page-number != ''"> 1035 1035 <xsl:call-template name="substitute-markup"> … … 1044 1044 </xsl:call-template> 1045 1045 </xsl:if> 1046 1046 1047 1047 </xsl:when> 1048 1048 </xsl:choose> -
stylesheets/lfs-xsl/docbook-xsl-snapshot/common/targetdatabase.dtd
rb5b51a2 rfd7e0ed6 32 32 page CDATA #IMPLIED 33 33 > 34 35 34 35 36 36 <!ELEMENT ttl ANY > 37 37 <!ELEMENT objttl ANY > -
stylesheets/lfs-xsl/docbook-xsl-snapshot/common/titles.xsl
rb5b51a2 rfd7e0ed6 675 675 <xsl:variable name="target" select="$targets[1]"/> 676 676 <xsl:variable name="refelem" select="local-name($target)"/> 677 677 678 678 <xsl:call-template name="check.id.unique"> 679 679 <xsl:with-param name="linkend" select="@linkend"/> -
stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/autoidx.xsl
rb5b51a2 rfd7e0ed6 88 88 </xsl:choose> 89 89 </xsl:template> 90 90 91 91 <xsl:template name="generate-basic-index"> 92 92 <xsl:param name="scope" select="NOTANODE"/> … … 755 755 ancestor::sect1|ancestor::sect2|ancestor::sect3|ancestor::sect4|ancestor::sect5| 756 756 ancestor::section|ancestor::setindex|ancestor::set|ancestor::sidebar)[&scope;]"/> 757 757 758 758 <xsl:variable name="id"> 759 759 <xsl:call-template name="object.id"> … … 761 761 </xsl:call-template> 762 762 </xsl:variable> 763 763 764 764 <fo:basic-link internal-destination="{$id}" 765 765 xsl:use-attribute-sets="index.page.number.properties"> -
stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/autotoc.xsl
rb5b51a2 rfd7e0ed6 416 416 <xsl:call-template name="set.toc.indent"/> 417 417 </xsl:attribute> 418 418 419 419 <xsl:apply-templates select="$nodes" mode="toc"> 420 420 <xsl:with-param name="toc-context" select="$toc-context"/> … … 450 450 <xsl:call-template name="set.toc.indent"/> 451 451 </xsl:attribute> 452 452 453 453 <xsl:apply-templates select="refentry" mode="toc"> 454 454 <xsl:with-param name="toc-context" select="$toc-context"/> … … 498 498 <xsl:call-template name="set.toc.indent"/> 499 499 </xsl:attribute> 500 500 501 501 <xsl:apply-templates select="$nodes" mode="toc"> 502 502 <xsl:with-param name="toc-context" select="$toc-context"/> … … 532 532 <xsl:call-template name="set.toc.indent"/> 533 533 </xsl:attribute> 534 534 535 535 <xsl:apply-templates select="sect2|qandaset[$qanda.in.toc != 0]" 536 536 mode="toc"> … … 572 572 </xsl:call-template> 573 573 </xsl:attribute> 574 574 575 575 <xsl:apply-templates select="sect3|qandaset[$qanda.in.toc != 0]" 576 576 mode="toc"> … … 612 612 </xsl:call-template> 613 613 </xsl:attribute> 614 614 615 615 <xsl:apply-templates select="sect4|qandaset[$qanda.in.toc != 0]" 616 616 mode="toc"> … … 652 652 </xsl:call-template> 653 653 </xsl:attribute> 654 654 655 655 <xsl:apply-templates select="sect5|qandaset[$qanda.in.toc != 0]" 656 656 mode="toc"> … … 727 727 </xsl:call-template> 728 728 </xsl:attribute> 729 729 730 730 <xsl:apply-templates select="section|qandaset[$qanda.in.toc != 0]" 731 731 mode="toc"> … … 843 843 </xsl:call-template> 844 844 </xsl:attribute> 845 845 846 846 <xsl:apply-templates select="qandadiv|qandaentry" mode="toc"> 847 847 <xsl:with-param name="toc-context" select="$toc-context"/> -
stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/block.xsl
rb5b51a2 rfd7e0ed6 281 281 </xsl:choose> 282 282 </xsl:variable> 283 283 284 284 <xsl:call-template name="floater"> 285 285 <xsl:with-param name="content" select="$content"/> -
stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/docbook.xsl
rb5b51a2 rfd7e0ed6 244 244 </xsl:choose> 245 245 </xsl:variable> 246 246 247 247 <!-- Include all id values in XEP output --> 248 248 <xsl:if test="$xep.extensions != 0"> -
stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/glossary.xsl
rb5b51a2 rfd7e0ed6 171 171 </xsl:call-template> 172 172 </xsl:attribute> 173 173 174 174 <xsl:attribute name="initial-page-number"> 175 175 <xsl:call-template name="initial.page.number"> -
stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/inline.xsl
rb5b51a2 rfd7e0ed6 1119 1119 </xsl:otherwise> 1120 1120 </xsl:choose> 1121 1121 1122 1122 </fo:basic-link> 1123 1123 <xsl:text>]</xsl:text> -
stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/param.xsl
rb5b51a2 rfd7e0ed6 349 349 </xsl:attribute-set> 350 350 <xsl:param name="itemizedlist.label.width">1.0em</xsl:param> 351 351 352 352 353 353 <xsl:param name="keep.relative.image.uris" select="0"/> -
stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/profile-docbook.xsl
rb5b51a2 rfd7e0ed6 200 200 </xsl:choose> 201 201 </xsl:variable> 202 202 203 203 <!-- Include all id values in XEP output --> 204 204 <xsl:if test="$xep.extensions != 0"> -
stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/qandaset.xsl
rb5b51a2 rfd7e0ed6 40 40 </xsl:choose> 41 41 </xsl:variable> 42 42 43 43 <xsl:variable name="toc"> 44 44 <xsl:call-template name="pi.dbfo_toc"/> … … 65 65 </xsl:otherwise> 66 66 </xsl:choose> 67 67 68 68 <xsl:if test="(contains($toc.params, 'toc') and $toc != '0') 69 69 or $toc = '1'"> … … 81 81 and local-name(.) != 'qandaentry']"/> 82 82 <xsl:apply-templates select="qandadiv"/> 83 83 84 84 <xsl:if test="qandaentry"> 85 85 <fo:list-block xsl:use-attribute-sets="list.block.spacing" … … 111 111 </xsl:otherwise> 112 112 </xsl:choose> 113 113 114 114 </xsl:template> 115 115 -
stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/sections.xsl
rb5b51a2 rfd7e0ed6 262 262 </xsl:choose> 263 263 </xsl:variable> 264 264 265 265 <xsl:variable name="level"> 266 266 <xsl:choose> -
stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/table.xsl
rb5b51a2 rfd7e0ed6 465 465 <xsl:attribute name="table-layout">fixed</xsl:attribute> 466 466 </xsl:if> 467 467 468 468 <xsl:attribute name="width"> 469 469 <xsl:value-of select="$table.width"/> 470 470 </xsl:attribute> 471 471 472 472 <xsl:choose> 473 473 <xsl:when test="$use.extensions != 0 -
stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/verbatim.xsl
rb5b51a2 rfd7e0ed6 385 385 </xsl:otherwise> 386 386 </xsl:choose> 387 387 388 388 </xsl:template> 389 389 -
stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/xref.xsl
rb5b51a2 rfd7e0ed6 81 81 </xsl:choose> 82 82 </xsl:when> 83 83 84 84 <xsl:when test="$target/@xreflabel"> 85 85 <xsl:call-template name="xref.xreflabel"> … … 87 87 </xsl:call-template> 88 88 </xsl:when> 89 89 90 90 <xsl:when test="$target"> 91 91 <xsl:if test="not(parent::citation)"> 92 92 <xsl:apply-templates select="$target" mode="xref-to-prefix"/> 93 93 </xsl:if> 94 94 95 95 <xsl:apply-templates select="$target" mode="xref-to"> 96 96 <xsl:with-param name="referrer" select="."/> 97 97 <xsl:with-param name="xrefstyle" select="$xrefstyle"/> 98 98 </xsl:apply-templates> 99 99 100 100 <xsl:if test="not(parent::citation)"> 101 101 <xsl:apply-templates select="$target" mode="xref-to-suffix"/> … … 1024 1024 </xsl:call-template> 1025 1025 </xsl:variable> 1026 1026 1027 1027 <xsl:variable name="target.database.filename"> 1028 1028 <xsl:call-template name="select.target.database"> … … 1032 1032 </xsl:call-template> 1033 1033 </xsl:variable> 1034 1034 1035 1035 <xsl:variable name="target.database" 1036 1036 select="document($target.database.filename, /)"/> 1037 1037 1038 1038 <xsl:if test="$olink.debug != 0"> 1039 1039 <xsl:message> … … 1043 1043 </xsl:message> 1044 1044 </xsl:if> 1045 1045 1046 1046 <xsl:variable name="olink.key"> 1047 1047 <xsl:call-template name="select.olink.key"> … … 1052 1052 </xsl:call-template> 1053 1053 </xsl:variable> 1054 1054 1055 1055 <xsl:if test="string-length($olink.key) = 0"> 1056 1056 <xsl:message> … … 1165 1165 <xsl:template match="*" mode="insert.olink.docname.markup"> 1166 1166 <xsl:param name="docname" select="''"/> 1167 1167 1168 1168 <fo:inline font-style="italic"> 1169 1169 <xsl:value-of select="$docname"/> -
stylesheets/lfs-xsl/docbook-xsl-snapshot/lib/lib.xsl
rb5b51a2 rfd7e0ed6 389 389 </xsl:choose> 390 390 </xsl:template> 391 391 392 392 <xsl:template name="count.uri.path.depth"> 393 393 <xsl:param name="filename" select="''"/> -
stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/autoidx.xsl
rb5b51a2 rfd7e0ed6 67 67 </xsl:choose> 68 68 </xsl:template> 69 69 70 70 <xsl:template name="generate-basic-index"> 71 71 <xsl:param name="scope" select="NOTANODE"/> … … 366 366 <xsl:param name="type" select="''"/> 367 367 <xsl:param name="position"/> 368 368 369 369 <xsl:variable name="term.separator"> 370 370 <xsl:call-template name="index.separator"> -
stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/autotoc.xsl
rb5b51a2 rfd7e0ed6 313 313 </xsl:call-template> 314 314 </xsl:attribute> 315 315 316 316 <!-- * if $autotoc.label.in.hyperlink is non-zero, then output the label --> 317 317 <!-- * as part of the hyperlinked title --> -
stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/chunk-common.xsl
rb5b51a2 rfd7e0ed6 878 878 </xsl:for-each> 879 879 </xsl:variable> 880 880 881 881 <!-- an olink starting point may be in a subdirectory, so need 882 882 the "from" reference point to compute a relative path --> … … 901 901 <xsl:value-of select="substring-before($olink.key, '/')"/> 902 902 </xsl:variable> 903 903 904 904 <!-- Does the target database use a sitemap? --> 905 905 <xsl:variable name="use.sitemap"> … … 909 909 </xsl:choose> 910 910 </xsl:variable> 911 912 911 912 913 913 <!-- Get the baseuri for this targetptr --> 914 914 <xsl:variable name="baseuri"> … … 975 975 </xsl:choose> 976 976 </xsl:variable> 977 977 978 978 <!-- Form the href information --> 979 979 <xsl:if test="not(contains($baseuri, ':'))"> … … 1405 1405 <!-- * popping off link types and generating links for them until it --> 1406 1406 <!-- * depletes the list. --> 1407 1407 1408 1408 <xsl:template name="make.legalnotice.head.links"> 1409 1409 <!-- * the following ID is used as part of the legalnotice filename; --> -
stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/chunk.xsl
rb5b51a2 rfd7e0ed6 42 42 its conflict with the original, since they have the 43 43 same import precedence. 44 44 45 45 Using xsl:include prevents adding another layer 46 46 of import precedence, which would cause any -
stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/formal.xsl
rb5b51a2 rfd7e0ed6 29 29 <xsl:with-param name="conditional" select="0"/> 30 30 </xsl:call-template> 31 31 32 32 <xsl:choose> 33 33 <xsl:when test="$placement = 'before'"> … … 42 42 <xsl:call-template name="table.longdesc"/> 43 43 </xsl:if> 44 44 45 45 <xsl:if test="$spacing.paras != 0"><p/></xsl:if> 46 46 </xsl:when> … … 54 54 <xsl:call-template name="table.longdesc"/> 55 55 </xsl:if> 56 56 57 57 <xsl:call-template name="formal.object.heading"/> 58 58 </xsl:otherwise> … … 106 106 <xsl:call-template name="anchor"/> 107 107 <xsl:apply-templates/> 108 108 109 109 <!-- HACK: This doesn't belong inside formal.object; it 110 110 should be done by the table template, but I want … … 113 113 <xsl:call-template name="table.longdesc"/> 114 114 </xsl:if> 115 115 116 116 <xsl:if test="$spacing.paras != 0"><p/></xsl:if> 117 117 </div> -
stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/glossary.xsl
rb5b51a2 rfd7e0ed6 17 17 18 18 <xsl:template match="glossary"> 19 19 20 20 <xsl:variable name="language"> 21 21 <xsl:call-template name="l10n.language"/> … … 96 96 97 97 <xsl:template match="glosslist"> 98 98 99 99 <xsl:variable name="language"> 100 100 <xsl:call-template name="l10n.language"/> … … 137 137 138 138 <xsl:template match="glossdiv"> 139 139 140 140 <xsl:variable name="language"> 141 141 <xsl:call-template name="l10n.language"/> … … 391 391 392 392 <xsl:template match="glossary[@role='auto']" priority="2"> 393 393 394 394 <xsl:variable name="language"> 395 395 <xsl:call-template name="l10n.language"/> … … 498 498 <xsl:param name="terms" select="."/> 499 499 500 500 501 501 <xsl:variable name="language"> 502 502 <xsl:call-template name="l10n.language"/> -
stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/graphics.xsl
rb5b51a2 rfd7e0ed6 701 701 </xsl:choose> 702 702 </xsl:variable> 703 703 704 704 <xsl:choose> 705 705 <xsl:when test="$units = 'calspair' or $units = 'imagemap'"> … … 717 717 </xsl:choose> 718 718 </xsl:variable> 719 719 720 720 <xsl:variable name="href"> 721 721 <xsl:choose> … … 728 728 </xsl:choose> 729 729 </xsl:variable> 730 730 731 731 <xsl:choose> 732 732 <xsl:when test="$linkends != ''"> … … 741 741 </xsl:choose> 742 742 </xsl:variable> 743 743 744 744 <xsl:variable name="target" select="key('id', $linkend)[1]"/> 745 745 746 746 <xsl:if test="$target"> 747 747 <xsl:attribute name="href"> … … 758 758 </xsl:when> 759 759 </xsl:choose> 760 760 761 761 <xsl:if test="alt"> 762 762 <xsl:attribute name="alt"> … … 764 764 </xsl:attribute> 765 765 </xsl:if> 766 766 767 767 <xsl:attribute name="coords"> 768 768 <xsl:choose> … … 771 771 <xsl:variable name="p1" select="substring-before($coords, ' ')"/> 772 772 <xsl:variable name="p2" select="substring-after($coords, ' ')"/> 773 773 774 774 <xsl:variable name="x1" select="substring-before($p1,',')"/> 775 775 <xsl:variable name="y1" select="substring-after($p1,',')"/> 776 776 <xsl:variable name="x2" select="substring-before($p2,',')"/> 777 777 <xsl:variable name="y2" select="substring-after($p2,',')"/> 778 778 779 779 <xsl:variable name="x1p" select="$x1 div 100.0"/> 780 780 <xsl:variable name="y1p" select="$y1 div 100.0"/> 781 781 <xsl:variable name="x2p" select="$x2 div 100.0"/> 782 782 <xsl:variable name="y2p" select="$y2 div 100.0"/> 783 783 784 784 <!-- 785 785 <xsl:message> … … 792 792 <xsl:value-of select="$y2p"/><xsl:text>, </xsl:text> 793 793 </xsl:message> 794 794 795 795 <xsl:message> 796 796 <xsl:text> </xsl:text> … … 799 799 <xsl:value-of select="$intrinsicdepth"/> 800 800 </xsl:message> 801 801 802 802 <xsl:message> 803 803 <xsl:text> </xsl:text> … … 1092 1092 <xsl:apply-templates/> 1093 1093 </xsl:when> 1094 1094 1095 1095 <xsl:when xmlns:svg="http://www.w3.org/2000/svg" test="svg:*"> 1096 1096 <xsl:apply-templates/> -
stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/inline.xsl
rb5b51a2 rfd7e0ed6 148 148 149 149 <xsl:copy-of select="$content"/> 150 150 151 151 </a> 152 152 </xsl:when> -
stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/param.xsl
rb5b51a2 rfd7e0ed6 286 286 <xsl:param name="make.year.ranges" select="0"/> 287 287 <xsl:param name="manifest">HTML.manifest</xsl:param> 288 288 289 289 <xsl:param name="manifest.in.base.dir" select="0"/> 290 290 <xsl:param name="manual.toc"/> -
stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/profile-chunk.xsl
rb5b51a2 rfd7e0ed6 42 42 its conflict with the original, since they have the 43 43 same import precedence. 44 44 45 45 Using xsl:include prevents adding another layer 46 46 of import precedence, which would cause any -
stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/titlepage.xsl
rb5b51a2 rfd7e0ed6 758 758 </div> 759 759 </xsl:variable> 760 760 761 761 <xsl:choose> 762 762 <xsl:when test="$generate.revhistory.link != 0"> -
stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/xref.xsl
rb5b51a2 rfd7e0ed6 54 54 <xsl:variable name="content"> 55 55 <xsl:choose> 56 56 57 57 <xsl:when test="@endterm"> 58 58 <xsl:variable name="etargets" select="key('id',@endterm)"/> … … 72 72 </xsl:choose> 73 73 </xsl:when> 74 74 75 75 <xsl:when test="$target/@xreflabel"> 76 76 <xsl:call-template name="xref.xreflabel"> … … 78 78 </xsl:call-template> 79 79 </xsl:when> 80 80 81 81 <xsl:when test="$target"> 82 82 <xsl:if test="not(parent::citation)"> 83 83 <xsl:apply-templates select="$target" mode="xref-to-prefix"/> 84 84 </xsl:if> 85 85 86 86 <xsl:apply-templates select="$target" mode="xref-to"> 87 87 <xsl:with-param name="referrer" select="."/> 88 88 <xsl:with-param name="xrefstyle" select="$xrefstyle"/> 89 89 </xsl:apply-templates> 90 90 91 91 <xsl:if test="not(parent::citation)"> 92 92 <xsl:apply-templates select="$target" mode="xref-to-suffix"/> … … 983 983 </xsl:call-template> 984 984 </xsl:variable> 985 985 986 986 <xsl:variable name="target.database.filename"> 987 987 <xsl:call-template name="select.target.database"> … … 991 991 </xsl:call-template> 992 992 </xsl:variable> 993 993 994 994 <xsl:variable name="target.database" select="document($target.database.filename,/)"/> 995 995 996 996 <xsl:if test="$olink.debug != 0"> 997 997 <xsl:message> … … 1003 1003 </xsl:message> 1004 1004 </xsl:if> 1005 1005 1006 1006 <xsl:variable name="olink.key"> 1007 1007 <xsl:call-template name="select.olink.key"> … … 1012 1012 </xsl:call-template> 1013 1013 </xsl:variable> 1014 1014 1015 1015 <xsl:if test="string-length($olink.key) = 0"> 1016 1016 <xsl:message> … … 1117 1117 </xsl:choose> 1118 1118 </xsl:variable> 1119 1119 1120 1120 <xsl:choose> 1121 1121 <xsl:when test="$href != ''">
Note:
See TracChangeset
for help on using the changeset viewer.