Ignore:
Timestamp:
10/08/2013 08:03:29 PM (11 years ago)
Author:
Matthew Burgess <matthew@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 7.5, 7.6, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
58675ce
Parents:
09a35dd
Message:

Update stylesheets to docbook-xsl-1.78.1.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10355 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Location:
stylesheets/lfs-xsl/docbook-xsl-1.78.1/webhelp/xsl
Files:
3 added
1 moved

Legend:

Unmodified
Added
Removed
  • stylesheets/lfs-xsl/docbook-xsl-1.78.1/webhelp/xsl/titlepage.templates.xsl

    r09a35dd r15c7d39  
    1 <?xml version="1.0" encoding="ASCII"?>
    2 <!--This file was created automatically by html2xhtml-->
    3 <!--from the HTML stylesheets.-->
    4 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exsl="http://exslt.org/common" xmlns="http://www.w3.org/1999/xhtml" version="1.0" exclude-result-prefixes="exsl">
     1<?xml version="1.0"?>
     2
     3<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exsl="http://exslt.org/common" version="1.0" exclude-result-prefixes="exsl">
    54
    65<!-- This stylesheet was created by template/titlepage.xsl-->
     
    6766  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/revhistory"/>
    6867  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/revhistory"/>
    69   <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/abstract"/>
    70   <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/abstract"/>
    71   <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/abstract"/>
    7268</xsl:template>
    7369
     
    199195
    200196<xsl:template match="revhistory" mode="article.titlepage.recto.auto.mode">
    201 <div xsl:use-attribute-sets="article.titlepage.recto.style">
    202 <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
    203 </div>
    204 </xsl:template>
    205 
    206 <xsl:template match="abstract" mode="article.titlepage.recto.auto.mode">
    207197<div xsl:use-attribute-sets="article.titlepage.recto.style">
    208198<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
     
    255245  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/revhistory"/>
    256246  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/revhistory"/>
    257   <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/abstract"/>
    258   <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/abstract"/>
    259247</xsl:template>
    260248
     
    386374
    387375<xsl:template match="revhistory" mode="set.titlepage.recto.auto.mode">
    388 <div xsl:use-attribute-sets="set.titlepage.recto.style">
    389 <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
    390 </div>
    391 </xsl:template>
    392 
    393 <xsl:template match="abstract" mode="set.titlepage.recto.auto.mode">
    394376<div xsl:use-attribute-sets="set.titlepage.recto.style">
    395377<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
     
    442424  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/revhistory"/>
    443425  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/revhistory"/>
    444   <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/abstract"/>
    445   <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/abstract"/>
    446426</xsl:template>
    447427
     
    573553
    574554<xsl:template match="revhistory" mode="book.titlepage.recto.auto.mode">
    575 <div xsl:use-attribute-sets="book.titlepage.recto.style">
    576 <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
    577 </div>
    578 </xsl:template>
    579 
    580 <xsl:template match="abstract" mode="book.titlepage.recto.auto.mode">
    581555<div xsl:use-attribute-sets="book.titlepage.recto.style">
    582556<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
     
    634608  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
    635609  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/revhistory"/>
    636   <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/abstract"/>
    637   <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/abstract"/>
    638   <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/abstract"/>
    639610</xsl:template>
    640611
     
    760731
    761732<xsl:template match="revhistory" mode="part.titlepage.recto.auto.mode">
    762 <div xsl:use-attribute-sets="part.titlepage.recto.style">
    763 <xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
    764 </div>
    765 </xsl:template>
    766 
    767 <xsl:template match="abstract" mode="part.titlepage.recto.auto.mode">
    768733<div xsl:use-attribute-sets="part.titlepage.recto.style">
    769734<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
     
    832797  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
    833798  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/revhistory"/>
    834   <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/abstract"/>
    835   <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/abstract"/>
    836   <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/abstract"/>
    837799</xsl:template>
    838800
     
    964926
    965927<xsl:template match="revhistory" mode="partintro.titlepage.recto.auto.mode">
    966 <div xsl:use-attribute-sets="partintro.titlepage.recto.style">
    967 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
    968 </div>
    969 </xsl:template>
    970 
    971 <xsl:template match="abstract" mode="partintro.titlepage.recto.auto.mode">
    972928<div xsl:use-attribute-sets="partintro.titlepage.recto.style">
    973929<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
     
    1036992  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
    1037993  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/revhistory"/>
    1038   <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/abstract"/>
    1039   <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/abstract"/>
    1040   <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/abstract"/>
    1041994</xsl:template>
    1042995
     
    11731126</xsl:template>
    11741127
    1175 <xsl:template match="abstract" mode="reference.titlepage.recto.auto.mode">
    1176 <div xsl:use-attribute-sets="reference.titlepage.recto.style">
    1177 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
    1178 </div>
    1179 </xsl:template>
    1180 
    11811128<xsl:template name="refentry.titlepage.recto">
    11821129</xsl:template>
     
    13271274<div xsl:use-attribute-sets="dedication.titlepage.recto.style">
    13281275<xsl:apply-templates select="." mode="dedication.titlepage.recto.mode"/>
     1276</div>
     1277</xsl:template>
     1278
     1279<xsl:template name="acknowledgements.titlepage.recto">
     1280  <div xsl:use-attribute-sets="acknowledgements.titlepage.recto.style">
     1281<xsl:call-template name="component.title">
     1282<xsl:with-param name="node" select="ancestor-or-self::acknowledgements[1]"/>
     1283</xsl:call-template></div>
     1284  <xsl:choose>
     1285    <xsl:when test="acknowledgementsinfo/subtitle">
     1286      <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="acknowledgementsinfo/subtitle"/>
     1287    </xsl:when>
     1288    <xsl:when test="docinfo/subtitle">
     1289      <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
     1290    </xsl:when>
     1291    <xsl:when test="info/subtitle">
     1292      <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="info/subtitle"/>
     1293    </xsl:when>
     1294    <xsl:when test="subtitle">
     1295      <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="subtitle"/>
     1296    </xsl:when>
     1297  </xsl:choose>
     1298
     1299</xsl:template>
     1300
     1301<xsl:template name="acknowledgements.titlepage.verso">
     1302</xsl:template>
     1303
     1304<xsl:template name="acknowledgements.titlepage.separator">
     1305</xsl:template>
     1306
     1307<xsl:template name="acknowledgements.titlepage.before.recto">
     1308</xsl:template>
     1309
     1310<xsl:template name="acknowledgements.titlepage.before.verso">
     1311</xsl:template>
     1312
     1313<xsl:template name="acknowledgements.titlepage">
     1314  <div class="titlepage">
     1315    <xsl:variable name="recto.content">
     1316      <xsl:call-template name="acknowledgements.titlepage.before.recto"/>
     1317      <xsl:call-template name="acknowledgements.titlepage.recto"/>
     1318    </xsl:variable>
     1319    <xsl:variable name="recto.elements.count">
     1320      <xsl:choose>
     1321        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
     1322        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
     1323          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
     1324        <xsl:otherwise>1</xsl:otherwise>
     1325      </xsl:choose>
     1326    </xsl:variable>
     1327    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
     1328      <div><xsl:copy-of select="$recto.content"/></div>
     1329    </xsl:if>
     1330    <xsl:variable name="verso.content">
     1331      <xsl:call-template name="acknowledgements.titlepage.before.verso"/>
     1332      <xsl:call-template name="acknowledgements.titlepage.verso"/>
     1333    </xsl:variable>
     1334    <xsl:variable name="verso.elements.count">
     1335      <xsl:choose>
     1336        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
     1337        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
     1338          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
     1339        <xsl:otherwise>1</xsl:otherwise>
     1340      </xsl:choose>
     1341    </xsl:variable>
     1342    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
     1343      <div><xsl:copy-of select="$verso.content"/></div>
     1344    </xsl:if>
     1345    <xsl:call-template name="acknowledgements.titlepage.separator"/>
     1346  </div>
     1347</xsl:template>
     1348
     1349<xsl:template match="*" mode="acknowledgements.titlepage.recto.mode">
     1350  <!-- if an element isn't found in this mode, -->
     1351  <!-- try the generic titlepage.mode -->
     1352  <xsl:apply-templates select="." mode="titlepage.mode"/>
     1353</xsl:template>
     1354
     1355<xsl:template match="*" mode="acknowledgements.titlepage.verso.mode">
     1356  <!-- if an element isn't found in this mode, -->
     1357  <!-- try the generic titlepage.mode -->
     1358  <xsl:apply-templates select="." mode="titlepage.mode"/>
     1359</xsl:template>
     1360
     1361<xsl:template match="subtitle" mode="acknowledgements.titlepage.recto.auto.mode">
     1362<div xsl:use-attribute-sets="acknowledgements.titlepage.recto.style">
     1363<xsl:apply-templates select="." mode="acknowledgements.titlepage.recto.mode"/>
    13291364</div>
    13301365</xsl:template>
     
    13911426  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
    13921427  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/revhistory"/>
    1393   <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/abstract"/>
    1394   <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/abstract"/>
    1395   <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/abstract"/>
    13961428</xsl:template>
    13971429
     
    15231555
    15241556<xsl:template match="revhistory" mode="preface.titlepage.recto.auto.mode">
    1525 <div xsl:use-attribute-sets="preface.titlepage.recto.style">
    1526 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
    1527 </div>
    1528 </xsl:template>
    1529 
    1530 <xsl:template match="abstract" mode="preface.titlepage.recto.auto.mode">
    15311557<div xsl:use-attribute-sets="preface.titlepage.recto.style">
    15321558<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
     
    15951621  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
    15961622  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/revhistory"/>
    1597   <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/abstract"/>
    1598   <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/abstract"/>
    1599   <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/abstract"/>
    16001623</xsl:template>
    16011624
     
    17321755</xsl:template>
    17331756
    1734 <xsl:template match="abstract" mode="chapter.titlepage.recto.auto.mode">
    1735 <div xsl:use-attribute-sets="chapter.titlepage.recto.style">
    1736 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
     1757<xsl:template name="topic.titlepage.recto">
     1758  <xsl:choose>
     1759    <xsl:when test="topicinfo/title">
     1760      <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/title"/>
     1761    </xsl:when>
     1762    <xsl:when test="info/title">
     1763      <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/title"/>
     1764    </xsl:when>
     1765    <xsl:when test="title">
     1766      <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="title"/>
     1767    </xsl:when>
     1768  </xsl:choose>
     1769
     1770  <xsl:choose>
     1771    <xsl:when test="topicinfo/subtitle">
     1772      <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/subtitle"/>
     1773    </xsl:when>
     1774    <xsl:when test="info/subtitle">
     1775      <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/subtitle"/>
     1776    </xsl:when>
     1777    <xsl:when test="subtitle">
     1778      <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="subtitle"/>
     1779    </xsl:when>
     1780  </xsl:choose>
     1781
     1782  <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/corpauthor"/>
     1783  <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/corpauthor"/>
     1784  <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/authorgroup"/>
     1785  <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/authorgroup"/>
     1786  <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/author"/>
     1787  <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/author"/>
     1788  <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/othercredit"/>
     1789  <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/othercredit"/>
     1790  <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/releaseinfo"/>
     1791  <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/releaseinfo"/>
     1792  <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/copyright"/>
     1793  <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/copyright"/>
     1794  <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/legalnotice"/>
     1795  <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/legalnotice"/>
     1796  <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/pubdate"/>
     1797  <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/pubdate"/>
     1798  <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/revision"/>
     1799  <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/revision"/>
     1800  <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/revhistory"/>
     1801  <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/revhistory"/>
     1802</xsl:template>
     1803
     1804<xsl:template name="topic.titlepage.verso">
     1805</xsl:template>
     1806
     1807<xsl:template name="topic.titlepage.separator">
     1808</xsl:template>
     1809
     1810<xsl:template name="topic.titlepage.before.recto">
     1811</xsl:template>
     1812
     1813<xsl:template name="topic.titlepage.before.verso">
     1814</xsl:template>
     1815
     1816<xsl:template name="topic.titlepage">
     1817  <div class="titlepage">
     1818    <xsl:variable name="recto.content">
     1819      <xsl:call-template name="topic.titlepage.before.recto"/>
     1820      <xsl:call-template name="topic.titlepage.recto"/>
     1821    </xsl:variable>
     1822    <xsl:variable name="recto.elements.count">
     1823      <xsl:choose>
     1824        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
     1825        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
     1826          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
     1827        <xsl:otherwise>1</xsl:otherwise>
     1828      </xsl:choose>
     1829    </xsl:variable>
     1830    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
     1831      <div><xsl:copy-of select="$recto.content"/></div>
     1832    </xsl:if>
     1833    <xsl:variable name="verso.content">
     1834      <xsl:call-template name="topic.titlepage.before.verso"/>
     1835      <xsl:call-template name="topic.titlepage.verso"/>
     1836    </xsl:variable>
     1837    <xsl:variable name="verso.elements.count">
     1838      <xsl:choose>
     1839        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
     1840        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
     1841          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
     1842        <xsl:otherwise>1</xsl:otherwise>
     1843      </xsl:choose>
     1844    </xsl:variable>
     1845    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
     1846      <div><xsl:copy-of select="$verso.content"/></div>
     1847    </xsl:if>
     1848    <xsl:call-template name="topic.titlepage.separator"/>
     1849  </div>
     1850</xsl:template>
     1851
     1852<xsl:template match="*" mode="topic.titlepage.recto.mode">
     1853  <!-- if an element isn't found in this mode, -->
     1854  <!-- try the generic titlepage.mode -->
     1855  <xsl:apply-templates select="." mode="titlepage.mode"/>
     1856</xsl:template>
     1857
     1858<xsl:template match="*" mode="topic.titlepage.verso.mode">
     1859  <!-- if an element isn't found in this mode, -->
     1860  <!-- try the generic titlepage.mode -->
     1861  <xsl:apply-templates select="." mode="titlepage.mode"/>
     1862</xsl:template>
     1863
     1864<xsl:template match="title" mode="topic.titlepage.recto.auto.mode">
     1865<div xsl:use-attribute-sets="topic.titlepage.recto.style">
     1866<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/>
     1867</div>
     1868</xsl:template>
     1869
     1870<xsl:template match="subtitle" mode="topic.titlepage.recto.auto.mode">
     1871<div xsl:use-attribute-sets="topic.titlepage.recto.style">
     1872<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/>
     1873</div>
     1874</xsl:template>
     1875
     1876<xsl:template match="corpauthor" mode="topic.titlepage.recto.auto.mode">
     1877<div xsl:use-attribute-sets="topic.titlepage.recto.style">
     1878<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/>
     1879</div>
     1880</xsl:template>
     1881
     1882<xsl:template match="authorgroup" mode="topic.titlepage.recto.auto.mode">
     1883<div xsl:use-attribute-sets="topic.titlepage.recto.style">
     1884<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/>
     1885</div>
     1886</xsl:template>
     1887
     1888<xsl:template match="author" mode="topic.titlepage.recto.auto.mode">
     1889<div xsl:use-attribute-sets="topic.titlepage.recto.style">
     1890<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/>
     1891</div>
     1892</xsl:template>
     1893
     1894<xsl:template match="othercredit" mode="topic.titlepage.recto.auto.mode">
     1895<div xsl:use-attribute-sets="topic.titlepage.recto.style">
     1896<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/>
     1897</div>
     1898</xsl:template>
     1899
     1900<xsl:template match="releaseinfo" mode="topic.titlepage.recto.auto.mode">
     1901<div xsl:use-attribute-sets="topic.titlepage.recto.style">
     1902<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/>
     1903</div>
     1904</xsl:template>
     1905
     1906<xsl:template match="copyright" mode="topic.titlepage.recto.auto.mode">
     1907<div xsl:use-attribute-sets="topic.titlepage.recto.style">
     1908<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/>
     1909</div>
     1910</xsl:template>
     1911
     1912<xsl:template match="legalnotice" mode="topic.titlepage.recto.auto.mode">
     1913<div xsl:use-attribute-sets="topic.titlepage.recto.style">
     1914<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/>
     1915</div>
     1916</xsl:template>
     1917
     1918<xsl:template match="pubdate" mode="topic.titlepage.recto.auto.mode">
     1919<div xsl:use-attribute-sets="topic.titlepage.recto.style">
     1920<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/>
     1921</div>
     1922</xsl:template>
     1923
     1924<xsl:template match="revision" mode="topic.titlepage.recto.auto.mode">
     1925<div xsl:use-attribute-sets="topic.titlepage.recto.style">
     1926<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/>
     1927</div>
     1928</xsl:template>
     1929
     1930<xsl:template match="revhistory" mode="topic.titlepage.recto.auto.mode">
     1931<div xsl:use-attribute-sets="topic.titlepage.recto.style">
     1932<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/>
    17371933</div>
    17381934</xsl:template>
     
    17991995  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
    18001996  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/revhistory"/>
    1801   <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/abstract"/>
    1802   <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/abstract"/>
    1803   <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/abstract"/>
    18041997</xsl:template>
    18051998
     
    19312124
    19322125<xsl:template match="revhistory" mode="appendix.titlepage.recto.auto.mode">
    1933 <div xsl:use-attribute-sets="appendix.titlepage.recto.style">
    1934 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
    1935 </div>
    1936 </xsl:template>
    1937 
    1938 <xsl:template match="abstract" mode="appendix.titlepage.recto.auto.mode">
    19392126<div xsl:use-attribute-sets="appendix.titlepage.recto.style">
    19402127<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
     
    19872174  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/revhistory"/>
    19882175  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/revhistory"/>
    1989   <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/abstract"/>
    1990   <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/abstract"/>
    19912176</xsl:template>
    19922177
     
    21182303
    21192304<xsl:template match="revhistory" mode="section.titlepage.recto.auto.mode">
    2120 <div xsl:use-attribute-sets="section.titlepage.recto.style">
    2121 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
    2122 </div>
    2123 </xsl:template>
    2124 
    2125 <xsl:template match="abstract" mode="section.titlepage.recto.auto.mode">
    21262305<div xsl:use-attribute-sets="section.titlepage.recto.style">
    21272306<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
     
    21742353  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/revhistory"/>
    21752354  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/revhistory"/>
    2176   <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/abstract"/>
    2177   <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/abstract"/>
    21782355</xsl:template>
    21792356
     
    23052482
    23062483<xsl:template match="revhistory" mode="sect1.titlepage.recto.auto.mode">
    2307 <div xsl:use-attribute-sets="sect1.titlepage.recto.style">
    2308 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
    2309 </div>
    2310 </xsl:template>
    2311 
    2312 <xsl:template match="abstract" mode="sect1.titlepage.recto.auto.mode">
    23132484<div xsl:use-attribute-sets="sect1.titlepage.recto.style">
    23142485<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
     
    23612532  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/revhistory"/>
    23622533  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/revhistory"/>
    2363   <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/abstract"/>
    2364   <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/abstract"/>
    23652534</xsl:template>
    23662535
     
    24922661
    24932662<xsl:template match="revhistory" mode="sect2.titlepage.recto.auto.mode">
    2494 <div xsl:use-attribute-sets="sect2.titlepage.recto.style">
    2495 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
    2496 </div>
    2497 </xsl:template>
    2498 
    2499 <xsl:template match="abstract" mode="sect2.titlepage.recto.auto.mode">
    25002663<div xsl:use-attribute-sets="sect2.titlepage.recto.style">
    25012664<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
     
    25482711  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/revhistory"/>
    25492712  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/revhistory"/>
    2550   <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/abstract"/>
    2551   <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/abstract"/>
    25522713</xsl:template>
    25532714
     
    26792840
    26802841<xsl:template match="revhistory" mode="sect3.titlepage.recto.auto.mode">
    2681 <div xsl:use-attribute-sets="sect3.titlepage.recto.style">
    2682 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
    2683 </div>
    2684 </xsl:template>
    2685 
    2686 <xsl:template match="abstract" mode="sect3.titlepage.recto.auto.mode">
    26872842<div xsl:use-attribute-sets="sect3.titlepage.recto.style">
    26882843<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
     
    27352890  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/revhistory"/>
    27362891  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/revhistory"/>
    2737   <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/abstract"/>
    2738   <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/abstract"/>
    27392892</xsl:template>
    27402893
     
    28663019
    28673020<xsl:template match="revhistory" mode="sect4.titlepage.recto.auto.mode">
    2868 <div xsl:use-attribute-sets="sect4.titlepage.recto.style">
    2869 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
    2870 </div>
    2871 </xsl:template>
    2872 
    2873 <xsl:template match="abstract" mode="sect4.titlepage.recto.auto.mode">
    28743021<div xsl:use-attribute-sets="sect4.titlepage.recto.style">
    28753022<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
     
    29223069  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/revhistory"/>
    29233070  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/revhistory"/>
    2924   <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/abstract"/>
    2925   <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/abstract"/>
    29263071</xsl:template>
    29273072
     
    30533198
    30543199<xsl:template match="revhistory" mode="sect5.titlepage.recto.auto.mode">
    3055 <div xsl:use-attribute-sets="sect5.titlepage.recto.style">
    3056 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
    3057 </div>
    3058 </xsl:template>
    3059 
    3060 <xsl:template match="abstract" mode="sect5.titlepage.recto.auto.mode">
    30613200<div xsl:use-attribute-sets="sect5.titlepage.recto.style">
    30623201<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
     
    31253264  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
    31263265  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/revhistory"/>
    3127   <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/abstract"/>
    3128   <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/abstract"/>
    3129   <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/abstract"/>
    31303266</xsl:template>
    31313267
     
    32623398</xsl:template>
    32633399
    3264 <xsl:template match="abstract" mode="simplesect.titlepage.recto.auto.mode">
    3265 <div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
    3266 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
    3267 </div>
    3268 </xsl:template>
    3269 
    32703400<xsl:template name="bibliography.titlepage.recto">
    32713401  <div xsl:use-attribute-sets="bibliography.titlepage.recto.style">
     
    36203750</xsl:template>
    36213751
     3752<xsl:template name="sidebar.titlepage.recto">
     3753  <xsl:choose>
     3754    <xsl:when test="sidebarinfo/title">
     3755      <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="sidebarinfo/title"/>
     3756    </xsl:when>
     3757    <xsl:when test="docinfo/title">
     3758      <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="docinfo/title"/>
     3759    </xsl:when>
     3760    <xsl:when test="info/title">
     3761      <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="info/title"/>
     3762    </xsl:when>
     3763    <xsl:when test="title">
     3764      <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="title"/>
     3765    </xsl:when>
     3766  </xsl:choose>
     3767
     3768  <xsl:choose>
     3769    <xsl:when test="sidebarinfo/subtitle">
     3770      <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="sidebarinfo/subtitle"/>
     3771    </xsl:when>
     3772    <xsl:when test="docinfo/subtitle">
     3773      <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
     3774    </xsl:when>
     3775    <xsl:when test="info/subtitle">
     3776      <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="info/subtitle"/>
     3777    </xsl:when>
     3778    <xsl:when test="subtitle">
     3779      <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="subtitle"/>
     3780    </xsl:when>
     3781  </xsl:choose>
     3782
     3783</xsl:template>
     3784
     3785<xsl:template name="sidebar.titlepage.verso">
     3786</xsl:template>
     3787
     3788<xsl:template name="sidebar.titlepage.separator">
     3789</xsl:template>
     3790
     3791<xsl:template name="sidebar.titlepage.before.recto">
     3792</xsl:template>
     3793
     3794<xsl:template name="sidebar.titlepage.before.verso">
     3795</xsl:template>
     3796
     3797<xsl:template name="sidebar.titlepage">
     3798  <div class="titlepage">
     3799    <xsl:variable name="recto.content">
     3800      <xsl:call-template name="sidebar.titlepage.before.recto"/>
     3801      <xsl:call-template name="sidebar.titlepage.recto"/>
     3802    </xsl:variable>
     3803    <xsl:variable name="recto.elements.count">
     3804      <xsl:choose>
     3805        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
     3806        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
     3807          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
     3808        <xsl:otherwise>1</xsl:otherwise>
     3809      </xsl:choose>
     3810    </xsl:variable>
     3811    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
     3812      <div><xsl:copy-of select="$recto.content"/></div>
     3813    </xsl:if>
     3814    <xsl:variable name="verso.content">
     3815      <xsl:call-template name="sidebar.titlepage.before.verso"/>
     3816      <xsl:call-template name="sidebar.titlepage.verso"/>
     3817    </xsl:variable>
     3818    <xsl:variable name="verso.elements.count">
     3819      <xsl:choose>
     3820        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
     3821        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
     3822          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
     3823        <xsl:otherwise>1</xsl:otherwise>
     3824      </xsl:choose>
     3825    </xsl:variable>
     3826    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
     3827      <div><xsl:copy-of select="$verso.content"/></div>
     3828    </xsl:if>
     3829    <xsl:call-template name="sidebar.titlepage.separator"/>
     3830  </div>
     3831</xsl:template>
     3832
     3833<xsl:template match="*" mode="sidebar.titlepage.recto.mode">
     3834  <!-- if an element isn't found in this mode, -->
     3835  <!-- try the generic titlepage.mode -->
     3836  <xsl:apply-templates select="." mode="titlepage.mode"/>
     3837</xsl:template>
     3838
     3839<xsl:template match="*" mode="sidebar.titlepage.verso.mode">
     3840  <!-- if an element isn't found in this mode, -->
     3841  <!-- try the generic titlepage.mode -->
     3842  <xsl:apply-templates select="." mode="titlepage.mode"/>
     3843</xsl:template>
     3844
     3845<xsl:template match="title" mode="sidebar.titlepage.recto.auto.mode">
     3846<div xsl:use-attribute-sets="sidebar.titlepage.recto.style">
     3847<xsl:call-template name="formal.object.heading">
     3848<xsl:with-param name="object" select="ancestor-or-self::sidebar[1]"/>
     3849</xsl:call-template>
     3850</div>
     3851</xsl:template>
     3852
     3853<xsl:template match="subtitle" mode="sidebar.titlepage.recto.auto.mode">
     3854<div xsl:use-attribute-sets="sidebar.titlepage.recto.style">
     3855<xsl:apply-templates select="." mode="sidebar.titlepage.recto.mode"/>
     3856</div>
     3857</xsl:template>
     3858
    36223859</xsl:stylesheet>
     3860
Note: See TracChangeset for help on using the changeset viewer.