git-scribe 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1253) hide show
  1. data/docbook-xsl/COPYING +47 -0
  2. data/docbook-xsl/VERSION +115 -0
  3. data/docbook-xsl/catalog.xml +8 -0
  4. data/docbook-xsl/common.xsl +87 -0
  5. data/docbook-xsl/common/af.xml +1229 -0
  6. data/docbook-xsl/common/am.xml +1229 -0
  7. data/docbook-xsl/common/ar.xml +1229 -0
  8. data/docbook-xsl/common/autoidx-kimber.xsl +43 -0
  9. data/docbook-xsl/common/autoidx-kosek.xsl +150 -0
  10. data/docbook-xsl/common/az.xml +672 -0
  11. data/docbook-xsl/common/bg.xml +724 -0
  12. data/docbook-xsl/common/bn.xml +1229 -0
  13. data/docbook-xsl/common/bs.xml +662 -0
  14. data/docbook-xsl/common/ca.xml +1229 -0
  15. data/docbook-xsl/common/charmap.xml +185 -0
  16. data/docbook-xsl/common/charmap.xsl +221 -0
  17. data/docbook-xsl/common/common.xml +622 -0
  18. data/docbook-xsl/common/common.xsl +2019 -0
  19. data/docbook-xsl/common/cs.xml +700 -0
  20. data/docbook-xsl/common/cy.xml +1245 -0
  21. data/docbook-xsl/common/da.xml +664 -0
  22. data/docbook-xsl/common/de.xml +666 -0
  23. data/docbook-xsl/common/el.xml +1229 -0
  24. data/docbook-xsl/common/en.xml +1229 -0
  25. data/docbook-xsl/common/entities.ent +60 -0
  26. data/docbook-xsl/common/eo.xml +1229 -0
  27. data/docbook-xsl/common/es.xml +676 -0
  28. data/docbook-xsl/common/et.xml +1229 -0
  29. data/docbook-xsl/common/eu.xml +1229 -0
  30. data/docbook-xsl/common/fa.xml +1229 -0
  31. data/docbook-xsl/common/fi.xml +670 -0
  32. data/docbook-xsl/common/fr.xml +690 -0
  33. data/docbook-xsl/common/ga.xml +1229 -0
  34. data/docbook-xsl/common/gentext.xsl +836 -0
  35. data/docbook-xsl/common/gl.xml +1229 -0
  36. data/docbook-xsl/common/gu.xml +1229 -0
  37. data/docbook-xsl/common/he.xml +1229 -0
  38. data/docbook-xsl/common/hi.xml +1229 -0
  39. data/docbook-xsl/common/hr.xml +1229 -0
  40. data/docbook-xsl/common/hu.xml +1229 -0
  41. data/docbook-xsl/common/id.xml +1229 -0
  42. data/docbook-xsl/common/insertfile.xsl +111 -0
  43. data/docbook-xsl/common/it.xml +1229 -0
  44. data/docbook-xsl/common/ja.xml +1229 -0
  45. data/docbook-xsl/common/kn.xml +1229 -0
  46. data/docbook-xsl/common/ko.xml +1229 -0
  47. data/docbook-xsl/common/l10n.dtd +63 -0
  48. data/docbook-xsl/common/l10n.xml +129 -0
  49. data/docbook-xsl/common/l10n.xsl +497 -0
  50. data/docbook-xsl/common/la.xml +1229 -0
  51. data/docbook-xsl/common/labels.xsl +869 -0
  52. data/docbook-xsl/common/lt.xml +678 -0
  53. data/docbook-xsl/common/lv.xml +1229 -0
  54. data/docbook-xsl/common/mn.xml +730 -0
  55. data/docbook-xsl/common/nb.xml +1229 -0
  56. data/docbook-xsl/common/nl.xml +1229 -0
  57. data/docbook-xsl/common/nn.xml +1229 -0
  58. data/docbook-xsl/common/olink.xsl +1149 -0
  59. data/docbook-xsl/common/or.xml +1229 -0
  60. data/docbook-xsl/common/pa.xml +1229 -0
  61. data/docbook-xsl/common/pi.xml +165 -0
  62. data/docbook-xsl/common/pi.xsl +346 -0
  63. data/docbook-xsl/common/pl.xml +1229 -0
  64. data/docbook-xsl/common/pt.xml +1229 -0
  65. data/docbook-xsl/common/pt_br.xml +1229 -0
  66. data/docbook-xsl/common/refentry.xml +781 -0
  67. data/docbook-xsl/common/refentry.xsl +1352 -0
  68. data/docbook-xsl/common/ro.xml +1229 -0
  69. data/docbook-xsl/common/ru.xml +726 -0
  70. data/docbook-xsl/common/sk.xml +1229 -0
  71. data/docbook-xsl/common/sl.xml +1229 -0
  72. data/docbook-xsl/common/sq.xml +1229 -0
  73. data/docbook-xsl/common/sr.xml +720 -0
  74. data/docbook-xsl/common/sr_Latn.xml +679 -0
  75. data/docbook-xsl/common/stripns.xsl +289 -0
  76. data/docbook-xsl/common/subtitles.xsl +155 -0
  77. data/docbook-xsl/common/sv.xml +664 -0
  78. data/docbook-xsl/common/ta.xml +1229 -0
  79. data/docbook-xsl/common/table.xsl +514 -0
  80. data/docbook-xsl/common/targetdatabase.dtd +49 -0
  81. data/docbook-xsl/common/targets.xsl +272 -0
  82. data/docbook-xsl/common/th.xml +1229 -0
  83. data/docbook-xsl/common/titles.xsl +752 -0
  84. data/docbook-xsl/common/tl.xml +1229 -0
  85. data/docbook-xsl/common/tr.xml +666 -0
  86. data/docbook-xsl/common/uk.xml +1229 -0
  87. data/docbook-xsl/common/utility.xml +259 -0
  88. data/docbook-xsl/common/utility.xsl +290 -0
  89. data/docbook-xsl/common/vi.xml +1229 -0
  90. data/docbook-xsl/common/xh.xml +1229 -0
  91. data/docbook-xsl/common/zh_cn.xml +660 -0
  92. data/docbook-xsl/common/zh_tw.xml +1229 -0
  93. data/docbook-xsl/docsrc/authors.xml +10 -0
  94. data/docbook-xsl/docsrc/copyright.xml +18 -0
  95. data/docbook-xsl/docsrc/license.xml +23 -0
  96. data/docbook-xsl/docsrc/page.png +0 -0
  97. data/docbook-xsl/docsrc/reference.css +60 -0
  98. data/docbook-xsl/docsrc/reference.xml +229 -0
  99. data/docbook-xsl/docsrc/reference.xml.included +32701 -0
  100. data/docbook-xsl/docsrc/warranty.xml +11 -0
  101. data/docbook-xsl/epub/README +88 -0
  102. data/docbook-xsl/epub/bin/dbtoepub +65 -0
  103. data/docbook-xsl/epub/bin/lib/docbook.rb +206 -0
  104. data/docbook-xsl/epub/docbook.xsl +1638 -0
  105. data/docbook-xsl/extensions/README.LIBXSLT +52 -0
  106. data/docbook-xsl/extensions/docbook.py +240 -0
  107. data/docbook-xsl/extensions/saxon65.jar +0 -0
  108. data/docbook-xsl/extensions/xalan27.jar +0 -0
  109. data/docbook-xsl/extensions/xslt.py +83 -0
  110. data/docbook-xsl/fo.xsl +152 -0
  111. data/docbook-xsl/fo/admon.xsl +130 -0
  112. data/docbook-xsl/fo/annotations.xsl +18 -0
  113. data/docbook-xsl/fo/autoidx-kimber.xsl +178 -0
  114. data/docbook-xsl/fo/autoidx-kosek.xsl +150 -0
  115. data/docbook-xsl/fo/autoidx-ng.xsl +20 -0
  116. data/docbook-xsl/fo/autoidx.xsl +1310 -0
  117. data/docbook-xsl/fo/autotoc.xsl +892 -0
  118. data/docbook-xsl/fo/axf.xsl +110 -0
  119. data/docbook-xsl/fo/biblio-iso690.xsl +1300 -0
  120. data/docbook-xsl/fo/biblio.xsl +1169 -0
  121. data/docbook-xsl/fo/block.xsl +600 -0
  122. data/docbook-xsl/fo/callout.xsl +231 -0
  123. data/docbook-xsl/fo/component.xsl +811 -0
  124. data/docbook-xsl/fo/division.xsl +611 -0
  125. data/docbook-xsl/fo/docbook.xsl +336 -0
  126. data/docbook-xsl/fo/ebnf.xsl +325 -0
  127. data/docbook-xsl/fo/fo-rtf.xsl +154 -0
  128. data/docbook-xsl/fo/fo.xsl +71 -0
  129. data/docbook-xsl/fo/footnote.xsl +220 -0
  130. data/docbook-xsl/fo/fop.xsl +93 -0
  131. data/docbook-xsl/fo/fop1.xsl +174 -0
  132. data/docbook-xsl/fo/formal.xsl +615 -0
  133. data/docbook-xsl/fo/glossary.xsl +1112 -0
  134. data/docbook-xsl/fo/graphics.xsl +642 -0
  135. data/docbook-xsl/fo/highlight.xsl +75 -0
  136. data/docbook-xsl/fo/htmltbl.xsl +217 -0
  137. data/docbook-xsl/fo/index.xsl +481 -0
  138. data/docbook-xsl/fo/info.xsl +34 -0
  139. data/docbook-xsl/fo/inline.xsl +1275 -0
  140. data/docbook-xsl/fo/keywords.xsl +21 -0
  141. data/docbook-xsl/fo/lists.xsl +1260 -0
  142. data/docbook-xsl/fo/math.xsl +140 -0
  143. data/docbook-xsl/fo/pagesetup.xsl +2314 -0
  144. data/docbook-xsl/fo/param.xml +11823 -0
  145. data/docbook-xsl/fo/param.xsl +899 -0
  146. data/docbook-xsl/fo/passivetex.xsl +36 -0
  147. data/docbook-xsl/fo/pdf2index +140 -0
  148. data/docbook-xsl/fo/pi.xml +969 -0
  149. data/docbook-xsl/fo/pi.xsl +1052 -0
  150. data/docbook-xsl/fo/profile-docbook.xsl +289 -0
  151. data/docbook-xsl/fo/ptc.xsl +77 -0
  152. data/docbook-xsl/fo/qandaset.xsl +393 -0
  153. data/docbook-xsl/fo/refentry.xsl +637 -0
  154. data/docbook-xsl/fo/sections.xsl +764 -0
  155. data/docbook-xsl/fo/spaces.xsl +274 -0
  156. data/docbook-xsl/fo/synop.xsl +1002 -0
  157. data/docbook-xsl/fo/table.xml +135 -0
  158. data/docbook-xsl/fo/table.xsl +1552 -0
  159. data/docbook-xsl/fo/task.xsl +91 -0
  160. data/docbook-xsl/fo/titlepage.templates.xml +1311 -0
  161. data/docbook-xsl/fo/titlepage.templates.xsl +5094 -0
  162. data/docbook-xsl/fo/titlepage.xsl +750 -0
  163. data/docbook-xsl/fo/toc.xsl +274 -0
  164. data/docbook-xsl/fo/verbatim.xsl +417 -0
  165. data/docbook-xsl/fo/xep.xsl +180 -0
  166. data/docbook-xsl/fo/xref.xsl +1486 -0
  167. data/docbook-xsl/highlighting/c-hl.xml +101 -0
  168. data/docbook-xsl/highlighting/common.xsl +120 -0
  169. data/docbook-xsl/highlighting/cpp-hl.xml +150 -0
  170. data/docbook-xsl/highlighting/csharp-hl.xml +187 -0
  171. data/docbook-xsl/highlighting/delphi-hl.xml +200 -0
  172. data/docbook-xsl/highlighting/ini-hl.xml +45 -0
  173. data/docbook-xsl/highlighting/java-hl.xml +117 -0
  174. data/docbook-xsl/highlighting/javascript-hl.xml +147 -0
  175. data/docbook-xsl/highlighting/m2-hl.xml +90 -0
  176. data/docbook-xsl/highlighting/myxml-hl.xml +116 -0
  177. data/docbook-xsl/highlighting/perl-hl.xml +120 -0
  178. data/docbook-xsl/highlighting/php-hl.xml +149 -0
  179. data/docbook-xsl/highlighting/python-hl.xml +100 -0
  180. data/docbook-xsl/highlighting/ruby-hl.xml +109 -0
  181. data/docbook-xsl/highlighting/tcl-hl.xml +180 -0
  182. data/docbook-xsl/highlighting/xslthl-config.xml +46 -0
  183. data/docbook-xsl/html/admon.xsl +132 -0
  184. data/docbook-xsl/html/annotations.xsl +169 -0
  185. data/docbook-xsl/html/autoidx-kimber.xsl +168 -0
  186. data/docbook-xsl/html/autoidx-kosek.xsl +125 -0
  187. data/docbook-xsl/html/autoidx-ng.xsl +20 -0
  188. data/docbook-xsl/html/autoidx.xsl +645 -0
  189. data/docbook-xsl/html/autotoc.xsl +675 -0
  190. data/docbook-xsl/html/biblio-iso690.xsl +1300 -0
  191. data/docbook-xsl/html/biblio.xsl +1247 -0
  192. data/docbook-xsl/html/block.xsl +434 -0
  193. data/docbook-xsl/html/callout.xsl +201 -0
  194. data/docbook-xsl/html/changebars.xsl +121 -0
  195. data/docbook-xsl/html/chunk-changebars.xsl +99 -0
  196. data/docbook-xsl/html/chunk-code.xsl +670 -0
  197. data/docbook-xsl/html/chunk-common.xsl +1911 -0
  198. data/docbook-xsl/html/chunk.xsl +52 -0
  199. data/docbook-xsl/html/chunker.xsl +439 -0
  200. data/docbook-xsl/html/chunkfast.xsl +72 -0
  201. data/docbook-xsl/html/chunktoc.xsl +468 -0
  202. data/docbook-xsl/html/component.xsl +403 -0
  203. data/docbook-xsl/html/division.xsl +228 -0
  204. data/docbook-xsl/html/docbook.xsl +483 -0
  205. data/docbook-xsl/html/ebnf.xsl +329 -0
  206. data/docbook-xsl/html/footnote.xsl +308 -0
  207. data/docbook-xsl/html/formal.xsl +401 -0
  208. data/docbook-xsl/html/glossary.xsl +474 -0
  209. data/docbook-xsl/html/graphics.xsl +1515 -0
  210. data/docbook-xsl/html/highlight.xsl +71 -0
  211. data/docbook-xsl/html/html-rtf.xsl +336 -0
  212. data/docbook-xsl/html/html.xsl +268 -0
  213. data/docbook-xsl/html/htmltbl.xsl +56 -0
  214. data/docbook-xsl/html/index.xsl +229 -0
  215. data/docbook-xsl/html/info.xsl +43 -0
  216. data/docbook-xsl/html/inline.xsl +1497 -0
  217. data/docbook-xsl/html/keywords.xsl +35 -0
  218. data/docbook-xsl/html/lists.xsl +1143 -0
  219. data/docbook-xsl/html/maketoc.xsl +86 -0
  220. data/docbook-xsl/html/manifest.xsl +22 -0
  221. data/docbook-xsl/html/math.xsl +270 -0
  222. data/docbook-xsl/html/oldchunker.xsl +202 -0
  223. data/docbook-xsl/html/onechunk.xsl +37 -0
  224. data/docbook-xsl/html/param.xml +10397 -0
  225. data/docbook-xsl/html/param.xsl +422 -0
  226. data/docbook-xsl/html/pi.xml +1113 -0
  227. data/docbook-xsl/html/pi.xsl +1263 -0
  228. data/docbook-xsl/html/profile-chunk-code.xsl +609 -0
  229. data/docbook-xsl/html/profile-chunk.xsl +52 -0
  230. data/docbook-xsl/html/profile-docbook.xsl +414 -0
  231. data/docbook-xsl/html/profile-onechunk.xsl +37 -0
  232. data/docbook-xsl/html/qandaset.xsl +389 -0
  233. data/docbook-xsl/html/refentry.xsl +309 -0
  234. data/docbook-xsl/html/sections.xsl +628 -0
  235. data/docbook-xsl/html/synop.xsl +1549 -0
  236. data/docbook-xsl/html/table.xsl +1130 -0
  237. data/docbook-xsl/html/task.xsl +76 -0
  238. data/docbook-xsl/html/titlepage.templates.xml +662 -0
  239. data/docbook-xsl/html/titlepage.templates.xsl +3622 -0
  240. data/docbook-xsl/html/titlepage.xsl +1031 -0
  241. data/docbook-xsl/html/toc.xsl +169 -0
  242. data/docbook-xsl/html/verbatim.xsl +376 -0
  243. data/docbook-xsl/html/xref.xsl +1348 -0
  244. data/docbook-xsl/htmlhelp/htmlhelp-common.xsl +1113 -0
  245. data/docbook-xsl/htmlhelp/htmlhelp.xsl +22 -0
  246. data/docbook-xsl/htmlhelp/profile-htmlhelp-common.xsl +1076 -0
  247. data/docbook-xsl/htmlhelp/profile-htmlhelp.xsl +22 -0
  248. data/docbook-xsl/images/annot-close.png +0 -0
  249. data/docbook-xsl/images/annot-open.png +0 -0
  250. data/docbook-xsl/images/blank.png +0 -0
  251. data/docbook-xsl/images/callouts/1.gif +0 -0
  252. data/docbook-xsl/images/callouts/1.png +0 -0
  253. data/docbook-xsl/images/callouts/1.svg +15 -0
  254. data/docbook-xsl/images/callouts/10.gif +0 -0
  255. data/docbook-xsl/images/callouts/10.png +0 -0
  256. data/docbook-xsl/images/callouts/10.svg +18 -0
  257. data/docbook-xsl/images/callouts/11.gif +0 -0
  258. data/docbook-xsl/images/callouts/11.png +0 -0
  259. data/docbook-xsl/images/callouts/11.svg +16 -0
  260. data/docbook-xsl/images/callouts/12.gif +0 -0
  261. data/docbook-xsl/images/callouts/12.png +0 -0
  262. data/docbook-xsl/images/callouts/12.svg +18 -0
  263. data/docbook-xsl/images/callouts/13.gif +0 -0
  264. data/docbook-xsl/images/callouts/13.png +0 -0
  265. data/docbook-xsl/images/callouts/13.svg +20 -0
  266. data/docbook-xsl/images/callouts/14.gif +0 -0
  267. data/docbook-xsl/images/callouts/14.png +0 -0
  268. data/docbook-xsl/images/callouts/14.svg +17 -0
  269. data/docbook-xsl/images/callouts/15.gif +0 -0
  270. data/docbook-xsl/images/callouts/15.png +0 -0
  271. data/docbook-xsl/images/callouts/15.svg +19 -0
  272. data/docbook-xsl/images/callouts/16.svg +20 -0
  273. data/docbook-xsl/images/callouts/17.svg +17 -0
  274. data/docbook-xsl/images/callouts/18.svg +21 -0
  275. data/docbook-xsl/images/callouts/19.svg +20 -0
  276. data/docbook-xsl/images/callouts/2.gif +0 -0
  277. data/docbook-xsl/images/callouts/2.png +0 -0
  278. data/docbook-xsl/images/callouts/2.svg +17 -0
  279. data/docbook-xsl/images/callouts/20.svg +20 -0
  280. data/docbook-xsl/images/callouts/21.svg +18 -0
  281. data/docbook-xsl/images/callouts/22.svg +20 -0
  282. data/docbook-xsl/images/callouts/23.svg +22 -0
  283. data/docbook-xsl/images/callouts/24.svg +19 -0
  284. data/docbook-xsl/images/callouts/25.svg +21 -0
  285. data/docbook-xsl/images/callouts/26.svg +22 -0
  286. data/docbook-xsl/images/callouts/27.svg +19 -0
  287. data/docbook-xsl/images/callouts/28.svg +23 -0
  288. data/docbook-xsl/images/callouts/29.svg +22 -0
  289. data/docbook-xsl/images/callouts/3.gif +0 -0
  290. data/docbook-xsl/images/callouts/3.png +0 -0
  291. data/docbook-xsl/images/callouts/3.svg +19 -0
  292. data/docbook-xsl/images/callouts/30.svg +22 -0
  293. data/docbook-xsl/images/callouts/4.gif +0 -0
  294. data/docbook-xsl/images/callouts/4.png +0 -0
  295. data/docbook-xsl/images/callouts/4.svg +16 -0
  296. data/docbook-xsl/images/callouts/5.gif +0 -0
  297. data/docbook-xsl/images/callouts/5.png +0 -0
  298. data/docbook-xsl/images/callouts/5.svg +18 -0
  299. data/docbook-xsl/images/callouts/6.gif +0 -0
  300. data/docbook-xsl/images/callouts/6.png +0 -0
  301. data/docbook-xsl/images/callouts/6.svg +19 -0
  302. data/docbook-xsl/images/callouts/7.gif +0 -0
  303. data/docbook-xsl/images/callouts/7.png +0 -0
  304. data/docbook-xsl/images/callouts/7.svg +16 -0
  305. data/docbook-xsl/images/callouts/8.gif +0 -0
  306. data/docbook-xsl/images/callouts/8.png +0 -0
  307. data/docbook-xsl/images/callouts/8.svg +20 -0
  308. data/docbook-xsl/images/callouts/9.gif +0 -0
  309. data/docbook-xsl/images/callouts/9.png +0 -0
  310. data/docbook-xsl/images/callouts/9.svg +19 -0
  311. data/docbook-xsl/images/caution.gif +0 -0
  312. data/docbook-xsl/images/caution.png +0 -0
  313. data/docbook-xsl/images/caution.svg +25 -0
  314. data/docbook-xsl/images/caution.tif +0 -0
  315. data/docbook-xsl/images/draft.png +0 -0
  316. data/docbook-xsl/images/home.gif +0 -0
  317. data/docbook-xsl/images/home.png +0 -0
  318. data/docbook-xsl/images/home.svg +26 -0
  319. data/docbook-xsl/images/important.gif +0 -0
  320. data/docbook-xsl/images/important.png +0 -0
  321. data/docbook-xsl/images/important.svg +25 -0
  322. data/docbook-xsl/images/important.tif +0 -0
  323. data/docbook-xsl/images/next.gif +0 -0
  324. data/docbook-xsl/images/next.png +0 -0
  325. data/docbook-xsl/images/next.svg +19 -0
  326. data/docbook-xsl/images/note.gif +0 -0
  327. data/docbook-xsl/images/note.png +0 -0
  328. data/docbook-xsl/images/note.svg +33 -0
  329. data/docbook-xsl/images/note.tif +0 -0
  330. data/docbook-xsl/images/prev.gif +0 -0
  331. data/docbook-xsl/images/prev.png +0 -0
  332. data/docbook-xsl/images/prev.svg +19 -0
  333. data/docbook-xsl/images/tip.gif +0 -0
  334. data/docbook-xsl/images/tip.png +0 -0
  335. data/docbook-xsl/images/tip.svg +31 -0
  336. data/docbook-xsl/images/tip.tif +0 -0
  337. data/docbook-xsl/images/toc-blank.png +0 -0
  338. data/docbook-xsl/images/toc-minus.png +0 -0
  339. data/docbook-xsl/images/toc-plus.png +0 -0
  340. data/docbook-xsl/images/up.gif +0 -0
  341. data/docbook-xsl/images/up.png +0 -0
  342. data/docbook-xsl/images/up.svg +19 -0
  343. data/docbook-xsl/images/warning.gif +0 -0
  344. data/docbook-xsl/images/warning.png +0 -0
  345. data/docbook-xsl/images/warning.svg +23 -0
  346. data/docbook-xsl/images/warning.tif +0 -0
  347. data/docbook-xsl/javahelp/javahelp.xsl +628 -0
  348. data/docbook-xsl/javahelp/profile-javahelp.xsl +550 -0
  349. data/docbook-xsl/lib/lib.xsl +480 -0
  350. data/docbook-xsl/manpages/ChangeLog.20020917 +195 -0
  351. data/docbook-xsl/manpages/block.xsl +393 -0
  352. data/docbook-xsl/manpages/charmap.groff.xsl +6013 -0
  353. data/docbook-xsl/manpages/docbook.xsl +302 -0
  354. data/docbook-xsl/manpages/endnotes.xsl +584 -0
  355. data/docbook-xsl/manpages/html-synop.xsl +1562 -0
  356. data/docbook-xsl/manpages/info.xsl +800 -0
  357. data/docbook-xsl/manpages/inline.xsl +219 -0
  358. data/docbook-xsl/manpages/lists.xsl +603 -0
  359. data/docbook-xsl/manpages/other.xsl +869 -0
  360. data/docbook-xsl/manpages/param.xml +3162 -0
  361. data/docbook-xsl/manpages/param.xsl +192 -0
  362. data/docbook-xsl/manpages/pi.xml +70 -0
  363. data/docbook-xsl/manpages/pi.xsl +79 -0
  364. data/docbook-xsl/manpages/profile-docbook.xsl +271 -0
  365. data/docbook-xsl/manpages/refentry.xsl +310 -0
  366. data/docbook-xsl/manpages/synop.xsl +432 -0
  367. data/docbook-xsl/manpages/table.xsl +633 -0
  368. data/docbook-xsl/manpages/utility.xsl +534 -0
  369. data/docbook-xsl/params/abstract.notitle.enabled.xml +22 -0
  370. data/docbook-xsl/params/abstract.properties.xml +32 -0
  371. data/docbook-xsl/params/abstract.title.properties.xml +39 -0
  372. data/docbook-xsl/params/active.toc.xml +29 -0
  373. data/docbook-xsl/params/ade.extensions.xml +32 -0
  374. data/docbook-xsl/params/admon.graphics.extension.xml +27 -0
  375. data/docbook-xsl/params/admon.graphics.path.xml +27 -0
  376. data/docbook-xsl/params/admon.graphics.xml +29 -0
  377. data/docbook-xsl/params/admon.style.xml +30 -0
  378. data/docbook-xsl/params/admon.textlabel.xml +32 -0
  379. data/docbook-xsl/params/admonition.properties.xml +25 -0
  380. data/docbook-xsl/params/admonition.title.properties.xml +32 -0
  381. data/docbook-xsl/params/alignment.xml +31 -0
  382. data/docbook-xsl/params/annotate.toc.xml +28 -0
  383. data/docbook-xsl/params/annotation.css.xml +71 -0
  384. data/docbook-xsl/params/annotation.graphic.close.xml +31 -0
  385. data/docbook-xsl/params/annotation.graphic.open.xml +28 -0
  386. data/docbook-xsl/params/annotation.js.xml +33 -0
  387. data/docbook-xsl/params/annotation.support.xml +29 -0
  388. data/docbook-xsl/params/appendix.autolabel.xml +73 -0
  389. data/docbook-xsl/params/arbortext.extensions.xml +30 -0
  390. data/docbook-xsl/params/article.appendix.title.properties.xml +33 -0
  391. data/docbook-xsl/params/author.othername.in.middle.xml +31 -0
  392. data/docbook-xsl/params/autolayout-file.xml +29 -0
  393. data/docbook-xsl/params/autotoc.label.in.hyperlink.xml +29 -0
  394. data/docbook-xsl/params/autotoc.label.separator.xml +27 -0
  395. data/docbook-xsl/params/axf.extensions.xml +33 -0
  396. data/docbook-xsl/params/banner.before.navigation.xml +25 -0
  397. data/docbook-xsl/params/base.dir.xml +29 -0
  398. data/docbook-xsl/params/biblioentry.item.separator.xml +26 -0
  399. data/docbook-xsl/params/biblioentry.properties.xml +28 -0
  400. data/docbook-xsl/params/bibliography.collection.xml +104 -0
  401. data/docbook-xsl/params/bibliography.numbered.xml +27 -0
  402. data/docbook-xsl/params/bibliography.style.xml +35 -0
  403. data/docbook-xsl/params/blockquote.properties.xml +34 -0
  404. data/docbook-xsl/params/blurb.on.titlepage.enabled.xml +31 -0
  405. data/docbook-xsl/params/body.attributes.xml +31 -0
  406. data/docbook-xsl/params/body.bg.color.xml +28 -0
  407. data/docbook-xsl/params/body.end.indent.xml +37 -0
  408. data/docbook-xsl/params/body.font.family.xml +32 -0
  409. data/docbook-xsl/params/body.font.master.xml +30 -0
  410. data/docbook-xsl/params/body.font.size.xml +31 -0
  411. data/docbook-xsl/params/body.margin.bottom.xml +29 -0
  412. data/docbook-xsl/params/body.margin.top.xml +28 -0
  413. data/docbook-xsl/params/body.start.indent.xml +62 -0
  414. data/docbook-xsl/params/bridgehead.in.toc.xml +28 -0
  415. data/docbook-xsl/params/bullet.image.xml +28 -0
  416. data/docbook-xsl/params/callout.defaultcolumn.xml +30 -0
  417. data/docbook-xsl/params/callout.graphics.extension.xml +33 -0
  418. data/docbook-xsl/params/callout.graphics.number.limit.xml +34 -0
  419. data/docbook-xsl/params/callout.graphics.path.xml +31 -0
  420. data/docbook-xsl/params/callout.graphics.xml +30 -0
  421. data/docbook-xsl/params/callout.icon.size.xml +28 -0
  422. data/docbook-xsl/params/callout.list.table.xml +32 -0
  423. data/docbook-xsl/params/callout.unicode.font.xml +29 -0
  424. data/docbook-xsl/params/callout.unicode.number.limit.xml +35 -0
  425. data/docbook-xsl/params/callout.unicode.start.character.xml +33 -0
  426. data/docbook-xsl/params/callout.unicode.xml +26 -0
  427. data/docbook-xsl/params/callouts.extension.xml +30 -0
  428. data/docbook-xsl/params/chapter.autolabel.xml +71 -0
  429. data/docbook-xsl/params/chunk.append.xml +30 -0
  430. data/docbook-xsl/params/chunk.first.sections.xml +31 -0
  431. data/docbook-xsl/params/chunk.quietly.xml +30 -0
  432. data/docbook-xsl/params/chunk.section.depth.xml +27 -0
  433. data/docbook-xsl/params/chunk.sections.xml +30 -0
  434. data/docbook-xsl/params/chunk.separate.lots.xml +36 -0
  435. data/docbook-xsl/params/chunk.toc.xml +30 -0
  436. data/docbook-xsl/params/chunk.tocs.and.lots.has.title.xml +28 -0
  437. data/docbook-xsl/params/chunk.tocs.and.lots.xml +32 -0
  438. data/docbook-xsl/params/chunker.output.cdata-section-elements.xml +30 -0
  439. data/docbook-xsl/params/chunker.output.doctype-public.xml +31 -0
  440. data/docbook-xsl/params/chunker.output.doctype-system.xml +31 -0
  441. data/docbook-xsl/params/chunker.output.encoding.xml +31 -0
  442. data/docbook-xsl/params/chunker.output.indent.xml +30 -0
  443. data/docbook-xsl/params/chunker.output.media-type.xml +35 -0
  444. data/docbook-xsl/params/chunker.output.method.xml +32 -0
  445. data/docbook-xsl/params/chunker.output.omit-xml-declaration.xml +30 -0
  446. data/docbook-xsl/params/chunker.output.standalone.xml +31 -0
  447. data/docbook-xsl/params/citerefentry.link.xml +29 -0
  448. data/docbook-xsl/params/collect.xref.targets.xml +33 -0
  449. data/docbook-xsl/params/column.count.back.xml +27 -0
  450. data/docbook-xsl/params/column.count.body.xml +27 -0
  451. data/docbook-xsl/params/column.count.front.xml +27 -0
  452. data/docbook-xsl/params/column.count.index.xml +27 -0
  453. data/docbook-xsl/params/column.count.lot.xml +28 -0
  454. data/docbook-xsl/params/column.count.titlepage.xml +27 -0
  455. data/docbook-xsl/params/column.gap.back.xml +28 -0
  456. data/docbook-xsl/params/column.gap.body.xml +28 -0
  457. data/docbook-xsl/params/column.gap.front.xml +28 -0
  458. data/docbook-xsl/params/column.gap.index.xml +28 -0
  459. data/docbook-xsl/params/column.gap.lot.xml +28 -0
  460. data/docbook-xsl/params/column.gap.titlepage.xml +29 -0
  461. data/docbook-xsl/params/compact.list.item.spacing.xml +28 -0
  462. data/docbook-xsl/params/component.label.includes.part.label.xml +39 -0
  463. data/docbook-xsl/params/component.title.properties.xml +40 -0
  464. data/docbook-xsl/params/component.titlepage.properties.xml +33 -0
  465. data/docbook-xsl/params/contrib.inline.enabled.xml +26 -0
  466. data/docbook-xsl/params/crop.mark.bleed.xml +28 -0
  467. data/docbook-xsl/params/crop.mark.offset.xml +28 -0
  468. data/docbook-xsl/params/crop.mark.width.xml +28 -0
  469. data/docbook-xsl/params/crop.marks.xml +28 -0
  470. data/docbook-xsl/params/css.decoration.xml +33 -0
  471. data/docbook-xsl/params/css.stylesheet.dir.xml +33 -0
  472. data/docbook-xsl/params/css.stylesheet.xml +29 -0
  473. data/docbook-xsl/params/current.docid.xml +27 -0
  474. data/docbook-xsl/params/currentpage.marker.xml +25 -0
  475. data/docbook-xsl/params/default.float.class.xml +34 -0
  476. data/docbook-xsl/params/default.image.width.xml +31 -0
  477. data/docbook-xsl/params/default.table.frame.xml +28 -0
  478. data/docbook-xsl/params/default.table.width.xml +26 -0
  479. data/docbook-xsl/params/default.units.xml +37 -0
  480. data/docbook-xsl/params/dingbat.font.family.xml +33 -0
  481. data/docbook-xsl/params/double.sided.xml +31 -0
  482. data/docbook-xsl/params/draft.mode.xml +36 -0
  483. data/docbook-xsl/params/draft.watermark.image.xml +27 -0
  484. data/docbook-xsl/params/dry-run.xml +27 -0
  485. data/docbook-xsl/params/dynamic.toc.xml +29 -0
  486. data/docbook-xsl/params/ebnf.assignment.xml +39 -0
  487. data/docbook-xsl/params/ebnf.statement.terminator.xml +32 -0
  488. data/docbook-xsl/params/ebnf.table.bgcolor.xml +30 -0
  489. data/docbook-xsl/params/ebnf.table.border.xml +26 -0
  490. data/docbook-xsl/params/eclipse.autolabel.xml +28 -0
  491. data/docbook-xsl/params/eclipse.plugin.id.xml +28 -0
  492. data/docbook-xsl/params/eclipse.plugin.name.xml +27 -0
  493. data/docbook-xsl/params/eclipse.plugin.provider.xml +27 -0
  494. data/docbook-xsl/params/editedby.enabled.xml +27 -0
  495. data/docbook-xsl/params/email.delimiters.enabled.xml +34 -0
  496. data/docbook-xsl/params/email.mailto.enabled.xml +29 -0
  497. data/docbook-xsl/params/emphasis.propagates.style.xml +26 -0
  498. data/docbook-xsl/params/entry.propagates.style.xml +30 -0
  499. data/docbook-xsl/params/epub.autolabel.xml +28 -0
  500. data/docbook-xsl/params/equation.properties.xml +27 -0
  501. data/docbook-xsl/params/example.properties.xml +27 -0
  502. data/docbook-xsl/params/feedback.href.xml +28 -0
  503. data/docbook-xsl/params/feedback.link.text.xml +28 -0
  504. data/docbook-xsl/params/feedback.with.ids.xml +27 -0
  505. data/docbook-xsl/params/figure.properties.xml +27 -0
  506. data/docbook-xsl/params/filename-prefix.xml +28 -0
  507. data/docbook-xsl/params/firstterm.only.link.xml +29 -0
  508. data/docbook-xsl/params/foil.properties.xml +37 -0
  509. data/docbook-xsl/params/foil.subtitle.properties.xml +36 -0
  510. data/docbook-xsl/params/foil.title.master.xml +29 -0
  511. data/docbook-xsl/params/foil.title.size.xml +32 -0
  512. data/docbook-xsl/params/foilgroup.properties.xml +31 -0
  513. data/docbook-xsl/params/foilgroup.toc.xml +29 -0
  514. data/docbook-xsl/params/footer.column.widths.xml +74 -0
  515. data/docbook-xsl/params/footer.content.properties.xml +34 -0
  516. data/docbook-xsl/params/footer.hr.xml +26 -0
  517. data/docbook-xsl/params/footer.rule.xml +27 -0
  518. data/docbook-xsl/params/footer.table.height.xml +32 -0
  519. data/docbook-xsl/params/footer.table.properties.xml +30 -0
  520. data/docbook-xsl/params/footers.on.blank.pages.xml +27 -0
  521. data/docbook-xsl/params/footnote.font.size.xml +28 -0
  522. data/docbook-xsl/params/footnote.mark.properties.xml +41 -0
  523. data/docbook-xsl/params/footnote.number.format.xml +33 -0
  524. data/docbook-xsl/params/footnote.number.symbols.xml +39 -0
  525. data/docbook-xsl/params/footnote.properties.xml +43 -0
  526. data/docbook-xsl/params/footnote.sep.leader.properties.xml +39 -0
  527. data/docbook-xsl/params/fop.extensions.xml +36 -0
  528. data/docbook-xsl/params/fop1.extensions.xml +34 -0
  529. data/docbook-xsl/params/formal.object.properties.xml +36 -0
  530. data/docbook-xsl/params/formal.procedures.xml +28 -0
  531. data/docbook-xsl/params/formal.title.placement.xml +41 -0
  532. data/docbook-xsl/params/formal.title.properties.xml +34 -0
  533. data/docbook-xsl/params/funcsynopsis.decoration.xml +30 -0
  534. data/docbook-xsl/params/funcsynopsis.style.xml +31 -0
  535. data/docbook-xsl/params/function.parens.xml +29 -0
  536. data/docbook-xsl/params/generate.id.attributes.xml +59 -0
  537. data/docbook-xsl/params/generate.index.xml +25 -0
  538. data/docbook-xsl/params/generate.legalnotice.link.xml +72 -0
  539. data/docbook-xsl/params/generate.manifest.xml +27 -0
  540. data/docbook-xsl/params/generate.meta.abstract.xml +29 -0
  541. data/docbook-xsl/params/generate.revhistory.link.xml +50 -0
  542. data/docbook-xsl/params/generate.section.toc.level.xml +35 -0
  543. data/docbook-xsl/params/generate.toc.xml +108 -0
  544. data/docbook-xsl/params/glossary.as.blocks.xml +38 -0
  545. data/docbook-xsl/params/glossary.collection.xml +252 -0
  546. data/docbook-xsl/params/glossary.sort.xml +32 -0
  547. data/docbook-xsl/params/glossentry.show.acronym.xml +37 -0
  548. data/docbook-xsl/params/glosslist.as.blocks.xml +27 -0
  549. data/docbook-xsl/params/glossterm.auto.link.xml +33 -0
  550. data/docbook-xsl/params/glossterm.separation.xml +28 -0
  551. data/docbook-xsl/params/glossterm.width.xml +28 -0
  552. data/docbook-xsl/params/graphic.default.extension.xml +29 -0
  553. data/docbook-xsl/params/graphical.admonition.properties.xml +42 -0
  554. data/docbook-xsl/params/graphics.dir.xml +33 -0
  555. data/docbook-xsl/params/graphicsize.extension.xml +30 -0
  556. data/docbook-xsl/params/graphicsize.use.img.src.path.xml +30 -0
  557. data/docbook-xsl/params/header.column.widths.xml +74 -0
  558. data/docbook-xsl/params/header.content.properties.xml +34 -0
  559. data/docbook-xsl/params/header.hr.xml +26 -0
  560. data/docbook-xsl/params/header.rule.xml +27 -0
  561. data/docbook-xsl/params/header.table.height.xml +32 -0
  562. data/docbook-xsl/params/header.table.properties.xml +30 -0
  563. data/docbook-xsl/params/headers.on.blank.pages.xml +27 -0
  564. data/docbook-xsl/params/hidetoc.image.xml +29 -0
  565. data/docbook-xsl/params/highlight.default.language.xml +27 -0
  566. data/docbook-xsl/params/highlight.source.xml +47 -0
  567. data/docbook-xsl/params/highlight.xslthl.config.xml +27 -0
  568. data/docbook-xsl/params/home.image.xml +27 -0
  569. data/docbook-xsl/params/html.append.xml +30 -0
  570. data/docbook-xsl/params/html.base.xml +30 -0
  571. data/docbook-xsl/params/html.cellpadding.xml +29 -0
  572. data/docbook-xsl/params/html.cellspacing.xml +29 -0
  573. data/docbook-xsl/params/html.cleanup.xml +34 -0
  574. data/docbook-xsl/params/html.ext.xml +29 -0
  575. data/docbook-xsl/params/html.extra.head.links.xml +31 -0
  576. data/docbook-xsl/params/html.head.legalnotice.link.multiple.xml +44 -0
  577. data/docbook-xsl/params/html.head.legalnotice.link.types.xml +75 -0
  578. data/docbook-xsl/params/html.longdesc.link.xml +39 -0
  579. data/docbook-xsl/params/html.longdesc.xml +28 -0
  580. data/docbook-xsl/params/html.stylesheet.type.xml +26 -0
  581. data/docbook-xsl/params/html.stylesheet.xml +36 -0
  582. data/docbook-xsl/params/htmlhelp.alias.file.xml +27 -0
  583. data/docbook-xsl/params/htmlhelp.autolabel.xml +28 -0
  584. data/docbook-xsl/params/htmlhelp.button.back.xml +27 -0
  585. data/docbook-xsl/params/htmlhelp.button.forward.xml +27 -0
  586. data/docbook-xsl/params/htmlhelp.button.hideshow.xml +27 -0
  587. data/docbook-xsl/params/htmlhelp.button.home.url.xml +27 -0
  588. data/docbook-xsl/params/htmlhelp.button.home.xml +27 -0
  589. data/docbook-xsl/params/htmlhelp.button.jump1.title.xml +27 -0
  590. data/docbook-xsl/params/htmlhelp.button.jump1.url.xml +27 -0
  591. data/docbook-xsl/params/htmlhelp.button.jump1.xml +23 -0
  592. data/docbook-xsl/params/htmlhelp.button.jump2.title.xml +27 -0
  593. data/docbook-xsl/params/htmlhelp.button.jump2.url.xml +27 -0
  594. data/docbook-xsl/params/htmlhelp.button.jump2.xml +27 -0
  595. data/docbook-xsl/params/htmlhelp.button.locate.xml +28 -0
  596. data/docbook-xsl/params/htmlhelp.button.next.xml +27 -0
  597. data/docbook-xsl/params/htmlhelp.button.options.xml +28 -0
  598. data/docbook-xsl/params/htmlhelp.button.prev.xml +28 -0
  599. data/docbook-xsl/params/htmlhelp.button.print.xml +28 -0
  600. data/docbook-xsl/params/htmlhelp.button.refresh.xml +27 -0
  601. data/docbook-xsl/params/htmlhelp.button.stop.xml +28 -0
  602. data/docbook-xsl/params/htmlhelp.button.zoom.xml +28 -0
  603. data/docbook-xsl/params/htmlhelp.chm.xml +27 -0
  604. data/docbook-xsl/params/htmlhelp.default.topic.xml +37 -0
  605. data/docbook-xsl/params/htmlhelp.display.progress.xml +28 -0
  606. data/docbook-xsl/params/htmlhelp.encoding.xml +28 -0
  607. data/docbook-xsl/params/htmlhelp.enhanced.decompilation.xml +27 -0
  608. data/docbook-xsl/params/htmlhelp.enumerate.images.xml +28 -0
  609. data/docbook-xsl/params/htmlhelp.force.map.and.alias.xml +26 -0
  610. data/docbook-xsl/params/htmlhelp.hhc.binary.xml +29 -0
  611. data/docbook-xsl/params/htmlhelp.hhc.folders.instead.books.xml +33 -0
  612. data/docbook-xsl/params/htmlhelp.hhc.section.depth.xml +27 -0
  613. data/docbook-xsl/params/htmlhelp.hhc.show.root.xml +29 -0
  614. data/docbook-xsl/params/htmlhelp.hhc.width.xml +28 -0
  615. data/docbook-xsl/params/htmlhelp.hhc.xml +27 -0
  616. data/docbook-xsl/params/htmlhelp.hhk.xml +27 -0
  617. data/docbook-xsl/params/htmlhelp.hhp.tail.xml +28 -0
  618. data/docbook-xsl/params/htmlhelp.hhp.window.xml +28 -0
  619. data/docbook-xsl/params/htmlhelp.hhp.windows.xml +29 -0
  620. data/docbook-xsl/params/htmlhelp.hhp.xml +28 -0
  621. data/docbook-xsl/params/htmlhelp.map.file.xml +25 -0
  622. data/docbook-xsl/params/htmlhelp.only.xml +32 -0
  623. data/docbook-xsl/params/htmlhelp.remember.window.position.xml +27 -0
  624. data/docbook-xsl/params/htmlhelp.show.advanced.search.xml +28 -0
  625. data/docbook-xsl/params/htmlhelp.show.favorities.xml +28 -0
  626. data/docbook-xsl/params/htmlhelp.show.menu.xml +28 -0
  627. data/docbook-xsl/params/htmlhelp.show.toolbar.text.xml +28 -0
  628. data/docbook-xsl/params/htmlhelp.title.xml +28 -0
  629. data/docbook-xsl/params/htmlhelp.use.hhk.xml +28 -0
  630. data/docbook-xsl/params/htmlhelp.window.geometry.xml +30 -0
  631. data/docbook-xsl/params/hyphenate.verbatim.characters.xml +30 -0
  632. data/docbook-xsl/params/hyphenate.verbatim.xml +45 -0
  633. data/docbook-xsl/params/hyphenate.xml +29 -0
  634. data/docbook-xsl/params/id.warnings.xml +25 -0
  635. data/docbook-xsl/params/ignore.image.scaling.xml +28 -0
  636. data/docbook-xsl/params/img.src.path.xml +40 -0
  637. data/docbook-xsl/params/index.div.title.properties.xml +39 -0
  638. data/docbook-xsl/params/index.entry.properties.xml +33 -0
  639. data/docbook-xsl/params/index.method.xml +162 -0
  640. data/docbook-xsl/params/index.number.separator.xml +54 -0
  641. data/docbook-xsl/params/index.on.role.xml +48 -0
  642. data/docbook-xsl/params/index.on.type.xml +52 -0
  643. data/docbook-xsl/params/index.page.number.properties.xml +31 -0
  644. data/docbook-xsl/params/index.prefer.titleabbrev.xml +29 -0
  645. data/docbook-xsl/params/index.preferred.page.properties.xml +32 -0
  646. data/docbook-xsl/params/index.range.separator.xml +57 -0
  647. data/docbook-xsl/params/index.term.separator.xml +54 -0
  648. data/docbook-xsl/params/informal.object.properties.xml +29 -0
  649. data/docbook-xsl/params/informalequation.properties.xml +27 -0
  650. data/docbook-xsl/params/informalexample.properties.xml +27 -0
  651. data/docbook-xsl/params/informalfigure.properties.xml +27 -0
  652. data/docbook-xsl/params/informaltable.properties.xml +32 -0
  653. data/docbook-xsl/params/inherit.keywords.xml +31 -0
  654. data/docbook-xsl/params/insert.link.page.number.xml +69 -0
  655. data/docbook-xsl/params/insert.olink.page.number.xml +83 -0
  656. data/docbook-xsl/params/insert.olink.pdf.frag.xml +68 -0
  657. data/docbook-xsl/params/insert.xref.page.number.xml +60 -0
  658. data/docbook-xsl/params/itemizedlist.label.properties.xml +26 -0
  659. data/docbook-xsl/params/itemizedlist.label.width.xml +28 -0
  660. data/docbook-xsl/params/itemizedlist.properties.xml +23 -0
  661. data/docbook-xsl/params/javahelp.encoding.xml +31 -0
  662. data/docbook-xsl/params/keep.relative.image.uris.xml +34 -0
  663. data/docbook-xsl/params/keyboard.nav.xml +29 -0
  664. data/docbook-xsl/params/l10n.gentext.default.language.xml +30 -0
  665. data/docbook-xsl/params/l10n.gentext.language.xml +33 -0
  666. data/docbook-xsl/params/l10n.gentext.use.xref.language.xml +53 -0
  667. data/docbook-xsl/params/l10n.lang.value.rfc.compliant.xml +57 -0
  668. data/docbook-xsl/params/label.from.part.xml +38 -0
  669. data/docbook-xsl/params/line-height.xml +27 -0
  670. data/docbook-xsl/params/linenumbering.everyNth.xml +29 -0
  671. data/docbook-xsl/params/linenumbering.extension.xml +30 -0
  672. data/docbook-xsl/params/linenumbering.separator.xml +30 -0
  673. data/docbook-xsl/params/linenumbering.width.xml +29 -0
  674. data/docbook-xsl/params/link.mailto.url.xml +29 -0
  675. data/docbook-xsl/params/list.block.properties.xml +25 -0
  676. data/docbook-xsl/params/list.block.spacing.xml +29 -0
  677. data/docbook-xsl/params/list.item.spacing.xml +26 -0
  678. data/docbook-xsl/params/make.graphic.viewport.xml +35 -0
  679. data/docbook-xsl/params/make.index.markup.xml +73 -0
  680. data/docbook-xsl/params/make.single.year.ranges.xml +28 -0
  681. data/docbook-xsl/params/make.valid.html.xml +35 -0
  682. data/docbook-xsl/params/make.year.ranges.xml +31 -0
  683. data/docbook-xsl/params/man.authors.section.enabled.xml +46 -0
  684. data/docbook-xsl/params/man.base.url.for.relative.links.xml +76 -0
  685. data/docbook-xsl/params/man.break.after.slash.xml +46 -0
  686. data/docbook-xsl/params/man.charmap.enabled.xml +55 -0
  687. data/docbook-xsl/params/man.charmap.subset.profile.english.xml +80 -0
  688. data/docbook-xsl/params/man.charmap.subset.profile.xml +297 -0
  689. data/docbook-xsl/params/man.charmap.uri.xml +42 -0
  690. data/docbook-xsl/params/man.charmap.use.subset.xml +80 -0
  691. data/docbook-xsl/params/man.copyright.section.enabled.xml +46 -0
  692. data/docbook-xsl/params/man.endnotes.are.numbered.xml +106 -0
  693. data/docbook-xsl/params/man.endnotes.list.enabled.xml +105 -0
  694. data/docbook-xsl/params/man.endnotes.list.heading.xml +36 -0
  695. data/docbook-xsl/params/man.font.funcprototype.xml +30 -0
  696. data/docbook-xsl/params/man.font.funcsynopsisinfo.xml +30 -0
  697. data/docbook-xsl/params/man.font.links.xml +64 -0
  698. data/docbook-xsl/params/man.font.table.headings.xml +30 -0
  699. data/docbook-xsl/params/man.font.table.title.xml +30 -0
  700. data/docbook-xsl/params/man.funcsynopsis.style.xml +26 -0
  701. data/docbook-xsl/params/man.hyphenate.computer.inlines.xml +53 -0
  702. data/docbook-xsl/params/man.hyphenate.filenames.xml +47 -0
  703. data/docbook-xsl/params/man.hyphenate.urls.xml +46 -0
  704. data/docbook-xsl/params/man.hyphenate.xml +59 -0
  705. data/docbook-xsl/params/man.indent.blurbs.xml +33 -0
  706. data/docbook-xsl/params/man.indent.lists.xml +35 -0
  707. data/docbook-xsl/params/man.indent.refsect.xml +70 -0
  708. data/docbook-xsl/params/man.indent.verbatims.xml +33 -0
  709. data/docbook-xsl/params/man.indent.width.xml +39 -0
  710. data/docbook-xsl/params/man.justify.xml +52 -0
  711. data/docbook-xsl/params/man.output.base.dir.xml +39 -0
  712. data/docbook-xsl/params/man.output.encoding.xml +53 -0
  713. data/docbook-xsl/params/man.output.in.separate.dir.xml +32 -0
  714. data/docbook-xsl/params/man.output.lang.in.name.enabled.xml +50 -0
  715. data/docbook-xsl/params/man.output.manifest.enabled.xml +27 -0
  716. data/docbook-xsl/params/man.output.manifest.filename.xml +29 -0
  717. data/docbook-xsl/params/man.output.quietly.xml +37 -0
  718. data/docbook-xsl/params/man.output.subdirs.enabled.xml +40 -0
  719. data/docbook-xsl/params/man.segtitle.suppress.xml +28 -0
  720. data/docbook-xsl/params/man.string.subst.map.local.post.xml +34 -0
  721. data/docbook-xsl/params/man.string.subst.map.local.pre.xml +34 -0
  722. data/docbook-xsl/params/man.string.subst.map.xml +162 -0
  723. data/docbook-xsl/params/man.subheading.divider.enabled.xml +37 -0
  724. data/docbook-xsl/params/man.subheading.divider.xml +37 -0
  725. data/docbook-xsl/params/man.table.footnotes.divider.xml +29 -0
  726. data/docbook-xsl/params/man.th.extra1.suppress.xml +32 -0
  727. data/docbook-xsl/params/man.th.extra2.max.length.xml +43 -0
  728. data/docbook-xsl/params/man.th.extra2.suppress.xml +44 -0
  729. data/docbook-xsl/params/man.th.extra3.max.length.xml +42 -0
  730. data/docbook-xsl/params/man.th.extra3.suppress.xml +34 -0
  731. data/docbook-xsl/params/man.th.title.max.length.xml +63 -0
  732. data/docbook-xsl/params/manifest.in.base.dir.xml +29 -0
  733. data/docbook-xsl/params/manifest.xml +29 -0
  734. data/docbook-xsl/params/manual.toc.xml +29 -0
  735. data/docbook-xsl/params/margin.note.float.type.xml +77 -0
  736. data/docbook-xsl/params/margin.note.properties.xml +54 -0
  737. data/docbook-xsl/params/margin.note.title.properties.xml +32 -0
  738. data/docbook-xsl/params/margin.note.width.xml +35 -0
  739. data/docbook-xsl/params/marker.section.level.xml +50 -0
  740. data/docbook-xsl/params/menuchoice.menu.separator.xml +42 -0
  741. data/docbook-xsl/params/menuchoice.separator.xml +32 -0
  742. data/docbook-xsl/params/minus.image.xml +29 -0
  743. data/docbook-xsl/params/monospace.font.family.xml +29 -0
  744. data/docbook-xsl/params/monospace.properties.xml +38 -0
  745. data/docbook-xsl/params/monospace.verbatim.properties.xml +27 -0
  746. data/docbook-xsl/params/multiframe.bottom.bgcolor.xml +28 -0
  747. data/docbook-xsl/params/multiframe.navigation.height.xml +28 -0
  748. data/docbook-xsl/params/multiframe.top.bgcolor.xml +28 -0
  749. data/docbook-xsl/params/multiframe.xml +31 -0
  750. data/docbook-xsl/params/nav.separator.xml +28 -0
  751. data/docbook-xsl/params/nav.table.summary.xml +27 -0
  752. data/docbook-xsl/params/navbgcolor.xml +26 -0
  753. data/docbook-xsl/params/navbodywidth.xml +26 -0
  754. data/docbook-xsl/params/navig.graphics.extension.xml +28 -0
  755. data/docbook-xsl/params/navig.graphics.path.xml +30 -0
  756. data/docbook-xsl/params/navig.graphics.xml +31 -0
  757. data/docbook-xsl/params/navig.showtitles.xml +32 -0
  758. data/docbook-xsl/params/navtocwidth.xml +26 -0
  759. data/docbook-xsl/params/next.image.xml +27 -0
  760. data/docbook-xsl/params/no.home.image.xml +27 -0
  761. data/docbook-xsl/params/no.next.image.xml +27 -0
  762. data/docbook-xsl/params/no.prev.image.xml +27 -0
  763. data/docbook-xsl/params/no.toc.image.xml +27 -0
  764. data/docbook-xsl/params/no.up.image.xml +27 -0
  765. data/docbook-xsl/params/nominal.image.depth.xml +27 -0
  766. data/docbook-xsl/params/nominal.image.width.xml +43 -0
  767. data/docbook-xsl/params/nominal.table.width.xml +30 -0
  768. data/docbook-xsl/params/nongraphical.admonition.properties.xml +41 -0
  769. data/docbook-xsl/params/normal.para.spacing.xml +26 -0
  770. data/docbook-xsl/params/olink.base.uri.xml +35 -0
  771. data/docbook-xsl/params/olink.debug.xml +36 -0
  772. data/docbook-xsl/params/olink.doctitle.xml +146 -0
  773. data/docbook-xsl/params/olink.fragid.xml +23 -0
  774. data/docbook-xsl/params/olink.lang.fallback.sequence.xml +83 -0
  775. data/docbook-xsl/params/olink.outline.ext.xml +28 -0
  776. data/docbook-xsl/params/olink.properties.xml +33 -0
  777. data/docbook-xsl/params/olink.pubid.xml +27 -0
  778. data/docbook-xsl/params/olink.resolver.xml +23 -0
  779. data/docbook-xsl/params/olink.sysid.xml +27 -0
  780. data/docbook-xsl/params/orderedlist.label.properties.xml +26 -0
  781. data/docbook-xsl/params/orderedlist.label.width.xml +28 -0
  782. data/docbook-xsl/params/orderedlist.properties.xml +24 -0
  783. data/docbook-xsl/params/othercredit.like.author.enabled.xml +31 -0
  784. data/docbook-xsl/params/output-root.xml +28 -0
  785. data/docbook-xsl/params/output.indent.xml +32 -0
  786. data/docbook-xsl/params/overlay.js.xml +28 -0
  787. data/docbook-xsl/params/overlay.logo.xml +28 -0
  788. data/docbook-xsl/params/overlay.xml +32 -0
  789. data/docbook-xsl/params/page.height.portrait.xml +69 -0
  790. data/docbook-xsl/params/page.height.xml +37 -0
  791. data/docbook-xsl/params/page.margin.bottom.xml +29 -0
  792. data/docbook-xsl/params/page.margin.inner.xml +35 -0
  793. data/docbook-xsl/params/page.margin.outer.xml +35 -0
  794. data/docbook-xsl/params/page.margin.top.xml +28 -0
  795. data/docbook-xsl/params/page.orientation.xml +32 -0
  796. data/docbook-xsl/params/page.width.portrait.xml +67 -0
  797. data/docbook-xsl/params/page.width.xml +36 -0
  798. data/docbook-xsl/params/pages.template.xml +29 -0
  799. data/docbook-xsl/params/paper.type.xml +71 -0
  800. data/docbook-xsl/params/para.propagates.style.xml +29 -0
  801. data/docbook-xsl/params/part.autolabel.xml +73 -0
  802. data/docbook-xsl/params/passivetex.extensions.xml +37 -0
  803. data/docbook-xsl/params/pgwide.properties.xml +52 -0
  804. data/docbook-xsl/params/phrase.propagates.style.xml +29 -0
  805. data/docbook-xsl/params/pixels.per.inch.xml +31 -0
  806. data/docbook-xsl/params/plus.image.xml +29 -0
  807. data/docbook-xsl/params/points.per.em.xml +29 -0
  808. data/docbook-xsl/params/preface.autolabel.xml +71 -0
  809. data/docbook-xsl/params/prefer.internal.olink.xml +78 -0
  810. data/docbook-xsl/params/preferred.mediaobject.role.xml +40 -0
  811. data/docbook-xsl/params/prev.image.xml +27 -0
  812. data/docbook-xsl/params/procedure.properties.xml +29 -0
  813. data/docbook-xsl/params/process.empty.source.toc.xml +39 -0
  814. data/docbook-xsl/params/process.source.toc.xml +39 -0
  815. data/docbook-xsl/params/profile.arch.xml +39 -0
  816. data/docbook-xsl/params/profile.attribute.xml +34 -0
  817. data/docbook-xsl/params/profile.audience.xml +38 -0
  818. data/docbook-xsl/params/profile.condition.xml +38 -0
  819. data/docbook-xsl/params/profile.conformance.xml +38 -0
  820. data/docbook-xsl/params/profile.lang.xml +38 -0
  821. data/docbook-xsl/params/profile.os.xml +38 -0
  822. data/docbook-xsl/params/profile.revision.xml +38 -0
  823. data/docbook-xsl/params/profile.revisionflag.xml +38 -0
  824. data/docbook-xsl/params/profile.role.xml +54 -0
  825. data/docbook-xsl/params/profile.security.xml +38 -0
  826. data/docbook-xsl/params/profile.separator.xml +27 -0
  827. data/docbook-xsl/params/profile.status.xml +38 -0
  828. data/docbook-xsl/params/profile.userlevel.xml +38 -0
  829. data/docbook-xsl/params/profile.value.xml +41 -0
  830. data/docbook-xsl/params/profile.vendor.xml +38 -0
  831. data/docbook-xsl/params/profile.wordsize.xml +38 -0
  832. data/docbook-xsl/params/punct.honorific.xml +28 -0
  833. data/docbook-xsl/params/qanda.defaultlabel.xml +44 -0
  834. data/docbook-xsl/params/qanda.in.toc.xml +34 -0
  835. data/docbook-xsl/params/qanda.inherit.numeration.xml +30 -0
  836. data/docbook-xsl/params/qanda.nested.in.toc.xml +29 -0
  837. data/docbook-xsl/params/qanda.title.level1.properties.xml +32 -0
  838. data/docbook-xsl/params/qanda.title.level2.properties.xml +32 -0
  839. data/docbook-xsl/params/qanda.title.level3.properties.xml +32 -0
  840. data/docbook-xsl/params/qanda.title.level4.properties.xml +32 -0
  841. data/docbook-xsl/params/qanda.title.level5.properties.xml +32 -0
  842. data/docbook-xsl/params/qanda.title.level6.properties.xml +34 -0
  843. data/docbook-xsl/params/qanda.title.properties.xml +37 -0
  844. data/docbook-xsl/params/qandadiv.autolabel.xml +26 -0
  845. data/docbook-xsl/params/rebuild-all.xml +33 -0
  846. data/docbook-xsl/params/refclass.suppress.xml +28 -0
  847. data/docbook-xsl/params/refentry.date.profile.enabled.xml +46 -0
  848. data/docbook-xsl/params/refentry.date.profile.xml +38 -0
  849. data/docbook-xsl/params/refentry.generate.name.xml +33 -0
  850. data/docbook-xsl/params/refentry.generate.title.xml +33 -0
  851. data/docbook-xsl/params/refentry.manual.fallback.profile.xml +48 -0
  852. data/docbook-xsl/params/refentry.manual.profile.enabled.xml +47 -0
  853. data/docbook-xsl/params/refentry.manual.profile.xml +72 -0
  854. data/docbook-xsl/params/refentry.meta.get.quietly.xml +37 -0
  855. data/docbook-xsl/params/refentry.pagebreak.xml +33 -0
  856. data/docbook-xsl/params/refentry.separator.xml +29 -0
  857. data/docbook-xsl/params/refentry.source.fallback.profile.xml +49 -0
  858. data/docbook-xsl/params/refentry.source.name.profile.enabled.xml +48 -0
  859. data/docbook-xsl/params/refentry.source.name.profile.xml +89 -0
  860. data/docbook-xsl/params/refentry.source.name.suppress.xml +42 -0
  861. data/docbook-xsl/params/refentry.title.properties.xml +59 -0
  862. data/docbook-xsl/params/refentry.version.profile.enabled.xml +47 -0
  863. data/docbook-xsl/params/refentry.version.profile.xml +41 -0
  864. data/docbook-xsl/params/refentry.version.suppress.xml +43 -0
  865. data/docbook-xsl/params/refentry.xref.manvolnum.xml +31 -0
  866. data/docbook-xsl/params/reference.autolabel.xml +67 -0
  867. data/docbook-xsl/params/region.after.extent.xml +29 -0
  868. data/docbook-xsl/params/region.before.extent.xml +29 -0
  869. data/docbook-xsl/params/revhistory.table.cell.properties.xml +28 -0
  870. data/docbook-xsl/params/revhistory.table.properties.xml +28 -0
  871. data/docbook-xsl/params/revhistory.title.properties.xml +28 -0
  872. data/docbook-xsl/params/root.filename.xml +29 -0
  873. data/docbook-xsl/params/root.properties.xml +43 -0
  874. data/docbook-xsl/params/rootid.xml +33 -0
  875. data/docbook-xsl/params/runinhead.default.title.end.punct.xml +27 -0
  876. data/docbook-xsl/params/runinhead.title.end.punct.xml +32 -0
  877. data/docbook-xsl/params/running.foot.properties.xml +34 -0
  878. data/docbook-xsl/params/sans.font.family.xml +29 -0
  879. data/docbook-xsl/params/saxon.callouts.xml +30 -0
  880. data/docbook-xsl/params/saxon.character.representation.xml +38 -0
  881. data/docbook-xsl/params/saxon.linenumbering.xml +32 -0
  882. data/docbook-xsl/params/saxon.tablecolumns.xml +30 -0
  883. data/docbook-xsl/params/script.dir.xml +33 -0
  884. data/docbook-xsl/params/section.autolabel.max.depth.xml +32 -0
  885. data/docbook-xsl/params/section.autolabel.xml +26 -0
  886. data/docbook-xsl/params/section.container.element.xml +62 -0
  887. data/docbook-xsl/params/section.label.includes.component.label.xml +27 -0
  888. data/docbook-xsl/params/section.level1.properties.xml +43 -0
  889. data/docbook-xsl/params/section.level2.properties.xml +43 -0
  890. data/docbook-xsl/params/section.level3.properties.xml +43 -0
  891. data/docbook-xsl/params/section.level4.properties.xml +43 -0
  892. data/docbook-xsl/params/section.level5.properties.xml +43 -0
  893. data/docbook-xsl/params/section.level6.properties.xml +43 -0
  894. data/docbook-xsl/params/section.properties.xml +35 -0
  895. data/docbook-xsl/params/section.title.level1.properties.xml +32 -0
  896. data/docbook-xsl/params/section.title.level2.properties.xml +33 -0
  897. data/docbook-xsl/params/section.title.level3.properties.xml +32 -0
  898. data/docbook-xsl/params/section.title.level4.properties.xml +32 -0
  899. data/docbook-xsl/params/section.title.level5.properties.xml +32 -0
  900. data/docbook-xsl/params/section.title.level6.properties.xml +33 -0
  901. data/docbook-xsl/params/section.title.properties.xml +39 -0
  902. data/docbook-xsl/params/segmentedlist.as.table.xml +28 -0
  903. data/docbook-xsl/params/sequential.links.xml +25 -0
  904. data/docbook-xsl/params/shade.verbatim.style.xml +36 -0
  905. data/docbook-xsl/params/shade.verbatim.xml +30 -0
  906. data/docbook-xsl/params/show.comments.xml +32 -0
  907. data/docbook-xsl/params/show.foil.number.xml +28 -0
  908. data/docbook-xsl/params/show.revisionflag.xml +42 -0
  909. data/docbook-xsl/params/showtoc.image.xml +29 -0
  910. data/docbook-xsl/params/side.float.properties.xml +50 -0
  911. data/docbook-xsl/params/sidebar.float.type.xml +73 -0
  912. data/docbook-xsl/params/sidebar.float.width.xml +35 -0
  913. data/docbook-xsl/params/sidebar.properties.xml +42 -0
  914. data/docbook-xsl/params/sidebar.title.properties.xml +32 -0
  915. data/docbook-xsl/params/simplesect.in.toc.xml +26 -0
  916. data/docbook-xsl/params/slide.font.family.xml +31 -0
  917. data/docbook-xsl/params/slide.title.font.family.xml +31 -0
  918. data/docbook-xsl/params/slides.js.xml +28 -0
  919. data/docbook-xsl/params/slides.properties.xml +31 -0
  920. data/docbook-xsl/params/spacing.paras.xml +30 -0
  921. data/docbook-xsl/params/speakernote.properties.xml +32 -0
  922. data/docbook-xsl/params/subscript.properties.xml +29 -0
  923. data/docbook-xsl/params/superscript.properties.xml +29 -0
  924. data/docbook-xsl/params/suppress.footer.navigation.xml +26 -0
  925. data/docbook-xsl/params/suppress.header.navigation.xml +27 -0
  926. data/docbook-xsl/params/suppress.homepage.title.xml +25 -0
  927. data/docbook-xsl/params/suppress.navigation.xml +28 -0
  928. data/docbook-xsl/params/symbol.font.family.xml +45 -0
  929. data/docbook-xsl/params/table.borders.with.css.xml +28 -0
  930. data/docbook-xsl/params/table.cell.border.color.xml +39 -0
  931. data/docbook-xsl/params/table.cell.border.style.xml +42 -0
  932. data/docbook-xsl/params/table.cell.border.thickness.xml +35 -0
  933. data/docbook-xsl/params/table.cell.padding.xml +32 -0
  934. data/docbook-xsl/params/table.entry.padding.xml +27 -0
  935. data/docbook-xsl/params/table.footnote.number.format.xml +33 -0
  936. data/docbook-xsl/params/table.footnote.number.symbols.xml +39 -0
  937. data/docbook-xsl/params/table.footnote.properties.xml +39 -0
  938. data/docbook-xsl/params/table.frame.border.color.xml +28 -0
  939. data/docbook-xsl/params/table.frame.border.style.xml +37 -0
  940. data/docbook-xsl/params/table.frame.border.thickness.xml +27 -0
  941. data/docbook-xsl/params/table.properties.xml +34 -0
  942. data/docbook-xsl/params/table.spacer.image.xml +26 -0
  943. data/docbook-xsl/params/table.table.properties.xml +36 -0
  944. data/docbook-xsl/params/tablecolumns.extension.xml +30 -0
  945. data/docbook-xsl/params/target.database.document.xml +37 -0
  946. data/docbook-xsl/params/targets.filename.xml +32 -0
  947. data/docbook-xsl/params/template.xml +27 -0
  948. data/docbook-xsl/params/tex.math.delims.xml +47 -0
  949. data/docbook-xsl/params/tex.math.file.xml +42 -0
  950. data/docbook-xsl/params/tex.math.in.alt.xml +83 -0
  951. data/docbook-xsl/params/text.home.xml +27 -0
  952. data/docbook-xsl/params/text.next.xml +27 -0
  953. data/docbook-xsl/params/text.prev.xml +27 -0
  954. data/docbook-xsl/params/text.toc.xml +27 -0
  955. data/docbook-xsl/params/text.up.xml +27 -0
  956. data/docbook-xsl/params/textbgcolor.xml +26 -0
  957. data/docbook-xsl/params/textdata.default.encoding.xml +32 -0
  958. data/docbook-xsl/params/textinsert.extension.xml +62 -0
  959. data/docbook-xsl/params/title.font.family.xml +33 -0
  960. data/docbook-xsl/params/title.margin.left.xml +64 -0
  961. data/docbook-xsl/params/titlefoil.html.xml +27 -0
  962. data/docbook-xsl/params/toc.bg.color.xml +27 -0
  963. data/docbook-xsl/params/toc.blank.graphic.xml +28 -0
  964. data/docbook-xsl/params/toc.blank.image.xml +27 -0
  965. data/docbook-xsl/params/toc.blank.text.xml +27 -0
  966. data/docbook-xsl/params/toc.hide.show.xml +33 -0
  967. data/docbook-xsl/params/toc.html.xml +27 -0
  968. data/docbook-xsl/params/toc.image.xml +27 -0
  969. data/docbook-xsl/params/toc.indent.width.xml +34 -0
  970. data/docbook-xsl/params/toc.line.properties.xml +42 -0
  971. data/docbook-xsl/params/toc.list.type.xml +30 -0
  972. data/docbook-xsl/params/toc.margin.properties.xml +33 -0
  973. data/docbook-xsl/params/toc.max.depth.xml +25 -0
  974. data/docbook-xsl/params/toc.pointer.graphic.xml +28 -0
  975. data/docbook-xsl/params/toc.pointer.image.xml +27 -0
  976. data/docbook-xsl/params/toc.pointer.text.xml +27 -0
  977. data/docbook-xsl/params/toc.row.height.xml +33 -0
  978. data/docbook-xsl/params/toc.section.depth.xml +28 -0
  979. data/docbook-xsl/params/toc.spacer.graphic.xml +28 -0
  980. data/docbook-xsl/params/toc.spacer.image.xml +27 -0
  981. data/docbook-xsl/params/toc.spacer.text.xml +27 -0
  982. data/docbook-xsl/params/toc.width.xml +28 -0
  983. data/docbook-xsl/params/ua.js.xml +28 -0
  984. data/docbook-xsl/params/ulink.footnotes.xml +34 -0
  985. data/docbook-xsl/params/ulink.hyphenate.chars.xml +37 -0
  986. data/docbook-xsl/params/ulink.hyphenate.xml +35 -0
  987. data/docbook-xsl/params/ulink.show.xml +37 -0
  988. data/docbook-xsl/params/ulink.target.xml +29 -0
  989. data/docbook-xsl/params/up.image.xml +27 -0
  990. data/docbook-xsl/params/use.embed.for.svg.xml +33 -0
  991. data/docbook-xsl/params/use.extensions.xml +31 -0
  992. data/docbook-xsl/params/use.id.as.filename.xml +30 -0
  993. data/docbook-xsl/params/use.id.function.xml +32 -0
  994. data/docbook-xsl/params/use.local.olink.style.xml +28 -0
  995. data/docbook-xsl/params/use.role.as.xrefstyle.xml +93 -0
  996. data/docbook-xsl/params/use.role.for.mediaobject.xml +56 -0
  997. data/docbook-xsl/params/use.svg.xml +30 -0
  998. data/docbook-xsl/params/variablelist.as.blocks.xml +62 -0
  999. data/docbook-xsl/params/variablelist.as.table.xml +54 -0
  1000. data/docbook-xsl/params/variablelist.max.termlength.xml +46 -0
  1001. data/docbook-xsl/params/variablelist.term.break.after.xml +39 -0
  1002. data/docbook-xsl/params/variablelist.term.separator.xml +40 -0
  1003. data/docbook-xsl/params/verbatim.properties.xml +38 -0
  1004. data/docbook-xsl/params/wordml.template.xml +29 -0
  1005. data/docbook-xsl/params/writing.mode.xml +84 -0
  1006. data/docbook-xsl/params/xbCollapsibleLists.js.xml +28 -0
  1007. data/docbook-xsl/params/xbDOM.js.xml +28 -0
  1008. data/docbook-xsl/params/xbLibrary.js.xml +28 -0
  1009. data/docbook-xsl/params/xbStyle.js.xml +28 -0
  1010. data/docbook-xsl/params/xep.extensions.xml +31 -0
  1011. data/docbook-xsl/params/xep.index.item.properties.xml +36 -0
  1012. data/docbook-xsl/params/xref.label-page.separator.xml +38 -0
  1013. data/docbook-xsl/params/xref.label-title.separator.xml +36 -0
  1014. data/docbook-xsl/params/xref.properties.xml +29 -0
  1015. data/docbook-xsl/params/xref.title-page.separator.xml +36 -0
  1016. data/docbook-xsl/params/xref.with.number.and.title.xml +30 -0
  1017. data/docbook-xsl/profiling/profile-mode.xsl +239 -0
  1018. data/docbook-xsl/profiling/profile.xsl +49 -0
  1019. data/docbook-xsl/profiling/strip-attributes.xsl +27 -0
  1020. data/docbook-xsl/profiling/xsl2profile.xsl +159 -0
  1021. data/docbook-xsl/roundtrip/blocks-spec.xml +11 -0
  1022. data/docbook-xsl/roundtrip/blocks2dbk.dtd +76 -0
  1023. data/docbook-xsl/roundtrip/blocks2dbk.xsl +1732 -0
  1024. data/docbook-xsl/roundtrip/dbk2ooo.xsl +178 -0
  1025. data/docbook-xsl/roundtrip/dbk2pages.xsl +441 -0
  1026. data/docbook-xsl/roundtrip/dbk2wordml.xsl +401 -0
  1027. data/docbook-xsl/roundtrip/dbk2wp.xsl +1375 -0
  1028. data/docbook-xsl/roundtrip/normalise-common.xsl +39 -0
  1029. data/docbook-xsl/roundtrip/normalise2sections.xsl +1270 -0
  1030. data/docbook-xsl/roundtrip/pages2normalise.xsl +351 -0
  1031. data/docbook-xsl/roundtrip/param.xml +105 -0
  1032. data/docbook-xsl/roundtrip/param.xsl +18 -0
  1033. data/docbook-xsl/roundtrip/sections-spec.xml +38 -0
  1034. data/docbook-xsl/roundtrip/sections2blocks.xsl +263 -0
  1035. data/docbook-xsl/roundtrip/specifications.xml +1420 -0
  1036. data/docbook-xsl/roundtrip/template-pages.xml +2 -0
  1037. data/docbook-xsl/roundtrip/template.dot +0 -0
  1038. data/docbook-xsl/roundtrip/template.xml +3 -0
  1039. data/docbook-xsl/roundtrip/wordml2normalise.xsl +445 -0
  1040. data/docbook-xsl/template/titlepage.xml +478 -0
  1041. data/docbook-xsl/template/titlepage.xsl +1280 -0
  1042. data/docbook-xsl/tests/refentry.007.ns.xml +325 -0
  1043. data/docbook-xsl/tests/refentry.007.xml +340 -0
  1044. data/docbook-xsl/tools/bin/docbook-xsl-update +53 -0
  1045. data/docbook-xsl/tools/make/Makefile.DocBook +698 -0
  1046. data/docbook-xsl/tools/make/Makefile.combine +182 -0
  1047. data/docbook-xsl/tools/make/Makefile.docParam +59 -0
  1048. data/docbook-xsl/xhtml/admon.xsl +133 -0
  1049. data/docbook-xsl/xhtml/annotations.xsl +158 -0
  1050. data/docbook-xsl/xhtml/autoidx-kimber.xsl +139 -0
  1051. data/docbook-xsl/xhtml/autoidx-kosek.xsl +109 -0
  1052. data/docbook-xsl/xhtml/autoidx-ng.xsl +21 -0
  1053. data/docbook-xsl/xhtml/autoidx.xsl +588 -0
  1054. data/docbook-xsl/xhtml/autotoc.xsl +632 -0
  1055. data/docbook-xsl/xhtml/biblio-iso690.xsl +1300 -0
  1056. data/docbook-xsl/xhtml/biblio.xsl +1234 -0
  1057. data/docbook-xsl/xhtml/block.xsl +432 -0
  1058. data/docbook-xsl/xhtml/callout.xsl +188 -0
  1059. data/docbook-xsl/xhtml/changebars.xsl +78 -0
  1060. data/docbook-xsl/xhtml/chunk-changebars.xsl +96 -0
  1061. data/docbook-xsl/xhtml/chunk-code.xsl +639 -0
  1062. data/docbook-xsl/xhtml/chunk-common.xsl +1552 -0
  1063. data/docbook-xsl/xhtml/chunk.xsl +52 -0
  1064. data/docbook-xsl/xhtml/chunker.xsl +302 -0
  1065. data/docbook-xsl/xhtml/chunkfast.xsl +69 -0
  1066. data/docbook-xsl/xhtml/chunktoc.xsl +462 -0
  1067. data/docbook-xsl/xhtml/component.xsl +375 -0
  1068. data/docbook-xsl/xhtml/division.xsl +228 -0
  1069. data/docbook-xsl/xhtml/docbook.xsl +447 -0
  1070. data/docbook-xsl/xhtml/ebnf.xsl +328 -0
  1071. data/docbook-xsl/xhtml/footnote.xsl +301 -0
  1072. data/docbook-xsl/xhtml/formal.xsl +387 -0
  1073. data/docbook-xsl/xhtml/glossary.xsl +548 -0
  1074. data/docbook-xsl/xhtml/graphics.xsl +1436 -0
  1075. data/docbook-xsl/xhtml/highlight.xsl +70 -0
  1076. data/docbook-xsl/xhtml/html-rtf.xsl +321 -0
  1077. data/docbook-xsl/xhtml/html.xsl +263 -0
  1078. data/docbook-xsl/xhtml/htmltbl.xsl +57 -0
  1079. data/docbook-xsl/xhtml/index.xsl +224 -0
  1080. data/docbook-xsl/xhtml/info.xsl +44 -0
  1081. data/docbook-xsl/xhtml/inline.xsl +1457 -0
  1082. data/docbook-xsl/xhtml/keywords.xsl +36 -0
  1083. data/docbook-xsl/xhtml/lists.xsl +1081 -0
  1084. data/docbook-xsl/xhtml/maketoc.xsl +91 -0
  1085. data/docbook-xsl/xhtml/manifest.xsl +22 -0
  1086. data/docbook-xsl/xhtml/math.xsl +284 -0
  1087. data/docbook-xsl/xhtml/oldchunker.xsl +176 -0
  1088. data/docbook-xsl/xhtml/onechunk.xsl +36 -0
  1089. data/docbook-xsl/xhtml/param.xsl +424 -0
  1090. data/docbook-xsl/xhtml/pi.xsl +1203 -0
  1091. data/docbook-xsl/xhtml/profile-chunk-code.xsl +611 -0
  1092. data/docbook-xsl/xhtml/profile-chunk.xsl +52 -0
  1093. data/docbook-xsl/xhtml/profile-docbook.xsl +409 -0
  1094. data/docbook-xsl/xhtml/profile-onechunk.xsl +36 -0
  1095. data/docbook-xsl/xhtml/qandaset.xsl +371 -0
  1096. data/docbook-xsl/xhtml/refentry.xsl +309 -0
  1097. data/docbook-xsl/xhtml/sections.xsl +554 -0
  1098. data/docbook-xsl/xhtml/synop.xsl +1508 -0
  1099. data/docbook-xsl/xhtml/table.xsl +1102 -0
  1100. data/docbook-xsl/xhtml/task.xsl +73 -0
  1101. data/docbook-xsl/xhtml/titlepage.templates.xsl +3622 -0
  1102. data/docbook-xsl/xhtml/titlepage.xsl +1015 -0
  1103. data/docbook-xsl/xhtml/toc.xsl +159 -0
  1104. data/docbook-xsl/xhtml/verbatim.xsl +354 -0
  1105. data/docbook-xsl/xhtml/xref.xsl +1288 -0
  1106. data/example/LICENSE +22 -0
  1107. data/example/book/big.asc +5604 -0
  1108. data/example/book/book.asc +62 -0
  1109. data/example/book/holmes.asc +12983 -0
  1110. data/example/book/image/octocat_professor.png +0 -0
  1111. data/example/book/include/hello.c +10 -0
  1112. data/example/output/META-INF/container.xml +6 -0
  1113. data/example/output/OEBPS/ar01s02.html +15 -0
  1114. data/example/output/OEBPS/ar01s03.html +3 -0
  1115. data/example/output/OEBPS/content.opf +21 -0
  1116. data/example/output/OEBPS/index.html +5 -0
  1117. data/example/output/OEBPS/toc.ncx +37 -0
  1118. data/example/output/a_case_of_identity.html +725 -0
  1119. data/example/output/a_example_appendix.html +63 -0
  1120. data/example/output/a_migration_notes.html +95 -0
  1121. data/example/output/apa.html +20 -0
  1122. data/example/output/apb.html +6 -0
  1123. data/example/output/apc.html +24 -0
  1124. data/example/output/apd.html +30 -0
  1125. data/example/output/ape.html +26 -0
  1126. data/example/output/apf.html +9 -0
  1127. data/example/output/apg.html +42 -0
  1128. data/example/output/aph.html +89 -0
  1129. data/example/output/ar01s02.html +12 -0
  1130. data/example/output/ar01s03.html +34 -0
  1131. data/example/output/ar01s04.html +77 -0
  1132. data/example/output/ar01s05.html +272 -0
  1133. data/example/output/ar01s06.html +35 -0
  1134. data/example/output/ar01s07.html +105 -0
  1135. data/example/output/ar01s08.html +33 -0
  1136. data/example/output/ar01s09.html +12 -0
  1137. data/example/output/ar01s10.html +14 -0
  1138. data/example/output/ar01s11.html +34 -0
  1139. data/example/output/ar01s12.html +63 -0
  1140. data/example/output/ar01s13.html +156 -0
  1141. data/example/output/ar01s14.html +330 -0
  1142. data/example/output/ar01s15.html +22 -0
  1143. data/example/output/ar01s16.html +27 -0
  1144. data/example/output/ar01s17.html +94 -0
  1145. data/example/output/ar01s18.html +359 -0
  1146. data/example/output/ar01s19.html +373 -0
  1147. data/example/output/ar01s20.html +27 -0
  1148. data/example/output/ar01s21.html +33 -0
  1149. data/example/output/ar01s22.html +351 -0
  1150. data/example/output/ar01s23.html +21 -0
  1151. data/example/output/ar01s24.html +69 -0
  1152. data/example/output/ar01s25.html +60 -0
  1153. data/example/output/ar01s26.html +217 -0
  1154. data/example/output/ar01s27.html +88 -0
  1155. data/example/output/ar01s28.html +237 -0
  1156. data/example/output/ar01s29.html +68 -0
  1157. data/example/output/ar01s30.html +154 -0
  1158. data/example/output/ar01s31.html +6 -0
  1159. data/example/output/ar01s32.html +22 -0
  1160. data/example/output/ar01s33.html +209 -0
  1161. data/example/output/asciidoc_backends.html +190 -0
  1162. data/example/output/asciidoc_document_types.html +131 -0
  1163. data/example/output/attribute_entries.html +185 -0
  1164. data/example/output/attribute_lists.html +157 -0
  1165. data/example/output/attribute_references.html +414 -0
  1166. data/example/output/attributelist_element.html +143 -0
  1167. data/example/output/b_packager_notes.html +68 -0
  1168. data/example/output/bi01.html +18 -0
  1169. data/example/output/big.asc +5604 -0
  1170. data/example/output/block_element_definitions.html +448 -0
  1171. data/example/output/block_titles.html +83 -0
  1172. data/example/output/blockid_element.html +80 -0
  1173. data/example/output/book.asc +5604 -0
  1174. data/example/output/book.epub +0 -0
  1175. data/example/output/book.fo +3788 -0
  1176. data/example/output/book.html +8793 -0
  1177. data/example/output/book.xml +8265 -0
  1178. data/example/output/c_asciidoc_safe_mode.html +105 -0
  1179. data/example/output/callouts.html +214 -0
  1180. data/example/output/catalog +10 -0
  1181. data/example/output/colophon.html +397 -0
  1182. data/example/output/configuration_files.html +672 -0
  1183. data/example/output/converting_docbook_to_other_file_formats.html +324 -0
  1184. data/example/output/d_using_asciidoc_with_non-english_languages.html +107 -0
  1185. data/example/output/delimited_blocks.html +455 -0
  1186. data/example/output/document_attributes.html +95 -0
  1187. data/example/output/document_processing.html +116 -0
  1188. data/example/output/document_structure.html +493 -0
  1189. data/example/output/e_vim_syntax_highlighter.html +111 -0
  1190. data/example/output/example_bibliography.html +82 -0
  1191. data/example/output/example_colophon.html +58 -0
  1192. data/example/output/example_glossary.html +73 -0
  1193. data/example/output/example_index.html +108 -0
  1194. data/example/output/f_attribute_options.html +129 -0
  1195. data/example/output/filters.html +179 -0
  1196. data/example/output/footnotes.html +103 -0
  1197. data/example/output/g_diagnostics.html +148 -0
  1198. data/example/output/generating_plain_text_files.html +68 -0
  1199. data/example/output/getting_started.html +87 -0
  1200. data/example/output/glossary.html +95 -0
  1201. data/example/output/go01.html +24 -0
  1202. data/example/output/h_backend_attributes.html +308 -0
  1203. data/example/output/help_commands.html +96 -0
  1204. data/example/output/holmes.asc +12983 -0
  1205. data/example/output/image/octocat_professor.png +0 -0
  1206. data/example/output/include/hello.c +10 -0
  1207. data/example/output/index.html +656 -0
  1208. data/example/output/indexes.html +104 -0
  1209. data/example/output/intrinsic_attributes.html +165 -0
  1210. data/example/output/ix01.html +3 -0
  1211. data/example/output/lists.html +666 -0
  1212. data/example/output/macros.html +737 -0
  1213. data/example/output/manpage_documents.html +124 -0
  1214. data/example/output/master.css +281 -0
  1215. data/example/output/mathematical_formulas.html +125 -0
  1216. data/example/output/page.html +60 -0
  1217. data/example/output/paragraphs.html +192 -0
  1218. data/example/output/pr01.html +3 -0
  1219. data/example/output/source_code_highlighting.html +59 -0
  1220. data/example/output/stylesheets/handbookish-quirks.css +0 -0
  1221. data/example/output/stylesheets/handbookish.css +233 -0
  1222. data/example/output/tables.html +797 -0
  1223. data/example/output/text_formatting.html +273 -0
  1224. data/example/output/the_adventure_of_the_beryl_coronet.html +968 -0
  1225. data/example/output/the_adventure_of_the_blue_carbuncle.html +825 -0
  1226. data/example/output/the_adventure_of_the_copper_beeches.html +998 -0
  1227. data/example/output/the_adventure_of_the_engineer_s_thumb.html +851 -0
  1228. data/example/output/the_adventure_of_the_noble_bachelor.html +861 -0
  1229. data/example/output/the_adventure_of_the_speckled_band.html +1015 -0
  1230. data/example/output/the_boscombe_valley_mystery.html +974 -0
  1231. data/example/output/the_first_chapter.html +110 -0
  1232. data/example/output/the_five_orange_pips.html +776 -0
  1233. data/example/output/the_man_with_the_twisted_lip.html +946 -0
  1234. data/example/output/the_red-headed_league.html +950 -0
  1235. data/example/output/the_second_chapter.html +95 -0
  1236. data/example/output/the_third_chapter.html +58 -0
  1237. data/example/output/tips_and_tricks.html +452 -0
  1238. data/example/output/title.html +120 -0
  1239. data/example/output/titles.html +126 -0
  1240. data/example/site/index.html +12 -0
  1241. data/example/site/page.html +8 -0
  1242. data/site/default/index.html +43 -0
  1243. data/site/default/master.css +281 -0
  1244. data/site/default/page.html +60 -0
  1245. data/stylesheets/handbookish-quirks.css +0 -0
  1246. data/stylesheets/handbookish.css +233 -0
  1247. data/template/LICENSE +1 -0
  1248. data/template/README.asciidoc +9 -0
  1249. data/template/book/book.asc +58 -0
  1250. data/template/book/chapter2.asc +8 -0
  1251. data/template/book/image/octocat_professor.png +0 -0
  1252. data/template/book/include/hello.c +10 -0
  1253. metadata +1255 -3
@@ -0,0 +1,73 @@
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="http://www.w3.org/1999/xhtml" version="1.0">
5
+
6
+ <!-- ********************************************************************
7
+ $Id: task.xsl 6910 2007-06-28 23:23:30Z xmldoc $
8
+ ********************************************************************
9
+
10
+ This file is part of the XSL DocBook Stylesheet distribution.
11
+ See ../README or http://docbook.sf.net/release/xsl/current/ for
12
+ copyright and other information.
13
+
14
+ ******************************************************************** -->
15
+
16
+ <!-- ==================================================================== -->
17
+
18
+ <xsl:template match="task">
19
+ <xsl:variable name="param.placement" select="substring-after(normalize-space($formal.title.placement), concat(local-name(.), ' '))"/>
20
+
21
+ <xsl:variable name="placement">
22
+ <xsl:choose>
23
+ <xsl:when test="contains($param.placement, ' ')">
24
+ <xsl:value-of select="substring-before($param.placement, ' ')"/>
25
+ </xsl:when>
26
+ <xsl:when test="$param.placement = ''">before</xsl:when>
27
+ <xsl:otherwise>
28
+ <xsl:value-of select="$param.placement"/>
29
+ </xsl:otherwise>
30
+ </xsl:choose>
31
+ </xsl:variable>
32
+
33
+ <xsl:variable name="preamble" select="*[not(self::title or self::titleabbrev)]"/>
34
+
35
+ <div>
36
+ <xsl:apply-templates select="." mode="class.attribute"/>
37
+ <xsl:call-template name="anchor"/>
38
+
39
+ <xsl:if test="title and $placement = 'before'">
40
+ <xsl:call-template name="formal.object.heading"/>
41
+ </xsl:if>
42
+
43
+ <xsl:apply-templates select="$preamble"/>
44
+
45
+ <xsl:if test="title and $placement != 'before'">
46
+ <xsl:call-template name="formal.object.heading"/>
47
+ </xsl:if>
48
+ </div>
49
+ </xsl:template>
50
+
51
+ <xsl:template match="task/title">
52
+ <!-- nop -->
53
+ </xsl:template>
54
+
55
+ <xsl:template match="tasksummary">
56
+ <xsl:call-template name="semiformal.object"/>
57
+ </xsl:template>
58
+
59
+ <xsl:template match="tasksummary/title"/>
60
+
61
+ <xsl:template match="taskprerequisites">
62
+ <xsl:call-template name="semiformal.object"/>
63
+ </xsl:template>
64
+
65
+ <xsl:template match="taskprerequisites/title"/>
66
+
67
+ <xsl:template match="taskrelated">
68
+ <xsl:call-template name="semiformal.object"/>
69
+ </xsl:template>
70
+
71
+ <xsl:template match="taskrelated/title"/>
72
+
73
+ </xsl:stylesheet>
@@ -0,0 +1,3622 @@
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">
5
+
6
+ <!-- This stylesheet was created by template/titlepage.xsl-->
7
+
8
+ <xsl:template name="article.titlepage.recto">
9
+ <xsl:choose>
10
+ <xsl:when test="articleinfo/title">
11
+ <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/title"/>
12
+ </xsl:when>
13
+ <xsl:when test="artheader/title">
14
+ <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/title"/>
15
+ </xsl:when>
16
+ <xsl:when test="info/title">
17
+ <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/title"/>
18
+ </xsl:when>
19
+ <xsl:when test="title">
20
+ <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="title"/>
21
+ </xsl:when>
22
+ </xsl:choose>
23
+
24
+ <xsl:choose>
25
+ <xsl:when test="articleinfo/subtitle">
26
+ <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/subtitle"/>
27
+ </xsl:when>
28
+ <xsl:when test="artheader/subtitle">
29
+ <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/subtitle"/>
30
+ </xsl:when>
31
+ <xsl:when test="info/subtitle">
32
+ <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/subtitle"/>
33
+ </xsl:when>
34
+ <xsl:when test="subtitle">
35
+ <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="subtitle"/>
36
+ </xsl:when>
37
+ </xsl:choose>
38
+
39
+ <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/corpauthor"/>
40
+ <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/corpauthor"/>
41
+ <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/corpauthor"/>
42
+ <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/authorgroup"/>
43
+ <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/authorgroup"/>
44
+ <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/authorgroup"/>
45
+ <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/author"/>
46
+ <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/author"/>
47
+ <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/author"/>
48
+ <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/othercredit"/>
49
+ <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/othercredit"/>
50
+ <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/othercredit"/>
51
+ <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/releaseinfo"/>
52
+ <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/releaseinfo"/>
53
+ <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/releaseinfo"/>
54
+ <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/copyright"/>
55
+ <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/copyright"/>
56
+ <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/copyright"/>
57
+ <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/legalnotice"/>
58
+ <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/legalnotice"/>
59
+ <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/legalnotice"/>
60
+ <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/pubdate"/>
61
+ <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/pubdate"/>
62
+ <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/pubdate"/>
63
+ <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/revision"/>
64
+ <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/revision"/>
65
+ <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/revision"/>
66
+ <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/revhistory"/>
67
+ <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/revhistory"/>
68
+ <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"/>
72
+ </xsl:template>
73
+
74
+ <xsl:template name="article.titlepage.verso">
75
+ </xsl:template>
76
+
77
+ <xsl:template name="article.titlepage.separator"><hr/>
78
+ </xsl:template>
79
+
80
+ <xsl:template name="article.titlepage.before.recto">
81
+ </xsl:template>
82
+
83
+ <xsl:template name="article.titlepage.before.verso">
84
+ </xsl:template>
85
+
86
+ <xsl:template name="article.titlepage">
87
+ <div class="titlepage">
88
+ <xsl:variable name="recto.content">
89
+ <xsl:call-template name="article.titlepage.before.recto"/>
90
+ <xsl:call-template name="article.titlepage.recto"/>
91
+ </xsl:variable>
92
+ <xsl:variable name="recto.elements.count">
93
+ <xsl:choose>
94
+ <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
95
+ <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
96
+ <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
97
+ <xsl:otherwise>1</xsl:otherwise>
98
+ </xsl:choose>
99
+ </xsl:variable>
100
+ <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
101
+ <div><xsl:copy-of select="$recto.content"/></div>
102
+ </xsl:if>
103
+ <xsl:variable name="verso.content">
104
+ <xsl:call-template name="article.titlepage.before.verso"/>
105
+ <xsl:call-template name="article.titlepage.verso"/>
106
+ </xsl:variable>
107
+ <xsl:variable name="verso.elements.count">
108
+ <xsl:choose>
109
+ <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
110
+ <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
111
+ <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
112
+ <xsl:otherwise>1</xsl:otherwise>
113
+ </xsl:choose>
114
+ </xsl:variable>
115
+ <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
116
+ <div><xsl:copy-of select="$verso.content"/></div>
117
+ </xsl:if>
118
+ <xsl:call-template name="article.titlepage.separator"/>
119
+ </div>
120
+ </xsl:template>
121
+
122
+ <xsl:template match="*" mode="article.titlepage.recto.mode">
123
+ <!-- if an element isn't found in this mode, -->
124
+ <!-- try the generic titlepage.mode -->
125
+ <xsl:apply-templates select="." mode="titlepage.mode"/>
126
+ </xsl:template>
127
+
128
+ <xsl:template match="*" mode="article.titlepage.verso.mode">
129
+ <!-- if an element isn't found in this mode, -->
130
+ <!-- try the generic titlepage.mode -->
131
+ <xsl:apply-templates select="." mode="titlepage.mode"/>
132
+ </xsl:template>
133
+
134
+ <xsl:template match="title" mode="article.titlepage.recto.auto.mode">
135
+ <div xsl:use-attribute-sets="article.titlepage.recto.style">
136
+ <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
137
+ </div>
138
+ </xsl:template>
139
+
140
+ <xsl:template match="subtitle" mode="article.titlepage.recto.auto.mode">
141
+ <div xsl:use-attribute-sets="article.titlepage.recto.style">
142
+ <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
143
+ </div>
144
+ </xsl:template>
145
+
146
+ <xsl:template match="corpauthor" mode="article.titlepage.recto.auto.mode">
147
+ <div xsl:use-attribute-sets="article.titlepage.recto.style">
148
+ <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
149
+ </div>
150
+ </xsl:template>
151
+
152
+ <xsl:template match="authorgroup" mode="article.titlepage.recto.auto.mode">
153
+ <div xsl:use-attribute-sets="article.titlepage.recto.style">
154
+ <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
155
+ </div>
156
+ </xsl:template>
157
+
158
+ <xsl:template match="author" mode="article.titlepage.recto.auto.mode">
159
+ <div xsl:use-attribute-sets="article.titlepage.recto.style">
160
+ <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
161
+ </div>
162
+ </xsl:template>
163
+
164
+ <xsl:template match="othercredit" mode="article.titlepage.recto.auto.mode">
165
+ <div xsl:use-attribute-sets="article.titlepage.recto.style">
166
+ <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
167
+ </div>
168
+ </xsl:template>
169
+
170
+ <xsl:template match="releaseinfo" mode="article.titlepage.recto.auto.mode">
171
+ <div xsl:use-attribute-sets="article.titlepage.recto.style">
172
+ <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
173
+ </div>
174
+ </xsl:template>
175
+
176
+ <xsl:template match="copyright" mode="article.titlepage.recto.auto.mode">
177
+ <div xsl:use-attribute-sets="article.titlepage.recto.style">
178
+ <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
179
+ </div>
180
+ </xsl:template>
181
+
182
+ <xsl:template match="legalnotice" mode="article.titlepage.recto.auto.mode">
183
+ <div xsl:use-attribute-sets="article.titlepage.recto.style">
184
+ <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
185
+ </div>
186
+ </xsl:template>
187
+
188
+ <xsl:template match="pubdate" mode="article.titlepage.recto.auto.mode">
189
+ <div xsl:use-attribute-sets="article.titlepage.recto.style">
190
+ <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
191
+ </div>
192
+ </xsl:template>
193
+
194
+ <xsl:template match="revision" mode="article.titlepage.recto.auto.mode">
195
+ <div xsl:use-attribute-sets="article.titlepage.recto.style">
196
+ <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
197
+ </div>
198
+ </xsl:template>
199
+
200
+ <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">
207
+ <div xsl:use-attribute-sets="article.titlepage.recto.style">
208
+ <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
209
+ </div>
210
+ </xsl:template>
211
+
212
+ <xsl:template name="set.titlepage.recto">
213
+ <xsl:choose>
214
+ <xsl:when test="setinfo/title">
215
+ <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/title"/>
216
+ </xsl:when>
217
+ <xsl:when test="info/title">
218
+ <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/title"/>
219
+ </xsl:when>
220
+ <xsl:when test="title">
221
+ <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="title"/>
222
+ </xsl:when>
223
+ </xsl:choose>
224
+
225
+ <xsl:choose>
226
+ <xsl:when test="setinfo/subtitle">
227
+ <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/subtitle"/>
228
+ </xsl:when>
229
+ <xsl:when test="info/subtitle">
230
+ <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/subtitle"/>
231
+ </xsl:when>
232
+ <xsl:when test="subtitle">
233
+ <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="subtitle"/>
234
+ </xsl:when>
235
+ </xsl:choose>
236
+
237
+ <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/corpauthor"/>
238
+ <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/corpauthor"/>
239
+ <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/authorgroup"/>
240
+ <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/authorgroup"/>
241
+ <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/author"/>
242
+ <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/author"/>
243
+ <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/othercredit"/>
244
+ <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/othercredit"/>
245
+ <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/releaseinfo"/>
246
+ <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/releaseinfo"/>
247
+ <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/copyright"/>
248
+ <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/copyright"/>
249
+ <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/legalnotice"/>
250
+ <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/legalnotice"/>
251
+ <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/pubdate"/>
252
+ <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/pubdate"/>
253
+ <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/revision"/>
254
+ <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/revision"/>
255
+ <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/revhistory"/>
256
+ <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"/>
259
+ </xsl:template>
260
+
261
+ <xsl:template name="set.titlepage.verso">
262
+ </xsl:template>
263
+
264
+ <xsl:template name="set.titlepage.separator"><hr/>
265
+ </xsl:template>
266
+
267
+ <xsl:template name="set.titlepage.before.recto">
268
+ </xsl:template>
269
+
270
+ <xsl:template name="set.titlepage.before.verso">
271
+ </xsl:template>
272
+
273
+ <xsl:template name="set.titlepage">
274
+ <div class="titlepage">
275
+ <xsl:variable name="recto.content">
276
+ <xsl:call-template name="set.titlepage.before.recto"/>
277
+ <xsl:call-template name="set.titlepage.recto"/>
278
+ </xsl:variable>
279
+ <xsl:variable name="recto.elements.count">
280
+ <xsl:choose>
281
+ <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
282
+ <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
283
+ <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
284
+ <xsl:otherwise>1</xsl:otherwise>
285
+ </xsl:choose>
286
+ </xsl:variable>
287
+ <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
288
+ <div><xsl:copy-of select="$recto.content"/></div>
289
+ </xsl:if>
290
+ <xsl:variable name="verso.content">
291
+ <xsl:call-template name="set.titlepage.before.verso"/>
292
+ <xsl:call-template name="set.titlepage.verso"/>
293
+ </xsl:variable>
294
+ <xsl:variable name="verso.elements.count">
295
+ <xsl:choose>
296
+ <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
297
+ <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
298
+ <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
299
+ <xsl:otherwise>1</xsl:otherwise>
300
+ </xsl:choose>
301
+ </xsl:variable>
302
+ <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
303
+ <div><xsl:copy-of select="$verso.content"/></div>
304
+ </xsl:if>
305
+ <xsl:call-template name="set.titlepage.separator"/>
306
+ </div>
307
+ </xsl:template>
308
+
309
+ <xsl:template match="*" mode="set.titlepage.recto.mode">
310
+ <!-- if an element isn't found in this mode, -->
311
+ <!-- try the generic titlepage.mode -->
312
+ <xsl:apply-templates select="." mode="titlepage.mode"/>
313
+ </xsl:template>
314
+
315
+ <xsl:template match="*" mode="set.titlepage.verso.mode">
316
+ <!-- if an element isn't found in this mode, -->
317
+ <!-- try the generic titlepage.mode -->
318
+ <xsl:apply-templates select="." mode="titlepage.mode"/>
319
+ </xsl:template>
320
+
321
+ <xsl:template match="title" mode="set.titlepage.recto.auto.mode">
322
+ <div xsl:use-attribute-sets="set.titlepage.recto.style">
323
+ <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
324
+ </div>
325
+ </xsl:template>
326
+
327
+ <xsl:template match="subtitle" mode="set.titlepage.recto.auto.mode">
328
+ <div xsl:use-attribute-sets="set.titlepage.recto.style">
329
+ <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
330
+ </div>
331
+ </xsl:template>
332
+
333
+ <xsl:template match="corpauthor" mode="set.titlepage.recto.auto.mode">
334
+ <div xsl:use-attribute-sets="set.titlepage.recto.style">
335
+ <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
336
+ </div>
337
+ </xsl:template>
338
+
339
+ <xsl:template match="authorgroup" mode="set.titlepage.recto.auto.mode">
340
+ <div xsl:use-attribute-sets="set.titlepage.recto.style">
341
+ <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
342
+ </div>
343
+ </xsl:template>
344
+
345
+ <xsl:template match="author" mode="set.titlepage.recto.auto.mode">
346
+ <div xsl:use-attribute-sets="set.titlepage.recto.style">
347
+ <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
348
+ </div>
349
+ </xsl:template>
350
+
351
+ <xsl:template match="othercredit" mode="set.titlepage.recto.auto.mode">
352
+ <div xsl:use-attribute-sets="set.titlepage.recto.style">
353
+ <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
354
+ </div>
355
+ </xsl:template>
356
+
357
+ <xsl:template match="releaseinfo" mode="set.titlepage.recto.auto.mode">
358
+ <div xsl:use-attribute-sets="set.titlepage.recto.style">
359
+ <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
360
+ </div>
361
+ </xsl:template>
362
+
363
+ <xsl:template match="copyright" mode="set.titlepage.recto.auto.mode">
364
+ <div xsl:use-attribute-sets="set.titlepage.recto.style">
365
+ <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
366
+ </div>
367
+ </xsl:template>
368
+
369
+ <xsl:template match="legalnotice" mode="set.titlepage.recto.auto.mode">
370
+ <div xsl:use-attribute-sets="set.titlepage.recto.style">
371
+ <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
372
+ </div>
373
+ </xsl:template>
374
+
375
+ <xsl:template match="pubdate" mode="set.titlepage.recto.auto.mode">
376
+ <div xsl:use-attribute-sets="set.titlepage.recto.style">
377
+ <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
378
+ </div>
379
+ </xsl:template>
380
+
381
+ <xsl:template match="revision" mode="set.titlepage.recto.auto.mode">
382
+ <div xsl:use-attribute-sets="set.titlepage.recto.style">
383
+ <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
384
+ </div>
385
+ </xsl:template>
386
+
387
+ <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">
394
+ <div xsl:use-attribute-sets="set.titlepage.recto.style">
395
+ <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
396
+ </div>
397
+ </xsl:template>
398
+
399
+ <xsl:template name="book.titlepage.recto">
400
+ <xsl:choose>
401
+ <xsl:when test="bookinfo/title">
402
+ <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/title"/>
403
+ </xsl:when>
404
+ <xsl:when test="info/title">
405
+ <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/title"/>
406
+ </xsl:when>
407
+ <xsl:when test="title">
408
+ <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="title"/>
409
+ </xsl:when>
410
+ </xsl:choose>
411
+
412
+ <xsl:choose>
413
+ <xsl:when test="bookinfo/subtitle">
414
+ <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/subtitle"/>
415
+ </xsl:when>
416
+ <xsl:when test="info/subtitle">
417
+ <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/subtitle"/>
418
+ </xsl:when>
419
+ <xsl:when test="subtitle">
420
+ <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="subtitle"/>
421
+ </xsl:when>
422
+ </xsl:choose>
423
+
424
+ <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/corpauthor"/>
425
+ <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/corpauthor"/>
426
+ <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/authorgroup"/>
427
+ <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/authorgroup"/>
428
+ <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/author"/>
429
+ <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/author"/>
430
+ <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/othercredit"/>
431
+ <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/othercredit"/>
432
+ <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/releaseinfo"/>
433
+ <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/releaseinfo"/>
434
+ <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/copyright"/>
435
+ <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/copyright"/>
436
+ <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/legalnotice"/>
437
+ <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/legalnotice"/>
438
+ <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/pubdate"/>
439
+ <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/pubdate"/>
440
+ <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/revision"/>
441
+ <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/revision"/>
442
+ <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/revhistory"/>
443
+ <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"/>
446
+ </xsl:template>
447
+
448
+ <xsl:template name="book.titlepage.verso">
449
+ </xsl:template>
450
+
451
+ <xsl:template name="book.titlepage.separator"><hr/>
452
+ </xsl:template>
453
+
454
+ <xsl:template name="book.titlepage.before.recto">
455
+ </xsl:template>
456
+
457
+ <xsl:template name="book.titlepage.before.verso">
458
+ </xsl:template>
459
+
460
+ <xsl:template name="book.titlepage">
461
+ <div class="titlepage">
462
+ <xsl:variable name="recto.content">
463
+ <xsl:call-template name="book.titlepage.before.recto"/>
464
+ <xsl:call-template name="book.titlepage.recto"/>
465
+ </xsl:variable>
466
+ <xsl:variable name="recto.elements.count">
467
+ <xsl:choose>
468
+ <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
469
+ <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
470
+ <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
471
+ <xsl:otherwise>1</xsl:otherwise>
472
+ </xsl:choose>
473
+ </xsl:variable>
474
+ <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
475
+ <div><xsl:copy-of select="$recto.content"/></div>
476
+ </xsl:if>
477
+ <xsl:variable name="verso.content">
478
+ <xsl:call-template name="book.titlepage.before.verso"/>
479
+ <xsl:call-template name="book.titlepage.verso"/>
480
+ </xsl:variable>
481
+ <xsl:variable name="verso.elements.count">
482
+ <xsl:choose>
483
+ <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
484
+ <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
485
+ <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
486
+ <xsl:otherwise>1</xsl:otherwise>
487
+ </xsl:choose>
488
+ </xsl:variable>
489
+ <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
490
+ <div><xsl:copy-of select="$verso.content"/></div>
491
+ </xsl:if>
492
+ <xsl:call-template name="book.titlepage.separator"/>
493
+ </div>
494
+ </xsl:template>
495
+
496
+ <xsl:template match="*" mode="book.titlepage.recto.mode">
497
+ <!-- if an element isn't found in this mode, -->
498
+ <!-- try the generic titlepage.mode -->
499
+ <xsl:apply-templates select="." mode="titlepage.mode"/>
500
+ </xsl:template>
501
+
502
+ <xsl:template match="*" mode="book.titlepage.verso.mode">
503
+ <!-- if an element isn't found in this mode, -->
504
+ <!-- try the generic titlepage.mode -->
505
+ <xsl:apply-templates select="." mode="titlepage.mode"/>
506
+ </xsl:template>
507
+
508
+ <xsl:template match="title" mode="book.titlepage.recto.auto.mode">
509
+ <div xsl:use-attribute-sets="book.titlepage.recto.style">
510
+ <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
511
+ </div>
512
+ </xsl:template>
513
+
514
+ <xsl:template match="subtitle" mode="book.titlepage.recto.auto.mode">
515
+ <div xsl:use-attribute-sets="book.titlepage.recto.style">
516
+ <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
517
+ </div>
518
+ </xsl:template>
519
+
520
+ <xsl:template match="corpauthor" mode="book.titlepage.recto.auto.mode">
521
+ <div xsl:use-attribute-sets="book.titlepage.recto.style">
522
+ <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
523
+ </div>
524
+ </xsl:template>
525
+
526
+ <xsl:template match="authorgroup" mode="book.titlepage.recto.auto.mode">
527
+ <div xsl:use-attribute-sets="book.titlepage.recto.style">
528
+ <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
529
+ </div>
530
+ </xsl:template>
531
+
532
+ <xsl:template match="author" mode="book.titlepage.recto.auto.mode">
533
+ <div xsl:use-attribute-sets="book.titlepage.recto.style">
534
+ <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
535
+ </div>
536
+ </xsl:template>
537
+
538
+ <xsl:template match="othercredit" mode="book.titlepage.recto.auto.mode">
539
+ <div xsl:use-attribute-sets="book.titlepage.recto.style">
540
+ <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
541
+ </div>
542
+ </xsl:template>
543
+
544
+ <xsl:template match="releaseinfo" mode="book.titlepage.recto.auto.mode">
545
+ <div xsl:use-attribute-sets="book.titlepage.recto.style">
546
+ <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
547
+ </div>
548
+ </xsl:template>
549
+
550
+ <xsl:template match="copyright" mode="book.titlepage.recto.auto.mode">
551
+ <div xsl:use-attribute-sets="book.titlepage.recto.style">
552
+ <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
553
+ </div>
554
+ </xsl:template>
555
+
556
+ <xsl:template match="legalnotice" mode="book.titlepage.recto.auto.mode">
557
+ <div xsl:use-attribute-sets="book.titlepage.recto.style">
558
+ <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
559
+ </div>
560
+ </xsl:template>
561
+
562
+ <xsl:template match="pubdate" mode="book.titlepage.recto.auto.mode">
563
+ <div xsl:use-attribute-sets="book.titlepage.recto.style">
564
+ <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
565
+ </div>
566
+ </xsl:template>
567
+
568
+ <xsl:template match="revision" mode="book.titlepage.recto.auto.mode">
569
+ <div xsl:use-attribute-sets="book.titlepage.recto.style">
570
+ <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
571
+ </div>
572
+ </xsl:template>
573
+
574
+ <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">
581
+ <div xsl:use-attribute-sets="book.titlepage.recto.style">
582
+ <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
583
+ </div>
584
+ </xsl:template>
585
+
586
+ <xsl:template name="part.titlepage.recto">
587
+ <div xsl:use-attribute-sets="part.titlepage.recto.style">
588
+ <xsl:call-template name="division.title">
589
+ <xsl:with-param name="node" select="ancestor-or-self::part[1]"/>
590
+ </xsl:call-template></div>
591
+ <xsl:choose>
592
+ <xsl:when test="partinfo/subtitle">
593
+ <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/subtitle"/>
594
+ </xsl:when>
595
+ <xsl:when test="docinfo/subtitle">
596
+ <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
597
+ </xsl:when>
598
+ <xsl:when test="info/subtitle">
599
+ <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/subtitle"/>
600
+ </xsl:when>
601
+ <xsl:when test="subtitle">
602
+ <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="subtitle"/>
603
+ </xsl:when>
604
+ </xsl:choose>
605
+
606
+ <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/corpauthor"/>
607
+ <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/corpauthor"/>
608
+ <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/corpauthor"/>
609
+ <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/authorgroup"/>
610
+ <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/authorgroup"/>
611
+ <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/authorgroup"/>
612
+ <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/author"/>
613
+ <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/author"/>
614
+ <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/author"/>
615
+ <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/othercredit"/>
616
+ <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/othercredit"/>
617
+ <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/othercredit"/>
618
+ <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/releaseinfo"/>
619
+ <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
620
+ <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/releaseinfo"/>
621
+ <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/copyright"/>
622
+ <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/copyright"/>
623
+ <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/copyright"/>
624
+ <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/legalnotice"/>
625
+ <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/legalnotice"/>
626
+ <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/legalnotice"/>
627
+ <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/pubdate"/>
628
+ <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
629
+ <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/pubdate"/>
630
+ <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/revision"/>
631
+ <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/revision"/>
632
+ <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/revision"/>
633
+ <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/revhistory"/>
634
+ <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
635
+ <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"/>
639
+ </xsl:template>
640
+
641
+ <xsl:template name="part.titlepage.verso">
642
+ </xsl:template>
643
+
644
+ <xsl:template name="part.titlepage.separator">
645
+ </xsl:template>
646
+
647
+ <xsl:template name="part.titlepage.before.recto">
648
+ </xsl:template>
649
+
650
+ <xsl:template name="part.titlepage.before.verso">
651
+ </xsl:template>
652
+
653
+ <xsl:template name="part.titlepage">
654
+ <div class="titlepage">
655
+ <xsl:variable name="recto.content">
656
+ <xsl:call-template name="part.titlepage.before.recto"/>
657
+ <xsl:call-template name="part.titlepage.recto"/>
658
+ </xsl:variable>
659
+ <xsl:variable name="recto.elements.count">
660
+ <xsl:choose>
661
+ <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
662
+ <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
663
+ <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
664
+ <xsl:otherwise>1</xsl:otherwise>
665
+ </xsl:choose>
666
+ </xsl:variable>
667
+ <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
668
+ <div><xsl:copy-of select="$recto.content"/></div>
669
+ </xsl:if>
670
+ <xsl:variable name="verso.content">
671
+ <xsl:call-template name="part.titlepage.before.verso"/>
672
+ <xsl:call-template name="part.titlepage.verso"/>
673
+ </xsl:variable>
674
+ <xsl:variable name="verso.elements.count">
675
+ <xsl:choose>
676
+ <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
677
+ <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
678
+ <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
679
+ <xsl:otherwise>1</xsl:otherwise>
680
+ </xsl:choose>
681
+ </xsl:variable>
682
+ <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
683
+ <div><xsl:copy-of select="$verso.content"/></div>
684
+ </xsl:if>
685
+ <xsl:call-template name="part.titlepage.separator"/>
686
+ </div>
687
+ </xsl:template>
688
+
689
+ <xsl:template match="*" mode="part.titlepage.recto.mode">
690
+ <!-- if an element isn't found in this mode, -->
691
+ <!-- try the generic titlepage.mode -->
692
+ <xsl:apply-templates select="." mode="titlepage.mode"/>
693
+ </xsl:template>
694
+
695
+ <xsl:template match="*" mode="part.titlepage.verso.mode">
696
+ <!-- if an element isn't found in this mode, -->
697
+ <!-- try the generic titlepage.mode -->
698
+ <xsl:apply-templates select="." mode="titlepage.mode"/>
699
+ </xsl:template>
700
+
701
+ <xsl:template match="subtitle" mode="part.titlepage.recto.auto.mode">
702
+ <div xsl:use-attribute-sets="part.titlepage.recto.style">
703
+ <xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
704
+ </div>
705
+ </xsl:template>
706
+
707
+ <xsl:template match="corpauthor" mode="part.titlepage.recto.auto.mode">
708
+ <div xsl:use-attribute-sets="part.titlepage.recto.style">
709
+ <xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
710
+ </div>
711
+ </xsl:template>
712
+
713
+ <xsl:template match="authorgroup" mode="part.titlepage.recto.auto.mode">
714
+ <div xsl:use-attribute-sets="part.titlepage.recto.style">
715
+ <xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
716
+ </div>
717
+ </xsl:template>
718
+
719
+ <xsl:template match="author" mode="part.titlepage.recto.auto.mode">
720
+ <div xsl:use-attribute-sets="part.titlepage.recto.style">
721
+ <xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
722
+ </div>
723
+ </xsl:template>
724
+
725
+ <xsl:template match="othercredit" mode="part.titlepage.recto.auto.mode">
726
+ <div xsl:use-attribute-sets="part.titlepage.recto.style">
727
+ <xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
728
+ </div>
729
+ </xsl:template>
730
+
731
+ <xsl:template match="releaseinfo" mode="part.titlepage.recto.auto.mode">
732
+ <div xsl:use-attribute-sets="part.titlepage.recto.style">
733
+ <xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
734
+ </div>
735
+ </xsl:template>
736
+
737
+ <xsl:template match="copyright" mode="part.titlepage.recto.auto.mode">
738
+ <div xsl:use-attribute-sets="part.titlepage.recto.style">
739
+ <xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
740
+ </div>
741
+ </xsl:template>
742
+
743
+ <xsl:template match="legalnotice" mode="part.titlepage.recto.auto.mode">
744
+ <div xsl:use-attribute-sets="part.titlepage.recto.style">
745
+ <xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
746
+ </div>
747
+ </xsl:template>
748
+
749
+ <xsl:template match="pubdate" mode="part.titlepage.recto.auto.mode">
750
+ <div xsl:use-attribute-sets="part.titlepage.recto.style">
751
+ <xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
752
+ </div>
753
+ </xsl:template>
754
+
755
+ <xsl:template match="revision" mode="part.titlepage.recto.auto.mode">
756
+ <div xsl:use-attribute-sets="part.titlepage.recto.style">
757
+ <xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
758
+ </div>
759
+ </xsl:template>
760
+
761
+ <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">
768
+ <div xsl:use-attribute-sets="part.titlepage.recto.style">
769
+ <xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
770
+ </div>
771
+ </xsl:template>
772
+
773
+ <xsl:template name="partintro.titlepage.recto">
774
+ <xsl:choose>
775
+ <xsl:when test="partintroinfo/title">
776
+ <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/title"/>
777
+ </xsl:when>
778
+ <xsl:when test="docinfo/title">
779
+ <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/title"/>
780
+ </xsl:when>
781
+ <xsl:when test="info/title">
782
+ <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/title"/>
783
+ </xsl:when>
784
+ <xsl:when test="title">
785
+ <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="title"/>
786
+ </xsl:when>
787
+ </xsl:choose>
788
+
789
+ <xsl:choose>
790
+ <xsl:when test="partintroinfo/subtitle">
791
+ <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/subtitle"/>
792
+ </xsl:when>
793
+ <xsl:when test="docinfo/subtitle">
794
+ <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
795
+ </xsl:when>
796
+ <xsl:when test="info/subtitle">
797
+ <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/subtitle"/>
798
+ </xsl:when>
799
+ <xsl:when test="subtitle">
800
+ <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="subtitle"/>
801
+ </xsl:when>
802
+ </xsl:choose>
803
+
804
+ <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/corpauthor"/>
805
+ <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/corpauthor"/>
806
+ <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/corpauthor"/>
807
+ <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/authorgroup"/>
808
+ <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/authorgroup"/>
809
+ <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/authorgroup"/>
810
+ <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/author"/>
811
+ <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/author"/>
812
+ <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/author"/>
813
+ <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/othercredit"/>
814
+ <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/othercredit"/>
815
+ <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/othercredit"/>
816
+ <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/releaseinfo"/>
817
+ <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
818
+ <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/releaseinfo"/>
819
+ <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/copyright"/>
820
+ <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/copyright"/>
821
+ <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/copyright"/>
822
+ <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/legalnotice"/>
823
+ <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/legalnotice"/>
824
+ <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/legalnotice"/>
825
+ <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/pubdate"/>
826
+ <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
827
+ <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/pubdate"/>
828
+ <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/revision"/>
829
+ <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/revision"/>
830
+ <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/revision"/>
831
+ <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/revhistory"/>
832
+ <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
833
+ <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"/>
837
+ </xsl:template>
838
+
839
+ <xsl:template name="partintro.titlepage.verso">
840
+ </xsl:template>
841
+
842
+ <xsl:template name="partintro.titlepage.separator">
843
+ </xsl:template>
844
+
845
+ <xsl:template name="partintro.titlepage.before.recto">
846
+ </xsl:template>
847
+
848
+ <xsl:template name="partintro.titlepage.before.verso">
849
+ </xsl:template>
850
+
851
+ <xsl:template name="partintro.titlepage">
852
+ <div>
853
+ <xsl:variable name="recto.content">
854
+ <xsl:call-template name="partintro.titlepage.before.recto"/>
855
+ <xsl:call-template name="partintro.titlepage.recto"/>
856
+ </xsl:variable>
857
+ <xsl:variable name="recto.elements.count">
858
+ <xsl:choose>
859
+ <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
860
+ <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
861
+ <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
862
+ <xsl:otherwise>1</xsl:otherwise>
863
+ </xsl:choose>
864
+ </xsl:variable>
865
+ <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
866
+ <div><xsl:copy-of select="$recto.content"/></div>
867
+ </xsl:if>
868
+ <xsl:variable name="verso.content">
869
+ <xsl:call-template name="partintro.titlepage.before.verso"/>
870
+ <xsl:call-template name="partintro.titlepage.verso"/>
871
+ </xsl:variable>
872
+ <xsl:variable name="verso.elements.count">
873
+ <xsl:choose>
874
+ <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
875
+ <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
876
+ <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
877
+ <xsl:otherwise>1</xsl:otherwise>
878
+ </xsl:choose>
879
+ </xsl:variable>
880
+ <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
881
+ <div><xsl:copy-of select="$verso.content"/></div>
882
+ </xsl:if>
883
+ <xsl:call-template name="partintro.titlepage.separator"/>
884
+ </div>
885
+ </xsl:template>
886
+
887
+ <xsl:template match="*" mode="partintro.titlepage.recto.mode">
888
+ <!-- if an element isn't found in this mode, -->
889
+ <!-- try the generic titlepage.mode -->
890
+ <xsl:apply-templates select="." mode="titlepage.mode"/>
891
+ </xsl:template>
892
+
893
+ <xsl:template match="*" mode="partintro.titlepage.verso.mode">
894
+ <!-- if an element isn't found in this mode, -->
895
+ <!-- try the generic titlepage.mode -->
896
+ <xsl:apply-templates select="." mode="titlepage.mode"/>
897
+ </xsl:template>
898
+
899
+ <xsl:template match="title" mode="partintro.titlepage.recto.auto.mode">
900
+ <div xsl:use-attribute-sets="partintro.titlepage.recto.style">
901
+ <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
902
+ </div>
903
+ </xsl:template>
904
+
905
+ <xsl:template match="subtitle" mode="partintro.titlepage.recto.auto.mode">
906
+ <div xsl:use-attribute-sets="partintro.titlepage.recto.style">
907
+ <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
908
+ </div>
909
+ </xsl:template>
910
+
911
+ <xsl:template match="corpauthor" mode="partintro.titlepage.recto.auto.mode">
912
+ <div xsl:use-attribute-sets="partintro.titlepage.recto.style">
913
+ <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
914
+ </div>
915
+ </xsl:template>
916
+
917
+ <xsl:template match="authorgroup" mode="partintro.titlepage.recto.auto.mode">
918
+ <div xsl:use-attribute-sets="partintro.titlepage.recto.style">
919
+ <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
920
+ </div>
921
+ </xsl:template>
922
+
923
+ <xsl:template match="author" mode="partintro.titlepage.recto.auto.mode">
924
+ <div xsl:use-attribute-sets="partintro.titlepage.recto.style">
925
+ <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
926
+ </div>
927
+ </xsl:template>
928
+
929
+ <xsl:template match="othercredit" mode="partintro.titlepage.recto.auto.mode">
930
+ <div xsl:use-attribute-sets="partintro.titlepage.recto.style">
931
+ <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
932
+ </div>
933
+ </xsl:template>
934
+
935
+ <xsl:template match="releaseinfo" mode="partintro.titlepage.recto.auto.mode">
936
+ <div xsl:use-attribute-sets="partintro.titlepage.recto.style">
937
+ <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
938
+ </div>
939
+ </xsl:template>
940
+
941
+ <xsl:template match="copyright" mode="partintro.titlepage.recto.auto.mode">
942
+ <div xsl:use-attribute-sets="partintro.titlepage.recto.style">
943
+ <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
944
+ </div>
945
+ </xsl:template>
946
+
947
+ <xsl:template match="legalnotice" mode="partintro.titlepage.recto.auto.mode">
948
+ <div xsl:use-attribute-sets="partintro.titlepage.recto.style">
949
+ <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
950
+ </div>
951
+ </xsl:template>
952
+
953
+ <xsl:template match="pubdate" mode="partintro.titlepage.recto.auto.mode">
954
+ <div xsl:use-attribute-sets="partintro.titlepage.recto.style">
955
+ <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
956
+ </div>
957
+ </xsl:template>
958
+
959
+ <xsl:template match="revision" mode="partintro.titlepage.recto.auto.mode">
960
+ <div xsl:use-attribute-sets="partintro.titlepage.recto.style">
961
+ <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
962
+ </div>
963
+ </xsl:template>
964
+
965
+ <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">
972
+ <div xsl:use-attribute-sets="partintro.titlepage.recto.style">
973
+ <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
974
+ </div>
975
+ </xsl:template>
976
+
977
+ <xsl:template name="reference.titlepage.recto">
978
+ <xsl:choose>
979
+ <xsl:when test="referenceinfo/title">
980
+ <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/title"/>
981
+ </xsl:when>
982
+ <xsl:when test="docinfo/title">
983
+ <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/title"/>
984
+ </xsl:when>
985
+ <xsl:when test="info/title">
986
+ <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/title"/>
987
+ </xsl:when>
988
+ <xsl:when test="title">
989
+ <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="title"/>
990
+ </xsl:when>
991
+ </xsl:choose>
992
+
993
+ <xsl:choose>
994
+ <xsl:when test="referenceinfo/subtitle">
995
+ <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/subtitle"/>
996
+ </xsl:when>
997
+ <xsl:when test="docinfo/subtitle">
998
+ <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
999
+ </xsl:when>
1000
+ <xsl:when test="info/subtitle">
1001
+ <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/subtitle"/>
1002
+ </xsl:when>
1003
+ <xsl:when test="subtitle">
1004
+ <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="subtitle"/>
1005
+ </xsl:when>
1006
+ </xsl:choose>
1007
+
1008
+ <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/corpauthor"/>
1009
+ <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/corpauthor"/>
1010
+ <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/corpauthor"/>
1011
+ <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/authorgroup"/>
1012
+ <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/authorgroup"/>
1013
+ <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/authorgroup"/>
1014
+ <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/author"/>
1015
+ <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/author"/>
1016
+ <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/author"/>
1017
+ <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/othercredit"/>
1018
+ <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/othercredit"/>
1019
+ <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/othercredit"/>
1020
+ <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/releaseinfo"/>
1021
+ <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
1022
+ <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/releaseinfo"/>
1023
+ <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/copyright"/>
1024
+ <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/copyright"/>
1025
+ <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/copyright"/>
1026
+ <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/legalnotice"/>
1027
+ <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/legalnotice"/>
1028
+ <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/legalnotice"/>
1029
+ <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/pubdate"/>
1030
+ <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
1031
+ <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/pubdate"/>
1032
+ <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/revision"/>
1033
+ <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/revision"/>
1034
+ <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/revision"/>
1035
+ <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/revhistory"/>
1036
+ <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
1037
+ <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"/>
1041
+ </xsl:template>
1042
+
1043
+ <xsl:template name="reference.titlepage.verso">
1044
+ </xsl:template>
1045
+
1046
+ <xsl:template name="reference.titlepage.separator"><hr/>
1047
+ </xsl:template>
1048
+
1049
+ <xsl:template name="reference.titlepage.before.recto">
1050
+ </xsl:template>
1051
+
1052
+ <xsl:template name="reference.titlepage.before.verso">
1053
+ </xsl:template>
1054
+
1055
+ <xsl:template name="reference.titlepage">
1056
+ <div class="titlepage">
1057
+ <xsl:variable name="recto.content">
1058
+ <xsl:call-template name="reference.titlepage.before.recto"/>
1059
+ <xsl:call-template name="reference.titlepage.recto"/>
1060
+ </xsl:variable>
1061
+ <xsl:variable name="recto.elements.count">
1062
+ <xsl:choose>
1063
+ <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1064
+ <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1065
+ <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1066
+ <xsl:otherwise>1</xsl:otherwise>
1067
+ </xsl:choose>
1068
+ </xsl:variable>
1069
+ <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
1070
+ <div><xsl:copy-of select="$recto.content"/></div>
1071
+ </xsl:if>
1072
+ <xsl:variable name="verso.content">
1073
+ <xsl:call-template name="reference.titlepage.before.verso"/>
1074
+ <xsl:call-template name="reference.titlepage.verso"/>
1075
+ </xsl:variable>
1076
+ <xsl:variable name="verso.elements.count">
1077
+ <xsl:choose>
1078
+ <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1079
+ <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1080
+ <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1081
+ <xsl:otherwise>1</xsl:otherwise>
1082
+ </xsl:choose>
1083
+ </xsl:variable>
1084
+ <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
1085
+ <div><xsl:copy-of select="$verso.content"/></div>
1086
+ </xsl:if>
1087
+ <xsl:call-template name="reference.titlepage.separator"/>
1088
+ </div>
1089
+ </xsl:template>
1090
+
1091
+ <xsl:template match="*" mode="reference.titlepage.recto.mode">
1092
+ <!-- if an element isn't found in this mode, -->
1093
+ <!-- try the generic titlepage.mode -->
1094
+ <xsl:apply-templates select="." mode="titlepage.mode"/>
1095
+ </xsl:template>
1096
+
1097
+ <xsl:template match="*" mode="reference.titlepage.verso.mode">
1098
+ <!-- if an element isn't found in this mode, -->
1099
+ <!-- try the generic titlepage.mode -->
1100
+ <xsl:apply-templates select="." mode="titlepage.mode"/>
1101
+ </xsl:template>
1102
+
1103
+ <xsl:template match="title" mode="reference.titlepage.recto.auto.mode">
1104
+ <div xsl:use-attribute-sets="reference.titlepage.recto.style">
1105
+ <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1106
+ </div>
1107
+ </xsl:template>
1108
+
1109
+ <xsl:template match="subtitle" mode="reference.titlepage.recto.auto.mode">
1110
+ <div xsl:use-attribute-sets="reference.titlepage.recto.style">
1111
+ <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1112
+ </div>
1113
+ </xsl:template>
1114
+
1115
+ <xsl:template match="corpauthor" mode="reference.titlepage.recto.auto.mode">
1116
+ <div xsl:use-attribute-sets="reference.titlepage.recto.style">
1117
+ <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1118
+ </div>
1119
+ </xsl:template>
1120
+
1121
+ <xsl:template match="authorgroup" mode="reference.titlepage.recto.auto.mode">
1122
+ <div xsl:use-attribute-sets="reference.titlepage.recto.style">
1123
+ <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1124
+ </div>
1125
+ </xsl:template>
1126
+
1127
+ <xsl:template match="author" mode="reference.titlepage.recto.auto.mode">
1128
+ <div xsl:use-attribute-sets="reference.titlepage.recto.style">
1129
+ <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1130
+ </div>
1131
+ </xsl:template>
1132
+
1133
+ <xsl:template match="othercredit" mode="reference.titlepage.recto.auto.mode">
1134
+ <div xsl:use-attribute-sets="reference.titlepage.recto.style">
1135
+ <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1136
+ </div>
1137
+ </xsl:template>
1138
+
1139
+ <xsl:template match="releaseinfo" mode="reference.titlepage.recto.auto.mode">
1140
+ <div xsl:use-attribute-sets="reference.titlepage.recto.style">
1141
+ <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1142
+ </div>
1143
+ </xsl:template>
1144
+
1145
+ <xsl:template match="copyright" mode="reference.titlepage.recto.auto.mode">
1146
+ <div xsl:use-attribute-sets="reference.titlepage.recto.style">
1147
+ <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1148
+ </div>
1149
+ </xsl:template>
1150
+
1151
+ <xsl:template match="legalnotice" mode="reference.titlepage.recto.auto.mode">
1152
+ <div xsl:use-attribute-sets="reference.titlepage.recto.style">
1153
+ <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1154
+ </div>
1155
+ </xsl:template>
1156
+
1157
+ <xsl:template match="pubdate" mode="reference.titlepage.recto.auto.mode">
1158
+ <div xsl:use-attribute-sets="reference.titlepage.recto.style">
1159
+ <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1160
+ </div>
1161
+ </xsl:template>
1162
+
1163
+ <xsl:template match="revision" mode="reference.titlepage.recto.auto.mode">
1164
+ <div xsl:use-attribute-sets="reference.titlepage.recto.style">
1165
+ <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1166
+ </div>
1167
+ </xsl:template>
1168
+
1169
+ <xsl:template match="revhistory" mode="reference.titlepage.recto.auto.mode">
1170
+ <div xsl:use-attribute-sets="reference.titlepage.recto.style">
1171
+ <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1172
+ </div>
1173
+ </xsl:template>
1174
+
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
+
1181
+ <xsl:template name="refentry.titlepage.recto">
1182
+ </xsl:template>
1183
+
1184
+ <xsl:template name="refentry.titlepage.verso">
1185
+ </xsl:template>
1186
+
1187
+ <xsl:template name="refentry.titlepage.separator">
1188
+ </xsl:template>
1189
+
1190
+ <xsl:template name="refentry.titlepage.before.recto">
1191
+ </xsl:template>
1192
+
1193
+ <xsl:template name="refentry.titlepage.before.verso">
1194
+ </xsl:template>
1195
+
1196
+ <xsl:template name="refentry.titlepage">
1197
+ <div class="titlepage">
1198
+ <xsl:variable name="recto.content">
1199
+ <xsl:call-template name="refentry.titlepage.before.recto"/>
1200
+ <xsl:call-template name="refentry.titlepage.recto"/>
1201
+ </xsl:variable>
1202
+ <xsl:variable name="recto.elements.count">
1203
+ <xsl:choose>
1204
+ <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1205
+ <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1206
+ <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1207
+ <xsl:otherwise>1</xsl:otherwise>
1208
+ </xsl:choose>
1209
+ </xsl:variable>
1210
+ <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
1211
+ <div><xsl:copy-of select="$recto.content"/></div>
1212
+ </xsl:if>
1213
+ <xsl:variable name="verso.content">
1214
+ <xsl:call-template name="refentry.titlepage.before.verso"/>
1215
+ <xsl:call-template name="refentry.titlepage.verso"/>
1216
+ </xsl:variable>
1217
+ <xsl:variable name="verso.elements.count">
1218
+ <xsl:choose>
1219
+ <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1220
+ <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1221
+ <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1222
+ <xsl:otherwise>1</xsl:otherwise>
1223
+ </xsl:choose>
1224
+ </xsl:variable>
1225
+ <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
1226
+ <div><xsl:copy-of select="$verso.content"/></div>
1227
+ </xsl:if>
1228
+ <xsl:call-template name="refentry.titlepage.separator"/>
1229
+ </div>
1230
+ </xsl:template>
1231
+
1232
+ <xsl:template match="*" mode="refentry.titlepage.recto.mode">
1233
+ <!-- if an element isn't found in this mode, -->
1234
+ <!-- try the generic titlepage.mode -->
1235
+ <xsl:apply-templates select="." mode="titlepage.mode"/>
1236
+ </xsl:template>
1237
+
1238
+ <xsl:template match="*" mode="refentry.titlepage.verso.mode">
1239
+ <!-- if an element isn't found in this mode, -->
1240
+ <!-- try the generic titlepage.mode -->
1241
+ <xsl:apply-templates select="." mode="titlepage.mode"/>
1242
+ </xsl:template>
1243
+
1244
+ <xsl:template name="dedication.titlepage.recto">
1245
+ <div xsl:use-attribute-sets="dedication.titlepage.recto.style">
1246
+ <xsl:call-template name="component.title">
1247
+ <xsl:with-param name="node" select="ancestor-or-self::dedication[1]"/>
1248
+ </xsl:call-template></div>
1249
+ <xsl:choose>
1250
+ <xsl:when test="dedicationinfo/subtitle">
1251
+ <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="dedicationinfo/subtitle"/>
1252
+ </xsl:when>
1253
+ <xsl:when test="docinfo/subtitle">
1254
+ <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
1255
+ </xsl:when>
1256
+ <xsl:when test="info/subtitle">
1257
+ <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="info/subtitle"/>
1258
+ </xsl:when>
1259
+ <xsl:when test="subtitle">
1260
+ <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="subtitle"/>
1261
+ </xsl:when>
1262
+ </xsl:choose>
1263
+
1264
+ </xsl:template>
1265
+
1266
+ <xsl:template name="dedication.titlepage.verso">
1267
+ </xsl:template>
1268
+
1269
+ <xsl:template name="dedication.titlepage.separator">
1270
+ </xsl:template>
1271
+
1272
+ <xsl:template name="dedication.titlepage.before.recto">
1273
+ </xsl:template>
1274
+
1275
+ <xsl:template name="dedication.titlepage.before.verso">
1276
+ </xsl:template>
1277
+
1278
+ <xsl:template name="dedication.titlepage">
1279
+ <div class="titlepage">
1280
+ <xsl:variable name="recto.content">
1281
+ <xsl:call-template name="dedication.titlepage.before.recto"/>
1282
+ <xsl:call-template name="dedication.titlepage.recto"/>
1283
+ </xsl:variable>
1284
+ <xsl:variable name="recto.elements.count">
1285
+ <xsl:choose>
1286
+ <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1287
+ <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1288
+ <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1289
+ <xsl:otherwise>1</xsl:otherwise>
1290
+ </xsl:choose>
1291
+ </xsl:variable>
1292
+ <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
1293
+ <div><xsl:copy-of select="$recto.content"/></div>
1294
+ </xsl:if>
1295
+ <xsl:variable name="verso.content">
1296
+ <xsl:call-template name="dedication.titlepage.before.verso"/>
1297
+ <xsl:call-template name="dedication.titlepage.verso"/>
1298
+ </xsl:variable>
1299
+ <xsl:variable name="verso.elements.count">
1300
+ <xsl:choose>
1301
+ <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1302
+ <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1303
+ <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1304
+ <xsl:otherwise>1</xsl:otherwise>
1305
+ </xsl:choose>
1306
+ </xsl:variable>
1307
+ <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
1308
+ <div><xsl:copy-of select="$verso.content"/></div>
1309
+ </xsl:if>
1310
+ <xsl:call-template name="dedication.titlepage.separator"/>
1311
+ </div>
1312
+ </xsl:template>
1313
+
1314
+ <xsl:template match="*" mode="dedication.titlepage.recto.mode">
1315
+ <!-- if an element isn't found in this mode, -->
1316
+ <!-- try the generic titlepage.mode -->
1317
+ <xsl:apply-templates select="." mode="titlepage.mode"/>
1318
+ </xsl:template>
1319
+
1320
+ <xsl:template match="*" mode="dedication.titlepage.verso.mode">
1321
+ <!-- if an element isn't found in this mode, -->
1322
+ <!-- try the generic titlepage.mode -->
1323
+ <xsl:apply-templates select="." mode="titlepage.mode"/>
1324
+ </xsl:template>
1325
+
1326
+ <xsl:template match="subtitle" mode="dedication.titlepage.recto.auto.mode">
1327
+ <div xsl:use-attribute-sets="dedication.titlepage.recto.style">
1328
+ <xsl:apply-templates select="." mode="dedication.titlepage.recto.mode"/>
1329
+ </div>
1330
+ </xsl:template>
1331
+
1332
+ <xsl:template name="preface.titlepage.recto">
1333
+ <xsl:choose>
1334
+ <xsl:when test="prefaceinfo/title">
1335
+ <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/title"/>
1336
+ </xsl:when>
1337
+ <xsl:when test="docinfo/title">
1338
+ <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/title"/>
1339
+ </xsl:when>
1340
+ <xsl:when test="info/title">
1341
+ <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/title"/>
1342
+ </xsl:when>
1343
+ <xsl:when test="title">
1344
+ <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="title"/>
1345
+ </xsl:when>
1346
+ </xsl:choose>
1347
+
1348
+ <xsl:choose>
1349
+ <xsl:when test="prefaceinfo/subtitle">
1350
+ <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/subtitle"/>
1351
+ </xsl:when>
1352
+ <xsl:when test="docinfo/subtitle">
1353
+ <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
1354
+ </xsl:when>
1355
+ <xsl:when test="info/subtitle">
1356
+ <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/subtitle"/>
1357
+ </xsl:when>
1358
+ <xsl:when test="subtitle">
1359
+ <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="subtitle"/>
1360
+ </xsl:when>
1361
+ </xsl:choose>
1362
+
1363
+ <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/corpauthor"/>
1364
+ <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/corpauthor"/>
1365
+ <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/corpauthor"/>
1366
+ <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/authorgroup"/>
1367
+ <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/authorgroup"/>
1368
+ <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/authorgroup"/>
1369
+ <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/author"/>
1370
+ <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/author"/>
1371
+ <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/author"/>
1372
+ <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/othercredit"/>
1373
+ <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/othercredit"/>
1374
+ <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/othercredit"/>
1375
+ <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/releaseinfo"/>
1376
+ <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
1377
+ <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/releaseinfo"/>
1378
+ <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/copyright"/>
1379
+ <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/copyright"/>
1380
+ <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/copyright"/>
1381
+ <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/legalnotice"/>
1382
+ <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/legalnotice"/>
1383
+ <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/legalnotice"/>
1384
+ <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/pubdate"/>
1385
+ <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
1386
+ <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/pubdate"/>
1387
+ <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/revision"/>
1388
+ <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/revision"/>
1389
+ <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/revision"/>
1390
+ <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/revhistory"/>
1391
+ <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
1392
+ <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"/>
1396
+ </xsl:template>
1397
+
1398
+ <xsl:template name="preface.titlepage.verso">
1399
+ </xsl:template>
1400
+
1401
+ <xsl:template name="preface.titlepage.separator">
1402
+ </xsl:template>
1403
+
1404
+ <xsl:template name="preface.titlepage.before.recto">
1405
+ </xsl:template>
1406
+
1407
+ <xsl:template name="preface.titlepage.before.verso">
1408
+ </xsl:template>
1409
+
1410
+ <xsl:template name="preface.titlepage">
1411
+ <div class="titlepage">
1412
+ <xsl:variable name="recto.content">
1413
+ <xsl:call-template name="preface.titlepage.before.recto"/>
1414
+ <xsl:call-template name="preface.titlepage.recto"/>
1415
+ </xsl:variable>
1416
+ <xsl:variable name="recto.elements.count">
1417
+ <xsl:choose>
1418
+ <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1419
+ <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1420
+ <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1421
+ <xsl:otherwise>1</xsl:otherwise>
1422
+ </xsl:choose>
1423
+ </xsl:variable>
1424
+ <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
1425
+ <div><xsl:copy-of select="$recto.content"/></div>
1426
+ </xsl:if>
1427
+ <xsl:variable name="verso.content">
1428
+ <xsl:call-template name="preface.titlepage.before.verso"/>
1429
+ <xsl:call-template name="preface.titlepage.verso"/>
1430
+ </xsl:variable>
1431
+ <xsl:variable name="verso.elements.count">
1432
+ <xsl:choose>
1433
+ <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1434
+ <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1435
+ <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1436
+ <xsl:otherwise>1</xsl:otherwise>
1437
+ </xsl:choose>
1438
+ </xsl:variable>
1439
+ <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
1440
+ <div><xsl:copy-of select="$verso.content"/></div>
1441
+ </xsl:if>
1442
+ <xsl:call-template name="preface.titlepage.separator"/>
1443
+ </div>
1444
+ </xsl:template>
1445
+
1446
+ <xsl:template match="*" mode="preface.titlepage.recto.mode">
1447
+ <!-- if an element isn't found in this mode, -->
1448
+ <!-- try the generic titlepage.mode -->
1449
+ <xsl:apply-templates select="." mode="titlepage.mode"/>
1450
+ </xsl:template>
1451
+
1452
+ <xsl:template match="*" mode="preface.titlepage.verso.mode">
1453
+ <!-- if an element isn't found in this mode, -->
1454
+ <!-- try the generic titlepage.mode -->
1455
+ <xsl:apply-templates select="." mode="titlepage.mode"/>
1456
+ </xsl:template>
1457
+
1458
+ <xsl:template match="title" mode="preface.titlepage.recto.auto.mode">
1459
+ <div xsl:use-attribute-sets="preface.titlepage.recto.style">
1460
+ <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1461
+ </div>
1462
+ </xsl:template>
1463
+
1464
+ <xsl:template match="subtitle" mode="preface.titlepage.recto.auto.mode">
1465
+ <div xsl:use-attribute-sets="preface.titlepage.recto.style">
1466
+ <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1467
+ </div>
1468
+ </xsl:template>
1469
+
1470
+ <xsl:template match="corpauthor" mode="preface.titlepage.recto.auto.mode">
1471
+ <div xsl:use-attribute-sets="preface.titlepage.recto.style">
1472
+ <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1473
+ </div>
1474
+ </xsl:template>
1475
+
1476
+ <xsl:template match="authorgroup" mode="preface.titlepage.recto.auto.mode">
1477
+ <div xsl:use-attribute-sets="preface.titlepage.recto.style">
1478
+ <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1479
+ </div>
1480
+ </xsl:template>
1481
+
1482
+ <xsl:template match="author" mode="preface.titlepage.recto.auto.mode">
1483
+ <div xsl:use-attribute-sets="preface.titlepage.recto.style">
1484
+ <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1485
+ </div>
1486
+ </xsl:template>
1487
+
1488
+ <xsl:template match="othercredit" mode="preface.titlepage.recto.auto.mode">
1489
+ <div xsl:use-attribute-sets="preface.titlepage.recto.style">
1490
+ <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1491
+ </div>
1492
+ </xsl:template>
1493
+
1494
+ <xsl:template match="releaseinfo" mode="preface.titlepage.recto.auto.mode">
1495
+ <div xsl:use-attribute-sets="preface.titlepage.recto.style">
1496
+ <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1497
+ </div>
1498
+ </xsl:template>
1499
+
1500
+ <xsl:template match="copyright" mode="preface.titlepage.recto.auto.mode">
1501
+ <div xsl:use-attribute-sets="preface.titlepage.recto.style">
1502
+ <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1503
+ </div>
1504
+ </xsl:template>
1505
+
1506
+ <xsl:template match="legalnotice" mode="preface.titlepage.recto.auto.mode">
1507
+ <div xsl:use-attribute-sets="preface.titlepage.recto.style">
1508
+ <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1509
+ </div>
1510
+ </xsl:template>
1511
+
1512
+ <xsl:template match="pubdate" mode="preface.titlepage.recto.auto.mode">
1513
+ <div xsl:use-attribute-sets="preface.titlepage.recto.style">
1514
+ <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1515
+ </div>
1516
+ </xsl:template>
1517
+
1518
+ <xsl:template match="revision" mode="preface.titlepage.recto.auto.mode">
1519
+ <div xsl:use-attribute-sets="preface.titlepage.recto.style">
1520
+ <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1521
+ </div>
1522
+ </xsl:template>
1523
+
1524
+ <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">
1531
+ <div xsl:use-attribute-sets="preface.titlepage.recto.style">
1532
+ <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1533
+ </div>
1534
+ </xsl:template>
1535
+
1536
+ <xsl:template name="chapter.titlepage.recto">
1537
+ <xsl:choose>
1538
+ <xsl:when test="chapterinfo/title">
1539
+ <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/title"/>
1540
+ </xsl:when>
1541
+ <xsl:when test="docinfo/title">
1542
+ <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/title"/>
1543
+ </xsl:when>
1544
+ <xsl:when test="info/title">
1545
+ <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/title"/>
1546
+ </xsl:when>
1547
+ <xsl:when test="title">
1548
+ <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="title"/>
1549
+ </xsl:when>
1550
+ </xsl:choose>
1551
+
1552
+ <xsl:choose>
1553
+ <xsl:when test="chapterinfo/subtitle">
1554
+ <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/subtitle"/>
1555
+ </xsl:when>
1556
+ <xsl:when test="docinfo/subtitle">
1557
+ <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
1558
+ </xsl:when>
1559
+ <xsl:when test="info/subtitle">
1560
+ <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/subtitle"/>
1561
+ </xsl:when>
1562
+ <xsl:when test="subtitle">
1563
+ <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="subtitle"/>
1564
+ </xsl:when>
1565
+ </xsl:choose>
1566
+
1567
+ <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/corpauthor"/>
1568
+ <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/corpauthor"/>
1569
+ <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/corpauthor"/>
1570
+ <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/authorgroup"/>
1571
+ <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/authorgroup"/>
1572
+ <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/authorgroup"/>
1573
+ <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/author"/>
1574
+ <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/author"/>
1575
+ <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/author"/>
1576
+ <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/othercredit"/>
1577
+ <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/othercredit"/>
1578
+ <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/othercredit"/>
1579
+ <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/releaseinfo"/>
1580
+ <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
1581
+ <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/releaseinfo"/>
1582
+ <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/copyright"/>
1583
+ <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/copyright"/>
1584
+ <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/copyright"/>
1585
+ <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/legalnotice"/>
1586
+ <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/legalnotice"/>
1587
+ <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/legalnotice"/>
1588
+ <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/pubdate"/>
1589
+ <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
1590
+ <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/pubdate"/>
1591
+ <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/revision"/>
1592
+ <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/revision"/>
1593
+ <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/revision"/>
1594
+ <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/revhistory"/>
1595
+ <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
1596
+ <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"/>
1600
+ </xsl:template>
1601
+
1602
+ <xsl:template name="chapter.titlepage.verso">
1603
+ </xsl:template>
1604
+
1605
+ <xsl:template name="chapter.titlepage.separator">
1606
+ </xsl:template>
1607
+
1608
+ <xsl:template name="chapter.titlepage.before.recto">
1609
+ </xsl:template>
1610
+
1611
+ <xsl:template name="chapter.titlepage.before.verso">
1612
+ </xsl:template>
1613
+
1614
+ <xsl:template name="chapter.titlepage">
1615
+ <div class="titlepage">
1616
+ <xsl:variable name="recto.content">
1617
+ <xsl:call-template name="chapter.titlepage.before.recto"/>
1618
+ <xsl:call-template name="chapter.titlepage.recto"/>
1619
+ </xsl:variable>
1620
+ <xsl:variable name="recto.elements.count">
1621
+ <xsl:choose>
1622
+ <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1623
+ <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1624
+ <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1625
+ <xsl:otherwise>1</xsl:otherwise>
1626
+ </xsl:choose>
1627
+ </xsl:variable>
1628
+ <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
1629
+ <div><xsl:copy-of select="$recto.content"/></div>
1630
+ </xsl:if>
1631
+ <xsl:variable name="verso.content">
1632
+ <xsl:call-template name="chapter.titlepage.before.verso"/>
1633
+ <xsl:call-template name="chapter.titlepage.verso"/>
1634
+ </xsl:variable>
1635
+ <xsl:variable name="verso.elements.count">
1636
+ <xsl:choose>
1637
+ <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1638
+ <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1639
+ <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1640
+ <xsl:otherwise>1</xsl:otherwise>
1641
+ </xsl:choose>
1642
+ </xsl:variable>
1643
+ <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
1644
+ <div><xsl:copy-of select="$verso.content"/></div>
1645
+ </xsl:if>
1646
+ <xsl:call-template name="chapter.titlepage.separator"/>
1647
+ </div>
1648
+ </xsl:template>
1649
+
1650
+ <xsl:template match="*" mode="chapter.titlepage.recto.mode">
1651
+ <!-- if an element isn't found in this mode, -->
1652
+ <!-- try the generic titlepage.mode -->
1653
+ <xsl:apply-templates select="." mode="titlepage.mode"/>
1654
+ </xsl:template>
1655
+
1656
+ <xsl:template match="*" mode="chapter.titlepage.verso.mode">
1657
+ <!-- if an element isn't found in this mode, -->
1658
+ <!-- try the generic titlepage.mode -->
1659
+ <xsl:apply-templates select="." mode="titlepage.mode"/>
1660
+ </xsl:template>
1661
+
1662
+ <xsl:template match="title" mode="chapter.titlepage.recto.auto.mode">
1663
+ <div xsl:use-attribute-sets="chapter.titlepage.recto.style">
1664
+ <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
1665
+ </div>
1666
+ </xsl:template>
1667
+
1668
+ <xsl:template match="subtitle" mode="chapter.titlepage.recto.auto.mode">
1669
+ <div xsl:use-attribute-sets="chapter.titlepage.recto.style">
1670
+ <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
1671
+ </div>
1672
+ </xsl:template>
1673
+
1674
+ <xsl:template match="corpauthor" mode="chapter.titlepage.recto.auto.mode">
1675
+ <div xsl:use-attribute-sets="chapter.titlepage.recto.style">
1676
+ <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
1677
+ </div>
1678
+ </xsl:template>
1679
+
1680
+ <xsl:template match="authorgroup" mode="chapter.titlepage.recto.auto.mode">
1681
+ <div xsl:use-attribute-sets="chapter.titlepage.recto.style">
1682
+ <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
1683
+ </div>
1684
+ </xsl:template>
1685
+
1686
+ <xsl:template match="author" mode="chapter.titlepage.recto.auto.mode">
1687
+ <div xsl:use-attribute-sets="chapter.titlepage.recto.style">
1688
+ <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
1689
+ </div>
1690
+ </xsl:template>
1691
+
1692
+ <xsl:template match="othercredit" mode="chapter.titlepage.recto.auto.mode">
1693
+ <div xsl:use-attribute-sets="chapter.titlepage.recto.style">
1694
+ <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
1695
+ </div>
1696
+ </xsl:template>
1697
+
1698
+ <xsl:template match="releaseinfo" mode="chapter.titlepage.recto.auto.mode">
1699
+ <div xsl:use-attribute-sets="chapter.titlepage.recto.style">
1700
+ <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
1701
+ </div>
1702
+ </xsl:template>
1703
+
1704
+ <xsl:template match="copyright" mode="chapter.titlepage.recto.auto.mode">
1705
+ <div xsl:use-attribute-sets="chapter.titlepage.recto.style">
1706
+ <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
1707
+ </div>
1708
+ </xsl:template>
1709
+
1710
+ <xsl:template match="legalnotice" mode="chapter.titlepage.recto.auto.mode">
1711
+ <div xsl:use-attribute-sets="chapter.titlepage.recto.style">
1712
+ <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
1713
+ </div>
1714
+ </xsl:template>
1715
+
1716
+ <xsl:template match="pubdate" mode="chapter.titlepage.recto.auto.mode">
1717
+ <div xsl:use-attribute-sets="chapter.titlepage.recto.style">
1718
+ <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
1719
+ </div>
1720
+ </xsl:template>
1721
+
1722
+ <xsl:template match="revision" mode="chapter.titlepage.recto.auto.mode">
1723
+ <div xsl:use-attribute-sets="chapter.titlepage.recto.style">
1724
+ <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
1725
+ </div>
1726
+ </xsl:template>
1727
+
1728
+ <xsl:template match="revhistory" mode="chapter.titlepage.recto.auto.mode">
1729
+ <div xsl:use-attribute-sets="chapter.titlepage.recto.style">
1730
+ <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
1731
+ </div>
1732
+ </xsl:template>
1733
+
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"/>
1737
+ </div>
1738
+ </xsl:template>
1739
+
1740
+ <xsl:template name="appendix.titlepage.recto">
1741
+ <xsl:choose>
1742
+ <xsl:when test="appendixinfo/title">
1743
+ <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/title"/>
1744
+ </xsl:when>
1745
+ <xsl:when test="docinfo/title">
1746
+ <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/title"/>
1747
+ </xsl:when>
1748
+ <xsl:when test="info/title">
1749
+ <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/title"/>
1750
+ </xsl:when>
1751
+ <xsl:when test="title">
1752
+ <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="title"/>
1753
+ </xsl:when>
1754
+ </xsl:choose>
1755
+
1756
+ <xsl:choose>
1757
+ <xsl:when test="appendixinfo/subtitle">
1758
+ <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/subtitle"/>
1759
+ </xsl:when>
1760
+ <xsl:when test="docinfo/subtitle">
1761
+ <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
1762
+ </xsl:when>
1763
+ <xsl:when test="info/subtitle">
1764
+ <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/subtitle"/>
1765
+ </xsl:when>
1766
+ <xsl:when test="subtitle">
1767
+ <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="subtitle"/>
1768
+ </xsl:when>
1769
+ </xsl:choose>
1770
+
1771
+ <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/corpauthor"/>
1772
+ <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/corpauthor"/>
1773
+ <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/corpauthor"/>
1774
+ <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/authorgroup"/>
1775
+ <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/authorgroup"/>
1776
+ <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/authorgroup"/>
1777
+ <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/author"/>
1778
+ <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/author"/>
1779
+ <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/author"/>
1780
+ <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/othercredit"/>
1781
+ <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/othercredit"/>
1782
+ <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/othercredit"/>
1783
+ <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/releaseinfo"/>
1784
+ <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
1785
+ <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/releaseinfo"/>
1786
+ <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/copyright"/>
1787
+ <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/copyright"/>
1788
+ <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/copyright"/>
1789
+ <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/legalnotice"/>
1790
+ <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/legalnotice"/>
1791
+ <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/legalnotice"/>
1792
+ <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/pubdate"/>
1793
+ <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
1794
+ <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/pubdate"/>
1795
+ <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/revision"/>
1796
+ <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/revision"/>
1797
+ <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/revision"/>
1798
+ <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/revhistory"/>
1799
+ <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
1800
+ <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"/>
1804
+ </xsl:template>
1805
+
1806
+ <xsl:template name="appendix.titlepage.verso">
1807
+ </xsl:template>
1808
+
1809
+ <xsl:template name="appendix.titlepage.separator">
1810
+ </xsl:template>
1811
+
1812
+ <xsl:template name="appendix.titlepage.before.recto">
1813
+ </xsl:template>
1814
+
1815
+ <xsl:template name="appendix.titlepage.before.verso">
1816
+ </xsl:template>
1817
+
1818
+ <xsl:template name="appendix.titlepage">
1819
+ <div class="titlepage">
1820
+ <xsl:variable name="recto.content">
1821
+ <xsl:call-template name="appendix.titlepage.before.recto"/>
1822
+ <xsl:call-template name="appendix.titlepage.recto"/>
1823
+ </xsl:variable>
1824
+ <xsl:variable name="recto.elements.count">
1825
+ <xsl:choose>
1826
+ <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1827
+ <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1828
+ <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1829
+ <xsl:otherwise>1</xsl:otherwise>
1830
+ </xsl:choose>
1831
+ </xsl:variable>
1832
+ <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
1833
+ <div><xsl:copy-of select="$recto.content"/></div>
1834
+ </xsl:if>
1835
+ <xsl:variable name="verso.content">
1836
+ <xsl:call-template name="appendix.titlepage.before.verso"/>
1837
+ <xsl:call-template name="appendix.titlepage.verso"/>
1838
+ </xsl:variable>
1839
+ <xsl:variable name="verso.elements.count">
1840
+ <xsl:choose>
1841
+ <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1842
+ <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1843
+ <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1844
+ <xsl:otherwise>1</xsl:otherwise>
1845
+ </xsl:choose>
1846
+ </xsl:variable>
1847
+ <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
1848
+ <div><xsl:copy-of select="$verso.content"/></div>
1849
+ </xsl:if>
1850
+ <xsl:call-template name="appendix.titlepage.separator"/>
1851
+ </div>
1852
+ </xsl:template>
1853
+
1854
+ <xsl:template match="*" mode="appendix.titlepage.recto.mode">
1855
+ <!-- if an element isn't found in this mode, -->
1856
+ <!-- try the generic titlepage.mode -->
1857
+ <xsl:apply-templates select="." mode="titlepage.mode"/>
1858
+ </xsl:template>
1859
+
1860
+ <xsl:template match="*" mode="appendix.titlepage.verso.mode">
1861
+ <!-- if an element isn't found in this mode, -->
1862
+ <!-- try the generic titlepage.mode -->
1863
+ <xsl:apply-templates select="." mode="titlepage.mode"/>
1864
+ </xsl:template>
1865
+
1866
+ <xsl:template match="title" mode="appendix.titlepage.recto.auto.mode">
1867
+ <div xsl:use-attribute-sets="appendix.titlepage.recto.style">
1868
+ <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
1869
+ </div>
1870
+ </xsl:template>
1871
+
1872
+ <xsl:template match="subtitle" mode="appendix.titlepage.recto.auto.mode">
1873
+ <div xsl:use-attribute-sets="appendix.titlepage.recto.style">
1874
+ <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
1875
+ </div>
1876
+ </xsl:template>
1877
+
1878
+ <xsl:template match="corpauthor" mode="appendix.titlepage.recto.auto.mode">
1879
+ <div xsl:use-attribute-sets="appendix.titlepage.recto.style">
1880
+ <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
1881
+ </div>
1882
+ </xsl:template>
1883
+
1884
+ <xsl:template match="authorgroup" mode="appendix.titlepage.recto.auto.mode">
1885
+ <div xsl:use-attribute-sets="appendix.titlepage.recto.style">
1886
+ <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
1887
+ </div>
1888
+ </xsl:template>
1889
+
1890
+ <xsl:template match="author" mode="appendix.titlepage.recto.auto.mode">
1891
+ <div xsl:use-attribute-sets="appendix.titlepage.recto.style">
1892
+ <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
1893
+ </div>
1894
+ </xsl:template>
1895
+
1896
+ <xsl:template match="othercredit" mode="appendix.titlepage.recto.auto.mode">
1897
+ <div xsl:use-attribute-sets="appendix.titlepage.recto.style">
1898
+ <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
1899
+ </div>
1900
+ </xsl:template>
1901
+
1902
+ <xsl:template match="releaseinfo" mode="appendix.titlepage.recto.auto.mode">
1903
+ <div xsl:use-attribute-sets="appendix.titlepage.recto.style">
1904
+ <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
1905
+ </div>
1906
+ </xsl:template>
1907
+
1908
+ <xsl:template match="copyright" mode="appendix.titlepage.recto.auto.mode">
1909
+ <div xsl:use-attribute-sets="appendix.titlepage.recto.style">
1910
+ <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
1911
+ </div>
1912
+ </xsl:template>
1913
+
1914
+ <xsl:template match="legalnotice" mode="appendix.titlepage.recto.auto.mode">
1915
+ <div xsl:use-attribute-sets="appendix.titlepage.recto.style">
1916
+ <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
1917
+ </div>
1918
+ </xsl:template>
1919
+
1920
+ <xsl:template match="pubdate" mode="appendix.titlepage.recto.auto.mode">
1921
+ <div xsl:use-attribute-sets="appendix.titlepage.recto.style">
1922
+ <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
1923
+ </div>
1924
+ </xsl:template>
1925
+
1926
+ <xsl:template match="revision" mode="appendix.titlepage.recto.auto.mode">
1927
+ <div xsl:use-attribute-sets="appendix.titlepage.recto.style">
1928
+ <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
1929
+ </div>
1930
+ </xsl:template>
1931
+
1932
+ <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">
1939
+ <div xsl:use-attribute-sets="appendix.titlepage.recto.style">
1940
+ <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
1941
+ </div>
1942
+ </xsl:template>
1943
+
1944
+ <xsl:template name="section.titlepage.recto">
1945
+ <xsl:choose>
1946
+ <xsl:when test="sectioninfo/title">
1947
+ <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/title"/>
1948
+ </xsl:when>
1949
+ <xsl:when test="info/title">
1950
+ <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/title"/>
1951
+ </xsl:when>
1952
+ <xsl:when test="title">
1953
+ <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="title"/>
1954
+ </xsl:when>
1955
+ </xsl:choose>
1956
+
1957
+ <xsl:choose>
1958
+ <xsl:when test="sectioninfo/subtitle">
1959
+ <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/subtitle"/>
1960
+ </xsl:when>
1961
+ <xsl:when test="info/subtitle">
1962
+ <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/subtitle"/>
1963
+ </xsl:when>
1964
+ <xsl:when test="subtitle">
1965
+ <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="subtitle"/>
1966
+ </xsl:when>
1967
+ </xsl:choose>
1968
+
1969
+ <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/corpauthor"/>
1970
+ <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/corpauthor"/>
1971
+ <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/authorgroup"/>
1972
+ <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/authorgroup"/>
1973
+ <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/author"/>
1974
+ <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/author"/>
1975
+ <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/othercredit"/>
1976
+ <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/othercredit"/>
1977
+ <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/releaseinfo"/>
1978
+ <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/releaseinfo"/>
1979
+ <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/copyright"/>
1980
+ <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/copyright"/>
1981
+ <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/legalnotice"/>
1982
+ <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/legalnotice"/>
1983
+ <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/pubdate"/>
1984
+ <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/pubdate"/>
1985
+ <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/revision"/>
1986
+ <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/revision"/>
1987
+ <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/revhistory"/>
1988
+ <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"/>
1991
+ </xsl:template>
1992
+
1993
+ <xsl:template name="section.titlepage.verso">
1994
+ </xsl:template>
1995
+
1996
+ <xsl:template name="section.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
1997
+ </xsl:template>
1998
+
1999
+ <xsl:template name="section.titlepage.before.recto">
2000
+ </xsl:template>
2001
+
2002
+ <xsl:template name="section.titlepage.before.verso">
2003
+ </xsl:template>
2004
+
2005
+ <xsl:template name="section.titlepage">
2006
+ <div class="titlepage">
2007
+ <xsl:variable name="recto.content">
2008
+ <xsl:call-template name="section.titlepage.before.recto"/>
2009
+ <xsl:call-template name="section.titlepage.recto"/>
2010
+ </xsl:variable>
2011
+ <xsl:variable name="recto.elements.count">
2012
+ <xsl:choose>
2013
+ <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2014
+ <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2015
+ <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2016
+ <xsl:otherwise>1</xsl:otherwise>
2017
+ </xsl:choose>
2018
+ </xsl:variable>
2019
+ <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
2020
+ <div><xsl:copy-of select="$recto.content"/></div>
2021
+ </xsl:if>
2022
+ <xsl:variable name="verso.content">
2023
+ <xsl:call-template name="section.titlepage.before.verso"/>
2024
+ <xsl:call-template name="section.titlepage.verso"/>
2025
+ </xsl:variable>
2026
+ <xsl:variable name="verso.elements.count">
2027
+ <xsl:choose>
2028
+ <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2029
+ <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2030
+ <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2031
+ <xsl:otherwise>1</xsl:otherwise>
2032
+ </xsl:choose>
2033
+ </xsl:variable>
2034
+ <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
2035
+ <div><xsl:copy-of select="$verso.content"/></div>
2036
+ </xsl:if>
2037
+ <xsl:call-template name="section.titlepage.separator"/>
2038
+ </div>
2039
+ </xsl:template>
2040
+
2041
+ <xsl:template match="*" mode="section.titlepage.recto.mode">
2042
+ <!-- if an element isn't found in this mode, -->
2043
+ <!-- try the generic titlepage.mode -->
2044
+ <xsl:apply-templates select="." mode="titlepage.mode"/>
2045
+ </xsl:template>
2046
+
2047
+ <xsl:template match="*" mode="section.titlepage.verso.mode">
2048
+ <!-- if an element isn't found in this mode, -->
2049
+ <!-- try the generic titlepage.mode -->
2050
+ <xsl:apply-templates select="." mode="titlepage.mode"/>
2051
+ </xsl:template>
2052
+
2053
+ <xsl:template match="title" mode="section.titlepage.recto.auto.mode">
2054
+ <div xsl:use-attribute-sets="section.titlepage.recto.style">
2055
+ <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2056
+ </div>
2057
+ </xsl:template>
2058
+
2059
+ <xsl:template match="subtitle" mode="section.titlepage.recto.auto.mode">
2060
+ <div xsl:use-attribute-sets="section.titlepage.recto.style">
2061
+ <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2062
+ </div>
2063
+ </xsl:template>
2064
+
2065
+ <xsl:template match="corpauthor" mode="section.titlepage.recto.auto.mode">
2066
+ <div xsl:use-attribute-sets="section.titlepage.recto.style">
2067
+ <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2068
+ </div>
2069
+ </xsl:template>
2070
+
2071
+ <xsl:template match="authorgroup" mode="section.titlepage.recto.auto.mode">
2072
+ <div xsl:use-attribute-sets="section.titlepage.recto.style">
2073
+ <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2074
+ </div>
2075
+ </xsl:template>
2076
+
2077
+ <xsl:template match="author" mode="section.titlepage.recto.auto.mode">
2078
+ <div xsl:use-attribute-sets="section.titlepage.recto.style">
2079
+ <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2080
+ </div>
2081
+ </xsl:template>
2082
+
2083
+ <xsl:template match="othercredit" mode="section.titlepage.recto.auto.mode">
2084
+ <div xsl:use-attribute-sets="section.titlepage.recto.style">
2085
+ <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2086
+ </div>
2087
+ </xsl:template>
2088
+
2089
+ <xsl:template match="releaseinfo" mode="section.titlepage.recto.auto.mode">
2090
+ <div xsl:use-attribute-sets="section.titlepage.recto.style">
2091
+ <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2092
+ </div>
2093
+ </xsl:template>
2094
+
2095
+ <xsl:template match="copyright" mode="section.titlepage.recto.auto.mode">
2096
+ <div xsl:use-attribute-sets="section.titlepage.recto.style">
2097
+ <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2098
+ </div>
2099
+ </xsl:template>
2100
+
2101
+ <xsl:template match="legalnotice" mode="section.titlepage.recto.auto.mode">
2102
+ <div xsl:use-attribute-sets="section.titlepage.recto.style">
2103
+ <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2104
+ </div>
2105
+ </xsl:template>
2106
+
2107
+ <xsl:template match="pubdate" mode="section.titlepage.recto.auto.mode">
2108
+ <div xsl:use-attribute-sets="section.titlepage.recto.style">
2109
+ <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2110
+ </div>
2111
+ </xsl:template>
2112
+
2113
+ <xsl:template match="revision" mode="section.titlepage.recto.auto.mode">
2114
+ <div xsl:use-attribute-sets="section.titlepage.recto.style">
2115
+ <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2116
+ </div>
2117
+ </xsl:template>
2118
+
2119
+ <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">
2126
+ <div xsl:use-attribute-sets="section.titlepage.recto.style">
2127
+ <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2128
+ </div>
2129
+ </xsl:template>
2130
+
2131
+ <xsl:template name="sect1.titlepage.recto">
2132
+ <xsl:choose>
2133
+ <xsl:when test="sect1info/title">
2134
+ <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/title"/>
2135
+ </xsl:when>
2136
+ <xsl:when test="info/title">
2137
+ <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/title"/>
2138
+ </xsl:when>
2139
+ <xsl:when test="title">
2140
+ <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="title"/>
2141
+ </xsl:when>
2142
+ </xsl:choose>
2143
+
2144
+ <xsl:choose>
2145
+ <xsl:when test="sect1info/subtitle">
2146
+ <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/subtitle"/>
2147
+ </xsl:when>
2148
+ <xsl:when test="info/subtitle">
2149
+ <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/subtitle"/>
2150
+ </xsl:when>
2151
+ <xsl:when test="subtitle">
2152
+ <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="subtitle"/>
2153
+ </xsl:when>
2154
+ </xsl:choose>
2155
+
2156
+ <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/corpauthor"/>
2157
+ <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/corpauthor"/>
2158
+ <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/authorgroup"/>
2159
+ <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/authorgroup"/>
2160
+ <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/author"/>
2161
+ <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/author"/>
2162
+ <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/othercredit"/>
2163
+ <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/othercredit"/>
2164
+ <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/releaseinfo"/>
2165
+ <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/releaseinfo"/>
2166
+ <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/copyright"/>
2167
+ <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/copyright"/>
2168
+ <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/legalnotice"/>
2169
+ <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/legalnotice"/>
2170
+ <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/pubdate"/>
2171
+ <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/pubdate"/>
2172
+ <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/revision"/>
2173
+ <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/revision"/>
2174
+ <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/revhistory"/>
2175
+ <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"/>
2178
+ </xsl:template>
2179
+
2180
+ <xsl:template name="sect1.titlepage.verso">
2181
+ </xsl:template>
2182
+
2183
+ <xsl:template name="sect1.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
2184
+ </xsl:template>
2185
+
2186
+ <xsl:template name="sect1.titlepage.before.recto">
2187
+ </xsl:template>
2188
+
2189
+ <xsl:template name="sect1.titlepage.before.verso">
2190
+ </xsl:template>
2191
+
2192
+ <xsl:template name="sect1.titlepage">
2193
+ <div class="titlepage">
2194
+ <xsl:variable name="recto.content">
2195
+ <xsl:call-template name="sect1.titlepage.before.recto"/>
2196
+ <xsl:call-template name="sect1.titlepage.recto"/>
2197
+ </xsl:variable>
2198
+ <xsl:variable name="recto.elements.count">
2199
+ <xsl:choose>
2200
+ <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2201
+ <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2202
+ <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2203
+ <xsl:otherwise>1</xsl:otherwise>
2204
+ </xsl:choose>
2205
+ </xsl:variable>
2206
+ <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
2207
+ <div><xsl:copy-of select="$recto.content"/></div>
2208
+ </xsl:if>
2209
+ <xsl:variable name="verso.content">
2210
+ <xsl:call-template name="sect1.titlepage.before.verso"/>
2211
+ <xsl:call-template name="sect1.titlepage.verso"/>
2212
+ </xsl:variable>
2213
+ <xsl:variable name="verso.elements.count">
2214
+ <xsl:choose>
2215
+ <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2216
+ <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2217
+ <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2218
+ <xsl:otherwise>1</xsl:otherwise>
2219
+ </xsl:choose>
2220
+ </xsl:variable>
2221
+ <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
2222
+ <div><xsl:copy-of select="$verso.content"/></div>
2223
+ </xsl:if>
2224
+ <xsl:call-template name="sect1.titlepage.separator"/>
2225
+ </div>
2226
+ </xsl:template>
2227
+
2228
+ <xsl:template match="*" mode="sect1.titlepage.recto.mode">
2229
+ <!-- if an element isn't found in this mode, -->
2230
+ <!-- try the generic titlepage.mode -->
2231
+ <xsl:apply-templates select="." mode="titlepage.mode"/>
2232
+ </xsl:template>
2233
+
2234
+ <xsl:template match="*" mode="sect1.titlepage.verso.mode">
2235
+ <!-- if an element isn't found in this mode, -->
2236
+ <!-- try the generic titlepage.mode -->
2237
+ <xsl:apply-templates select="." mode="titlepage.mode"/>
2238
+ </xsl:template>
2239
+
2240
+ <xsl:template match="title" mode="sect1.titlepage.recto.auto.mode">
2241
+ <div xsl:use-attribute-sets="sect1.titlepage.recto.style">
2242
+ <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2243
+ </div>
2244
+ </xsl:template>
2245
+
2246
+ <xsl:template match="subtitle" mode="sect1.titlepage.recto.auto.mode">
2247
+ <div xsl:use-attribute-sets="sect1.titlepage.recto.style">
2248
+ <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2249
+ </div>
2250
+ </xsl:template>
2251
+
2252
+ <xsl:template match="corpauthor" mode="sect1.titlepage.recto.auto.mode">
2253
+ <div xsl:use-attribute-sets="sect1.titlepage.recto.style">
2254
+ <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2255
+ </div>
2256
+ </xsl:template>
2257
+
2258
+ <xsl:template match="authorgroup" mode="sect1.titlepage.recto.auto.mode">
2259
+ <div xsl:use-attribute-sets="sect1.titlepage.recto.style">
2260
+ <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2261
+ </div>
2262
+ </xsl:template>
2263
+
2264
+ <xsl:template match="author" mode="sect1.titlepage.recto.auto.mode">
2265
+ <div xsl:use-attribute-sets="sect1.titlepage.recto.style">
2266
+ <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2267
+ </div>
2268
+ </xsl:template>
2269
+
2270
+ <xsl:template match="othercredit" mode="sect1.titlepage.recto.auto.mode">
2271
+ <div xsl:use-attribute-sets="sect1.titlepage.recto.style">
2272
+ <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2273
+ </div>
2274
+ </xsl:template>
2275
+
2276
+ <xsl:template match="releaseinfo" mode="sect1.titlepage.recto.auto.mode">
2277
+ <div xsl:use-attribute-sets="sect1.titlepage.recto.style">
2278
+ <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2279
+ </div>
2280
+ </xsl:template>
2281
+
2282
+ <xsl:template match="copyright" mode="sect1.titlepage.recto.auto.mode">
2283
+ <div xsl:use-attribute-sets="sect1.titlepage.recto.style">
2284
+ <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2285
+ </div>
2286
+ </xsl:template>
2287
+
2288
+ <xsl:template match="legalnotice" mode="sect1.titlepage.recto.auto.mode">
2289
+ <div xsl:use-attribute-sets="sect1.titlepage.recto.style">
2290
+ <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2291
+ </div>
2292
+ </xsl:template>
2293
+
2294
+ <xsl:template match="pubdate" mode="sect1.titlepage.recto.auto.mode">
2295
+ <div xsl:use-attribute-sets="sect1.titlepage.recto.style">
2296
+ <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2297
+ </div>
2298
+ </xsl:template>
2299
+
2300
+ <xsl:template match="revision" mode="sect1.titlepage.recto.auto.mode">
2301
+ <div xsl:use-attribute-sets="sect1.titlepage.recto.style">
2302
+ <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2303
+ </div>
2304
+ </xsl:template>
2305
+
2306
+ <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">
2313
+ <div xsl:use-attribute-sets="sect1.titlepage.recto.style">
2314
+ <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2315
+ </div>
2316
+ </xsl:template>
2317
+
2318
+ <xsl:template name="sect2.titlepage.recto">
2319
+ <xsl:choose>
2320
+ <xsl:when test="sect2info/title">
2321
+ <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/title"/>
2322
+ </xsl:when>
2323
+ <xsl:when test="info/title">
2324
+ <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/title"/>
2325
+ </xsl:when>
2326
+ <xsl:when test="title">
2327
+ <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="title"/>
2328
+ </xsl:when>
2329
+ </xsl:choose>
2330
+
2331
+ <xsl:choose>
2332
+ <xsl:when test="sect2info/subtitle">
2333
+ <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/subtitle"/>
2334
+ </xsl:when>
2335
+ <xsl:when test="info/subtitle">
2336
+ <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/subtitle"/>
2337
+ </xsl:when>
2338
+ <xsl:when test="subtitle">
2339
+ <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="subtitle"/>
2340
+ </xsl:when>
2341
+ </xsl:choose>
2342
+
2343
+ <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/corpauthor"/>
2344
+ <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/corpauthor"/>
2345
+ <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/authorgroup"/>
2346
+ <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/authorgroup"/>
2347
+ <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/author"/>
2348
+ <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/author"/>
2349
+ <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/othercredit"/>
2350
+ <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/othercredit"/>
2351
+ <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/releaseinfo"/>
2352
+ <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/releaseinfo"/>
2353
+ <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/copyright"/>
2354
+ <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/copyright"/>
2355
+ <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/legalnotice"/>
2356
+ <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/legalnotice"/>
2357
+ <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/pubdate"/>
2358
+ <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/pubdate"/>
2359
+ <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/revision"/>
2360
+ <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/revision"/>
2361
+ <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/revhistory"/>
2362
+ <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"/>
2365
+ </xsl:template>
2366
+
2367
+ <xsl:template name="sect2.titlepage.verso">
2368
+ </xsl:template>
2369
+
2370
+ <xsl:template name="sect2.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
2371
+ </xsl:template>
2372
+
2373
+ <xsl:template name="sect2.titlepage.before.recto">
2374
+ </xsl:template>
2375
+
2376
+ <xsl:template name="sect2.titlepage.before.verso">
2377
+ </xsl:template>
2378
+
2379
+ <xsl:template name="sect2.titlepage">
2380
+ <div class="titlepage">
2381
+ <xsl:variable name="recto.content">
2382
+ <xsl:call-template name="sect2.titlepage.before.recto"/>
2383
+ <xsl:call-template name="sect2.titlepage.recto"/>
2384
+ </xsl:variable>
2385
+ <xsl:variable name="recto.elements.count">
2386
+ <xsl:choose>
2387
+ <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2388
+ <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2389
+ <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2390
+ <xsl:otherwise>1</xsl:otherwise>
2391
+ </xsl:choose>
2392
+ </xsl:variable>
2393
+ <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
2394
+ <div><xsl:copy-of select="$recto.content"/></div>
2395
+ </xsl:if>
2396
+ <xsl:variable name="verso.content">
2397
+ <xsl:call-template name="sect2.titlepage.before.verso"/>
2398
+ <xsl:call-template name="sect2.titlepage.verso"/>
2399
+ </xsl:variable>
2400
+ <xsl:variable name="verso.elements.count">
2401
+ <xsl:choose>
2402
+ <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2403
+ <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2404
+ <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2405
+ <xsl:otherwise>1</xsl:otherwise>
2406
+ </xsl:choose>
2407
+ </xsl:variable>
2408
+ <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
2409
+ <div><xsl:copy-of select="$verso.content"/></div>
2410
+ </xsl:if>
2411
+ <xsl:call-template name="sect2.titlepage.separator"/>
2412
+ </div>
2413
+ </xsl:template>
2414
+
2415
+ <xsl:template match="*" mode="sect2.titlepage.recto.mode">
2416
+ <!-- if an element isn't found in this mode, -->
2417
+ <!-- try the generic titlepage.mode -->
2418
+ <xsl:apply-templates select="." mode="titlepage.mode"/>
2419
+ </xsl:template>
2420
+
2421
+ <xsl:template match="*" mode="sect2.titlepage.verso.mode">
2422
+ <!-- if an element isn't found in this mode, -->
2423
+ <!-- try the generic titlepage.mode -->
2424
+ <xsl:apply-templates select="." mode="titlepage.mode"/>
2425
+ </xsl:template>
2426
+
2427
+ <xsl:template match="title" mode="sect2.titlepage.recto.auto.mode">
2428
+ <div xsl:use-attribute-sets="sect2.titlepage.recto.style">
2429
+ <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2430
+ </div>
2431
+ </xsl:template>
2432
+
2433
+ <xsl:template match="subtitle" mode="sect2.titlepage.recto.auto.mode">
2434
+ <div xsl:use-attribute-sets="sect2.titlepage.recto.style">
2435
+ <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2436
+ </div>
2437
+ </xsl:template>
2438
+
2439
+ <xsl:template match="corpauthor" mode="sect2.titlepage.recto.auto.mode">
2440
+ <div xsl:use-attribute-sets="sect2.titlepage.recto.style">
2441
+ <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2442
+ </div>
2443
+ </xsl:template>
2444
+
2445
+ <xsl:template match="authorgroup" mode="sect2.titlepage.recto.auto.mode">
2446
+ <div xsl:use-attribute-sets="sect2.titlepage.recto.style">
2447
+ <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2448
+ </div>
2449
+ </xsl:template>
2450
+
2451
+ <xsl:template match="author" mode="sect2.titlepage.recto.auto.mode">
2452
+ <div xsl:use-attribute-sets="sect2.titlepage.recto.style">
2453
+ <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2454
+ </div>
2455
+ </xsl:template>
2456
+
2457
+ <xsl:template match="othercredit" mode="sect2.titlepage.recto.auto.mode">
2458
+ <div xsl:use-attribute-sets="sect2.titlepage.recto.style">
2459
+ <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2460
+ </div>
2461
+ </xsl:template>
2462
+
2463
+ <xsl:template match="releaseinfo" mode="sect2.titlepage.recto.auto.mode">
2464
+ <div xsl:use-attribute-sets="sect2.titlepage.recto.style">
2465
+ <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2466
+ </div>
2467
+ </xsl:template>
2468
+
2469
+ <xsl:template match="copyright" mode="sect2.titlepage.recto.auto.mode">
2470
+ <div xsl:use-attribute-sets="sect2.titlepage.recto.style">
2471
+ <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2472
+ </div>
2473
+ </xsl:template>
2474
+
2475
+ <xsl:template match="legalnotice" mode="sect2.titlepage.recto.auto.mode">
2476
+ <div xsl:use-attribute-sets="sect2.titlepage.recto.style">
2477
+ <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2478
+ </div>
2479
+ </xsl:template>
2480
+
2481
+ <xsl:template match="pubdate" mode="sect2.titlepage.recto.auto.mode">
2482
+ <div xsl:use-attribute-sets="sect2.titlepage.recto.style">
2483
+ <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2484
+ </div>
2485
+ </xsl:template>
2486
+
2487
+ <xsl:template match="revision" mode="sect2.titlepage.recto.auto.mode">
2488
+ <div xsl:use-attribute-sets="sect2.titlepage.recto.style">
2489
+ <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2490
+ </div>
2491
+ </xsl:template>
2492
+
2493
+ <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">
2500
+ <div xsl:use-attribute-sets="sect2.titlepage.recto.style">
2501
+ <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2502
+ </div>
2503
+ </xsl:template>
2504
+
2505
+ <xsl:template name="sect3.titlepage.recto">
2506
+ <xsl:choose>
2507
+ <xsl:when test="sect3info/title">
2508
+ <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/title"/>
2509
+ </xsl:when>
2510
+ <xsl:when test="info/title">
2511
+ <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/title"/>
2512
+ </xsl:when>
2513
+ <xsl:when test="title">
2514
+ <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="title"/>
2515
+ </xsl:when>
2516
+ </xsl:choose>
2517
+
2518
+ <xsl:choose>
2519
+ <xsl:when test="sect3info/subtitle">
2520
+ <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/subtitle"/>
2521
+ </xsl:when>
2522
+ <xsl:when test="info/subtitle">
2523
+ <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/subtitle"/>
2524
+ </xsl:when>
2525
+ <xsl:when test="subtitle">
2526
+ <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="subtitle"/>
2527
+ </xsl:when>
2528
+ </xsl:choose>
2529
+
2530
+ <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/corpauthor"/>
2531
+ <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/corpauthor"/>
2532
+ <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/authorgroup"/>
2533
+ <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/authorgroup"/>
2534
+ <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/author"/>
2535
+ <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/author"/>
2536
+ <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/othercredit"/>
2537
+ <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/othercredit"/>
2538
+ <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/releaseinfo"/>
2539
+ <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/releaseinfo"/>
2540
+ <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/copyright"/>
2541
+ <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/copyright"/>
2542
+ <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/legalnotice"/>
2543
+ <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/legalnotice"/>
2544
+ <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/pubdate"/>
2545
+ <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/pubdate"/>
2546
+ <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/revision"/>
2547
+ <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/revision"/>
2548
+ <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/revhistory"/>
2549
+ <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"/>
2552
+ </xsl:template>
2553
+
2554
+ <xsl:template name="sect3.titlepage.verso">
2555
+ </xsl:template>
2556
+
2557
+ <xsl:template name="sect3.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
2558
+ </xsl:template>
2559
+
2560
+ <xsl:template name="sect3.titlepage.before.recto">
2561
+ </xsl:template>
2562
+
2563
+ <xsl:template name="sect3.titlepage.before.verso">
2564
+ </xsl:template>
2565
+
2566
+ <xsl:template name="sect3.titlepage">
2567
+ <div class="titlepage">
2568
+ <xsl:variable name="recto.content">
2569
+ <xsl:call-template name="sect3.titlepage.before.recto"/>
2570
+ <xsl:call-template name="sect3.titlepage.recto"/>
2571
+ </xsl:variable>
2572
+ <xsl:variable name="recto.elements.count">
2573
+ <xsl:choose>
2574
+ <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2575
+ <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2576
+ <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2577
+ <xsl:otherwise>1</xsl:otherwise>
2578
+ </xsl:choose>
2579
+ </xsl:variable>
2580
+ <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
2581
+ <div><xsl:copy-of select="$recto.content"/></div>
2582
+ </xsl:if>
2583
+ <xsl:variable name="verso.content">
2584
+ <xsl:call-template name="sect3.titlepage.before.verso"/>
2585
+ <xsl:call-template name="sect3.titlepage.verso"/>
2586
+ </xsl:variable>
2587
+ <xsl:variable name="verso.elements.count">
2588
+ <xsl:choose>
2589
+ <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2590
+ <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2591
+ <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2592
+ <xsl:otherwise>1</xsl:otherwise>
2593
+ </xsl:choose>
2594
+ </xsl:variable>
2595
+ <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
2596
+ <div><xsl:copy-of select="$verso.content"/></div>
2597
+ </xsl:if>
2598
+ <xsl:call-template name="sect3.titlepage.separator"/>
2599
+ </div>
2600
+ </xsl:template>
2601
+
2602
+ <xsl:template match="*" mode="sect3.titlepage.recto.mode">
2603
+ <!-- if an element isn't found in this mode, -->
2604
+ <!-- try the generic titlepage.mode -->
2605
+ <xsl:apply-templates select="." mode="titlepage.mode"/>
2606
+ </xsl:template>
2607
+
2608
+ <xsl:template match="*" mode="sect3.titlepage.verso.mode">
2609
+ <!-- if an element isn't found in this mode, -->
2610
+ <!-- try the generic titlepage.mode -->
2611
+ <xsl:apply-templates select="." mode="titlepage.mode"/>
2612
+ </xsl:template>
2613
+
2614
+ <xsl:template match="title" mode="sect3.titlepage.recto.auto.mode">
2615
+ <div xsl:use-attribute-sets="sect3.titlepage.recto.style">
2616
+ <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
2617
+ </div>
2618
+ </xsl:template>
2619
+
2620
+ <xsl:template match="subtitle" mode="sect3.titlepage.recto.auto.mode">
2621
+ <div xsl:use-attribute-sets="sect3.titlepage.recto.style">
2622
+ <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
2623
+ </div>
2624
+ </xsl:template>
2625
+
2626
+ <xsl:template match="corpauthor" mode="sect3.titlepage.recto.auto.mode">
2627
+ <div xsl:use-attribute-sets="sect3.titlepage.recto.style">
2628
+ <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
2629
+ </div>
2630
+ </xsl:template>
2631
+
2632
+ <xsl:template match="authorgroup" mode="sect3.titlepage.recto.auto.mode">
2633
+ <div xsl:use-attribute-sets="sect3.titlepage.recto.style">
2634
+ <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
2635
+ </div>
2636
+ </xsl:template>
2637
+
2638
+ <xsl:template match="author" mode="sect3.titlepage.recto.auto.mode">
2639
+ <div xsl:use-attribute-sets="sect3.titlepage.recto.style">
2640
+ <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
2641
+ </div>
2642
+ </xsl:template>
2643
+
2644
+ <xsl:template match="othercredit" mode="sect3.titlepage.recto.auto.mode">
2645
+ <div xsl:use-attribute-sets="sect3.titlepage.recto.style">
2646
+ <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
2647
+ </div>
2648
+ </xsl:template>
2649
+
2650
+ <xsl:template match="releaseinfo" mode="sect3.titlepage.recto.auto.mode">
2651
+ <div xsl:use-attribute-sets="sect3.titlepage.recto.style">
2652
+ <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
2653
+ </div>
2654
+ </xsl:template>
2655
+
2656
+ <xsl:template match="copyright" mode="sect3.titlepage.recto.auto.mode">
2657
+ <div xsl:use-attribute-sets="sect3.titlepage.recto.style">
2658
+ <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
2659
+ </div>
2660
+ </xsl:template>
2661
+
2662
+ <xsl:template match="legalnotice" mode="sect3.titlepage.recto.auto.mode">
2663
+ <div xsl:use-attribute-sets="sect3.titlepage.recto.style">
2664
+ <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
2665
+ </div>
2666
+ </xsl:template>
2667
+
2668
+ <xsl:template match="pubdate" mode="sect3.titlepage.recto.auto.mode">
2669
+ <div xsl:use-attribute-sets="sect3.titlepage.recto.style">
2670
+ <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
2671
+ </div>
2672
+ </xsl:template>
2673
+
2674
+ <xsl:template match="revision" mode="sect3.titlepage.recto.auto.mode">
2675
+ <div xsl:use-attribute-sets="sect3.titlepage.recto.style">
2676
+ <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
2677
+ </div>
2678
+ </xsl:template>
2679
+
2680
+ <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">
2687
+ <div xsl:use-attribute-sets="sect3.titlepage.recto.style">
2688
+ <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
2689
+ </div>
2690
+ </xsl:template>
2691
+
2692
+ <xsl:template name="sect4.titlepage.recto">
2693
+ <xsl:choose>
2694
+ <xsl:when test="sect4info/title">
2695
+ <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/title"/>
2696
+ </xsl:when>
2697
+ <xsl:when test="info/title">
2698
+ <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/title"/>
2699
+ </xsl:when>
2700
+ <xsl:when test="title">
2701
+ <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="title"/>
2702
+ </xsl:when>
2703
+ </xsl:choose>
2704
+
2705
+ <xsl:choose>
2706
+ <xsl:when test="sect4info/subtitle">
2707
+ <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/subtitle"/>
2708
+ </xsl:when>
2709
+ <xsl:when test="info/subtitle">
2710
+ <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/subtitle"/>
2711
+ </xsl:when>
2712
+ <xsl:when test="subtitle">
2713
+ <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="subtitle"/>
2714
+ </xsl:when>
2715
+ </xsl:choose>
2716
+
2717
+ <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/corpauthor"/>
2718
+ <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/corpauthor"/>
2719
+ <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/authorgroup"/>
2720
+ <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/authorgroup"/>
2721
+ <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/author"/>
2722
+ <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/author"/>
2723
+ <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/othercredit"/>
2724
+ <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/othercredit"/>
2725
+ <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/releaseinfo"/>
2726
+ <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/releaseinfo"/>
2727
+ <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/copyright"/>
2728
+ <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/copyright"/>
2729
+ <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/legalnotice"/>
2730
+ <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/legalnotice"/>
2731
+ <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/pubdate"/>
2732
+ <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/pubdate"/>
2733
+ <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/revision"/>
2734
+ <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/revision"/>
2735
+ <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/revhistory"/>
2736
+ <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"/>
2739
+ </xsl:template>
2740
+
2741
+ <xsl:template name="sect4.titlepage.verso">
2742
+ </xsl:template>
2743
+
2744
+ <xsl:template name="sect4.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
2745
+ </xsl:template>
2746
+
2747
+ <xsl:template name="sect4.titlepage.before.recto">
2748
+ </xsl:template>
2749
+
2750
+ <xsl:template name="sect4.titlepage.before.verso">
2751
+ </xsl:template>
2752
+
2753
+ <xsl:template name="sect4.titlepage">
2754
+ <div class="titlepage">
2755
+ <xsl:variable name="recto.content">
2756
+ <xsl:call-template name="sect4.titlepage.before.recto"/>
2757
+ <xsl:call-template name="sect4.titlepage.recto"/>
2758
+ </xsl:variable>
2759
+ <xsl:variable name="recto.elements.count">
2760
+ <xsl:choose>
2761
+ <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2762
+ <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2763
+ <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2764
+ <xsl:otherwise>1</xsl:otherwise>
2765
+ </xsl:choose>
2766
+ </xsl:variable>
2767
+ <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
2768
+ <div><xsl:copy-of select="$recto.content"/></div>
2769
+ </xsl:if>
2770
+ <xsl:variable name="verso.content">
2771
+ <xsl:call-template name="sect4.titlepage.before.verso"/>
2772
+ <xsl:call-template name="sect4.titlepage.verso"/>
2773
+ </xsl:variable>
2774
+ <xsl:variable name="verso.elements.count">
2775
+ <xsl:choose>
2776
+ <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2777
+ <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2778
+ <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2779
+ <xsl:otherwise>1</xsl:otherwise>
2780
+ </xsl:choose>
2781
+ </xsl:variable>
2782
+ <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
2783
+ <div><xsl:copy-of select="$verso.content"/></div>
2784
+ </xsl:if>
2785
+ <xsl:call-template name="sect4.titlepage.separator"/>
2786
+ </div>
2787
+ </xsl:template>
2788
+
2789
+ <xsl:template match="*" mode="sect4.titlepage.recto.mode">
2790
+ <!-- if an element isn't found in this mode, -->
2791
+ <!-- try the generic titlepage.mode -->
2792
+ <xsl:apply-templates select="." mode="titlepage.mode"/>
2793
+ </xsl:template>
2794
+
2795
+ <xsl:template match="*" mode="sect4.titlepage.verso.mode">
2796
+ <!-- if an element isn't found in this mode, -->
2797
+ <!-- try the generic titlepage.mode -->
2798
+ <xsl:apply-templates select="." mode="titlepage.mode"/>
2799
+ </xsl:template>
2800
+
2801
+ <xsl:template match="title" mode="sect4.titlepage.recto.auto.mode">
2802
+ <div xsl:use-attribute-sets="sect4.titlepage.recto.style">
2803
+ <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
2804
+ </div>
2805
+ </xsl:template>
2806
+
2807
+ <xsl:template match="subtitle" mode="sect4.titlepage.recto.auto.mode">
2808
+ <div xsl:use-attribute-sets="sect4.titlepage.recto.style">
2809
+ <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
2810
+ </div>
2811
+ </xsl:template>
2812
+
2813
+ <xsl:template match="corpauthor" mode="sect4.titlepage.recto.auto.mode">
2814
+ <div xsl:use-attribute-sets="sect4.titlepage.recto.style">
2815
+ <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
2816
+ </div>
2817
+ </xsl:template>
2818
+
2819
+ <xsl:template match="authorgroup" mode="sect4.titlepage.recto.auto.mode">
2820
+ <div xsl:use-attribute-sets="sect4.titlepage.recto.style">
2821
+ <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
2822
+ </div>
2823
+ </xsl:template>
2824
+
2825
+ <xsl:template match="author" mode="sect4.titlepage.recto.auto.mode">
2826
+ <div xsl:use-attribute-sets="sect4.titlepage.recto.style">
2827
+ <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
2828
+ </div>
2829
+ </xsl:template>
2830
+
2831
+ <xsl:template match="othercredit" mode="sect4.titlepage.recto.auto.mode">
2832
+ <div xsl:use-attribute-sets="sect4.titlepage.recto.style">
2833
+ <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
2834
+ </div>
2835
+ </xsl:template>
2836
+
2837
+ <xsl:template match="releaseinfo" mode="sect4.titlepage.recto.auto.mode">
2838
+ <div xsl:use-attribute-sets="sect4.titlepage.recto.style">
2839
+ <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
2840
+ </div>
2841
+ </xsl:template>
2842
+
2843
+ <xsl:template match="copyright" mode="sect4.titlepage.recto.auto.mode">
2844
+ <div xsl:use-attribute-sets="sect4.titlepage.recto.style">
2845
+ <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
2846
+ </div>
2847
+ </xsl:template>
2848
+
2849
+ <xsl:template match="legalnotice" mode="sect4.titlepage.recto.auto.mode">
2850
+ <div xsl:use-attribute-sets="sect4.titlepage.recto.style">
2851
+ <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
2852
+ </div>
2853
+ </xsl:template>
2854
+
2855
+ <xsl:template match="pubdate" mode="sect4.titlepage.recto.auto.mode">
2856
+ <div xsl:use-attribute-sets="sect4.titlepage.recto.style">
2857
+ <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
2858
+ </div>
2859
+ </xsl:template>
2860
+
2861
+ <xsl:template match="revision" mode="sect4.titlepage.recto.auto.mode">
2862
+ <div xsl:use-attribute-sets="sect4.titlepage.recto.style">
2863
+ <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
2864
+ </div>
2865
+ </xsl:template>
2866
+
2867
+ <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">
2874
+ <div xsl:use-attribute-sets="sect4.titlepage.recto.style">
2875
+ <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
2876
+ </div>
2877
+ </xsl:template>
2878
+
2879
+ <xsl:template name="sect5.titlepage.recto">
2880
+ <xsl:choose>
2881
+ <xsl:when test="sect5info/title">
2882
+ <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/title"/>
2883
+ </xsl:when>
2884
+ <xsl:when test="info/title">
2885
+ <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/title"/>
2886
+ </xsl:when>
2887
+ <xsl:when test="title">
2888
+ <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="title"/>
2889
+ </xsl:when>
2890
+ </xsl:choose>
2891
+
2892
+ <xsl:choose>
2893
+ <xsl:when test="sect5info/subtitle">
2894
+ <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/subtitle"/>
2895
+ </xsl:when>
2896
+ <xsl:when test="info/subtitle">
2897
+ <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/subtitle"/>
2898
+ </xsl:when>
2899
+ <xsl:when test="subtitle">
2900
+ <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="subtitle"/>
2901
+ </xsl:when>
2902
+ </xsl:choose>
2903
+
2904
+ <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/corpauthor"/>
2905
+ <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/corpauthor"/>
2906
+ <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/authorgroup"/>
2907
+ <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/authorgroup"/>
2908
+ <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/author"/>
2909
+ <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/author"/>
2910
+ <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/othercredit"/>
2911
+ <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/othercredit"/>
2912
+ <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/releaseinfo"/>
2913
+ <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/releaseinfo"/>
2914
+ <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/copyright"/>
2915
+ <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/copyright"/>
2916
+ <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/legalnotice"/>
2917
+ <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/legalnotice"/>
2918
+ <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/pubdate"/>
2919
+ <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/pubdate"/>
2920
+ <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/revision"/>
2921
+ <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/revision"/>
2922
+ <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/revhistory"/>
2923
+ <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"/>
2926
+ </xsl:template>
2927
+
2928
+ <xsl:template name="sect5.titlepage.verso">
2929
+ </xsl:template>
2930
+
2931
+ <xsl:template name="sect5.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
2932
+ </xsl:template>
2933
+
2934
+ <xsl:template name="sect5.titlepage.before.recto">
2935
+ </xsl:template>
2936
+
2937
+ <xsl:template name="sect5.titlepage.before.verso">
2938
+ </xsl:template>
2939
+
2940
+ <xsl:template name="sect5.titlepage">
2941
+ <div class="titlepage">
2942
+ <xsl:variable name="recto.content">
2943
+ <xsl:call-template name="sect5.titlepage.before.recto"/>
2944
+ <xsl:call-template name="sect5.titlepage.recto"/>
2945
+ </xsl:variable>
2946
+ <xsl:variable name="recto.elements.count">
2947
+ <xsl:choose>
2948
+ <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2949
+ <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2950
+ <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2951
+ <xsl:otherwise>1</xsl:otherwise>
2952
+ </xsl:choose>
2953
+ </xsl:variable>
2954
+ <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
2955
+ <div><xsl:copy-of select="$recto.content"/></div>
2956
+ </xsl:if>
2957
+ <xsl:variable name="verso.content">
2958
+ <xsl:call-template name="sect5.titlepage.before.verso"/>
2959
+ <xsl:call-template name="sect5.titlepage.verso"/>
2960
+ </xsl:variable>
2961
+ <xsl:variable name="verso.elements.count">
2962
+ <xsl:choose>
2963
+ <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2964
+ <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2965
+ <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2966
+ <xsl:otherwise>1</xsl:otherwise>
2967
+ </xsl:choose>
2968
+ </xsl:variable>
2969
+ <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
2970
+ <div><xsl:copy-of select="$verso.content"/></div>
2971
+ </xsl:if>
2972
+ <xsl:call-template name="sect5.titlepage.separator"/>
2973
+ </div>
2974
+ </xsl:template>
2975
+
2976
+ <xsl:template match="*" mode="sect5.titlepage.recto.mode">
2977
+ <!-- if an element isn't found in this mode, -->
2978
+ <!-- try the generic titlepage.mode -->
2979
+ <xsl:apply-templates select="." mode="titlepage.mode"/>
2980
+ </xsl:template>
2981
+
2982
+ <xsl:template match="*" mode="sect5.titlepage.verso.mode">
2983
+ <!-- if an element isn't found in this mode, -->
2984
+ <!-- try the generic titlepage.mode -->
2985
+ <xsl:apply-templates select="." mode="titlepage.mode"/>
2986
+ </xsl:template>
2987
+
2988
+ <xsl:template match="title" mode="sect5.titlepage.recto.auto.mode">
2989
+ <div xsl:use-attribute-sets="sect5.titlepage.recto.style">
2990
+ <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
2991
+ </div>
2992
+ </xsl:template>
2993
+
2994
+ <xsl:template match="subtitle" mode="sect5.titlepage.recto.auto.mode">
2995
+ <div xsl:use-attribute-sets="sect5.titlepage.recto.style">
2996
+ <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
2997
+ </div>
2998
+ </xsl:template>
2999
+
3000
+ <xsl:template match="corpauthor" mode="sect5.titlepage.recto.auto.mode">
3001
+ <div xsl:use-attribute-sets="sect5.titlepage.recto.style">
3002
+ <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3003
+ </div>
3004
+ </xsl:template>
3005
+
3006
+ <xsl:template match="authorgroup" mode="sect5.titlepage.recto.auto.mode">
3007
+ <div xsl:use-attribute-sets="sect5.titlepage.recto.style">
3008
+ <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3009
+ </div>
3010
+ </xsl:template>
3011
+
3012
+ <xsl:template match="author" mode="sect5.titlepage.recto.auto.mode">
3013
+ <div xsl:use-attribute-sets="sect5.titlepage.recto.style">
3014
+ <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3015
+ </div>
3016
+ </xsl:template>
3017
+
3018
+ <xsl:template match="othercredit" mode="sect5.titlepage.recto.auto.mode">
3019
+ <div xsl:use-attribute-sets="sect5.titlepage.recto.style">
3020
+ <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3021
+ </div>
3022
+ </xsl:template>
3023
+
3024
+ <xsl:template match="releaseinfo" mode="sect5.titlepage.recto.auto.mode">
3025
+ <div xsl:use-attribute-sets="sect5.titlepage.recto.style">
3026
+ <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3027
+ </div>
3028
+ </xsl:template>
3029
+
3030
+ <xsl:template match="copyright" mode="sect5.titlepage.recto.auto.mode">
3031
+ <div xsl:use-attribute-sets="sect5.titlepage.recto.style">
3032
+ <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3033
+ </div>
3034
+ </xsl:template>
3035
+
3036
+ <xsl:template match="legalnotice" mode="sect5.titlepage.recto.auto.mode">
3037
+ <div xsl:use-attribute-sets="sect5.titlepage.recto.style">
3038
+ <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3039
+ </div>
3040
+ </xsl:template>
3041
+
3042
+ <xsl:template match="pubdate" mode="sect5.titlepage.recto.auto.mode">
3043
+ <div xsl:use-attribute-sets="sect5.titlepage.recto.style">
3044
+ <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3045
+ </div>
3046
+ </xsl:template>
3047
+
3048
+ <xsl:template match="revision" mode="sect5.titlepage.recto.auto.mode">
3049
+ <div xsl:use-attribute-sets="sect5.titlepage.recto.style">
3050
+ <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3051
+ </div>
3052
+ </xsl:template>
3053
+
3054
+ <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">
3061
+ <div xsl:use-attribute-sets="sect5.titlepage.recto.style">
3062
+ <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3063
+ </div>
3064
+ </xsl:template>
3065
+
3066
+ <xsl:template name="simplesect.titlepage.recto">
3067
+ <xsl:choose>
3068
+ <xsl:when test="simplesectinfo/title">
3069
+ <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/title"/>
3070
+ </xsl:when>
3071
+ <xsl:when test="docinfo/title">
3072
+ <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/title"/>
3073
+ </xsl:when>
3074
+ <xsl:when test="info/title">
3075
+ <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/title"/>
3076
+ </xsl:when>
3077
+ <xsl:when test="title">
3078
+ <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="title"/>
3079
+ </xsl:when>
3080
+ </xsl:choose>
3081
+
3082
+ <xsl:choose>
3083
+ <xsl:when test="simplesectinfo/subtitle">
3084
+ <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/subtitle"/>
3085
+ </xsl:when>
3086
+ <xsl:when test="docinfo/subtitle">
3087
+ <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
3088
+ </xsl:when>
3089
+ <xsl:when test="info/subtitle">
3090
+ <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/subtitle"/>
3091
+ </xsl:when>
3092
+ <xsl:when test="subtitle">
3093
+ <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="subtitle"/>
3094
+ </xsl:when>
3095
+ </xsl:choose>
3096
+
3097
+ <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/corpauthor"/>
3098
+ <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/corpauthor"/>
3099
+ <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/corpauthor"/>
3100
+ <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/authorgroup"/>
3101
+ <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/authorgroup"/>
3102
+ <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/authorgroup"/>
3103
+ <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/author"/>
3104
+ <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/author"/>
3105
+ <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/author"/>
3106
+ <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/othercredit"/>
3107
+ <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/othercredit"/>
3108
+ <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/othercredit"/>
3109
+ <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/releaseinfo"/>
3110
+ <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
3111
+ <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/releaseinfo"/>
3112
+ <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/copyright"/>
3113
+ <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/copyright"/>
3114
+ <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/copyright"/>
3115
+ <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/legalnotice"/>
3116
+ <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/legalnotice"/>
3117
+ <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/legalnotice"/>
3118
+ <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/pubdate"/>
3119
+ <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
3120
+ <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/pubdate"/>
3121
+ <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/revision"/>
3122
+ <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/revision"/>
3123
+ <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/revision"/>
3124
+ <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/revhistory"/>
3125
+ <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
3126
+ <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"/>
3130
+ </xsl:template>
3131
+
3132
+ <xsl:template name="simplesect.titlepage.verso">
3133
+ </xsl:template>
3134
+
3135
+ <xsl:template name="simplesect.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
3136
+ </xsl:template>
3137
+
3138
+ <xsl:template name="simplesect.titlepage.before.recto">
3139
+ </xsl:template>
3140
+
3141
+ <xsl:template name="simplesect.titlepage.before.verso">
3142
+ </xsl:template>
3143
+
3144
+ <xsl:template name="simplesect.titlepage">
3145
+ <div class="titlepage">
3146
+ <xsl:variable name="recto.content">
3147
+ <xsl:call-template name="simplesect.titlepage.before.recto"/>
3148
+ <xsl:call-template name="simplesect.titlepage.recto"/>
3149
+ </xsl:variable>
3150
+ <xsl:variable name="recto.elements.count">
3151
+ <xsl:choose>
3152
+ <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3153
+ <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3154
+ <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3155
+ <xsl:otherwise>1</xsl:otherwise>
3156
+ </xsl:choose>
3157
+ </xsl:variable>
3158
+ <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
3159
+ <div><xsl:copy-of select="$recto.content"/></div>
3160
+ </xsl:if>
3161
+ <xsl:variable name="verso.content">
3162
+ <xsl:call-template name="simplesect.titlepage.before.verso"/>
3163
+ <xsl:call-template name="simplesect.titlepage.verso"/>
3164
+ </xsl:variable>
3165
+ <xsl:variable name="verso.elements.count">
3166
+ <xsl:choose>
3167
+ <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3168
+ <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3169
+ <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3170
+ <xsl:otherwise>1</xsl:otherwise>
3171
+ </xsl:choose>
3172
+ </xsl:variable>
3173
+ <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
3174
+ <div><xsl:copy-of select="$verso.content"/></div>
3175
+ </xsl:if>
3176
+ <xsl:call-template name="simplesect.titlepage.separator"/>
3177
+ </div>
3178
+ </xsl:template>
3179
+
3180
+ <xsl:template match="*" mode="simplesect.titlepage.recto.mode">
3181
+ <!-- if an element isn't found in this mode, -->
3182
+ <!-- try the generic titlepage.mode -->
3183
+ <xsl:apply-templates select="." mode="titlepage.mode"/>
3184
+ </xsl:template>
3185
+
3186
+ <xsl:template match="*" mode="simplesect.titlepage.verso.mode">
3187
+ <!-- if an element isn't found in this mode, -->
3188
+ <!-- try the generic titlepage.mode -->
3189
+ <xsl:apply-templates select="." mode="titlepage.mode"/>
3190
+ </xsl:template>
3191
+
3192
+ <xsl:template match="title" mode="simplesect.titlepage.recto.auto.mode">
3193
+ <div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3194
+ <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3195
+ </div>
3196
+ </xsl:template>
3197
+
3198
+ <xsl:template match="subtitle" mode="simplesect.titlepage.recto.auto.mode">
3199
+ <div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3200
+ <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3201
+ </div>
3202
+ </xsl:template>
3203
+
3204
+ <xsl:template match="corpauthor" mode="simplesect.titlepage.recto.auto.mode">
3205
+ <div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3206
+ <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3207
+ </div>
3208
+ </xsl:template>
3209
+
3210
+ <xsl:template match="authorgroup" mode="simplesect.titlepage.recto.auto.mode">
3211
+ <div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3212
+ <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3213
+ </div>
3214
+ </xsl:template>
3215
+
3216
+ <xsl:template match="author" mode="simplesect.titlepage.recto.auto.mode">
3217
+ <div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3218
+ <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3219
+ </div>
3220
+ </xsl:template>
3221
+
3222
+ <xsl:template match="othercredit" mode="simplesect.titlepage.recto.auto.mode">
3223
+ <div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3224
+ <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3225
+ </div>
3226
+ </xsl:template>
3227
+
3228
+ <xsl:template match="releaseinfo" mode="simplesect.titlepage.recto.auto.mode">
3229
+ <div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3230
+ <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3231
+ </div>
3232
+ </xsl:template>
3233
+
3234
+ <xsl:template match="copyright" mode="simplesect.titlepage.recto.auto.mode">
3235
+ <div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3236
+ <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3237
+ </div>
3238
+ </xsl:template>
3239
+
3240
+ <xsl:template match="legalnotice" mode="simplesect.titlepage.recto.auto.mode">
3241
+ <div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3242
+ <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3243
+ </div>
3244
+ </xsl:template>
3245
+
3246
+ <xsl:template match="pubdate" mode="simplesect.titlepage.recto.auto.mode">
3247
+ <div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3248
+ <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3249
+ </div>
3250
+ </xsl:template>
3251
+
3252
+ <xsl:template match="revision" mode="simplesect.titlepage.recto.auto.mode">
3253
+ <div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3254
+ <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3255
+ </div>
3256
+ </xsl:template>
3257
+
3258
+ <xsl:template match="revhistory" mode="simplesect.titlepage.recto.auto.mode">
3259
+ <div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3260
+ <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3261
+ </div>
3262
+ </xsl:template>
3263
+
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
+
3270
+ <xsl:template name="bibliography.titlepage.recto">
3271
+ <div xsl:use-attribute-sets="bibliography.titlepage.recto.style">
3272
+ <xsl:call-template name="component.title">
3273
+ <xsl:with-param name="node" select="ancestor-or-self::bibliography[1]"/>
3274
+ </xsl:call-template></div>
3275
+ <xsl:choose>
3276
+ <xsl:when test="bibliographyinfo/subtitle">
3277
+ <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="bibliographyinfo/subtitle"/>
3278
+ </xsl:when>
3279
+ <xsl:when test="docinfo/subtitle">
3280
+ <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
3281
+ </xsl:when>
3282
+ <xsl:when test="info/subtitle">
3283
+ <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="info/subtitle"/>
3284
+ </xsl:when>
3285
+ <xsl:when test="subtitle">
3286
+ <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="subtitle"/>
3287
+ </xsl:when>
3288
+ </xsl:choose>
3289
+
3290
+ </xsl:template>
3291
+
3292
+ <xsl:template name="bibliography.titlepage.verso">
3293
+ </xsl:template>
3294
+
3295
+ <xsl:template name="bibliography.titlepage.separator">
3296
+ </xsl:template>
3297
+
3298
+ <xsl:template name="bibliography.titlepage.before.recto">
3299
+ </xsl:template>
3300
+
3301
+ <xsl:template name="bibliography.titlepage.before.verso">
3302
+ </xsl:template>
3303
+
3304
+ <xsl:template name="bibliography.titlepage">
3305
+ <div class="titlepage">
3306
+ <xsl:variable name="recto.content">
3307
+ <xsl:call-template name="bibliography.titlepage.before.recto"/>
3308
+ <xsl:call-template name="bibliography.titlepage.recto"/>
3309
+ </xsl:variable>
3310
+ <xsl:variable name="recto.elements.count">
3311
+ <xsl:choose>
3312
+ <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3313
+ <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3314
+ <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3315
+ <xsl:otherwise>1</xsl:otherwise>
3316
+ </xsl:choose>
3317
+ </xsl:variable>
3318
+ <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
3319
+ <div><xsl:copy-of select="$recto.content"/></div>
3320
+ </xsl:if>
3321
+ <xsl:variable name="verso.content">
3322
+ <xsl:call-template name="bibliography.titlepage.before.verso"/>
3323
+ <xsl:call-template name="bibliography.titlepage.verso"/>
3324
+ </xsl:variable>
3325
+ <xsl:variable name="verso.elements.count">
3326
+ <xsl:choose>
3327
+ <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3328
+ <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3329
+ <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3330
+ <xsl:otherwise>1</xsl:otherwise>
3331
+ </xsl:choose>
3332
+ </xsl:variable>
3333
+ <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
3334
+ <div><xsl:copy-of select="$verso.content"/></div>
3335
+ </xsl:if>
3336
+ <xsl:call-template name="bibliography.titlepage.separator"/>
3337
+ </div>
3338
+ </xsl:template>
3339
+
3340
+ <xsl:template match="*" mode="bibliography.titlepage.recto.mode">
3341
+ <!-- if an element isn't found in this mode, -->
3342
+ <!-- try the generic titlepage.mode -->
3343
+ <xsl:apply-templates select="." mode="titlepage.mode"/>
3344
+ </xsl:template>
3345
+
3346
+ <xsl:template match="*" mode="bibliography.titlepage.verso.mode">
3347
+ <!-- if an element isn't found in this mode, -->
3348
+ <!-- try the generic titlepage.mode -->
3349
+ <xsl:apply-templates select="." mode="titlepage.mode"/>
3350
+ </xsl:template>
3351
+
3352
+ <xsl:template match="subtitle" mode="bibliography.titlepage.recto.auto.mode">
3353
+ <div xsl:use-attribute-sets="bibliography.titlepage.recto.style">
3354
+ <xsl:apply-templates select="." mode="bibliography.titlepage.recto.mode"/>
3355
+ </div>
3356
+ </xsl:template>
3357
+
3358
+ <xsl:template name="glossary.titlepage.recto">
3359
+ <div xsl:use-attribute-sets="glossary.titlepage.recto.style">
3360
+ <xsl:call-template name="component.title">
3361
+ <xsl:with-param name="node" select="ancestor-or-self::glossary[1]"/>
3362
+ </xsl:call-template></div>
3363
+ <xsl:choose>
3364
+ <xsl:when test="glossaryinfo/subtitle">
3365
+ <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="glossaryinfo/subtitle"/>
3366
+ </xsl:when>
3367
+ <xsl:when test="docinfo/subtitle">
3368
+ <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
3369
+ </xsl:when>
3370
+ <xsl:when test="info/subtitle">
3371
+ <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="info/subtitle"/>
3372
+ </xsl:when>
3373
+ <xsl:when test="subtitle">
3374
+ <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="subtitle"/>
3375
+ </xsl:when>
3376
+ </xsl:choose>
3377
+
3378
+ </xsl:template>
3379
+
3380
+ <xsl:template name="glossary.titlepage.verso">
3381
+ </xsl:template>
3382
+
3383
+ <xsl:template name="glossary.titlepage.separator">
3384
+ </xsl:template>
3385
+
3386
+ <xsl:template name="glossary.titlepage.before.recto">
3387
+ </xsl:template>
3388
+
3389
+ <xsl:template name="glossary.titlepage.before.verso">
3390
+ </xsl:template>
3391
+
3392
+ <xsl:template name="glossary.titlepage">
3393
+ <div class="titlepage">
3394
+ <xsl:variable name="recto.content">
3395
+ <xsl:call-template name="glossary.titlepage.before.recto"/>
3396
+ <xsl:call-template name="glossary.titlepage.recto"/>
3397
+ </xsl:variable>
3398
+ <xsl:variable name="recto.elements.count">
3399
+ <xsl:choose>
3400
+ <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3401
+ <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3402
+ <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3403
+ <xsl:otherwise>1</xsl:otherwise>
3404
+ </xsl:choose>
3405
+ </xsl:variable>
3406
+ <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
3407
+ <div><xsl:copy-of select="$recto.content"/></div>
3408
+ </xsl:if>
3409
+ <xsl:variable name="verso.content">
3410
+ <xsl:call-template name="glossary.titlepage.before.verso"/>
3411
+ <xsl:call-template name="glossary.titlepage.verso"/>
3412
+ </xsl:variable>
3413
+ <xsl:variable name="verso.elements.count">
3414
+ <xsl:choose>
3415
+ <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3416
+ <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3417
+ <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3418
+ <xsl:otherwise>1</xsl:otherwise>
3419
+ </xsl:choose>
3420
+ </xsl:variable>
3421
+ <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
3422
+ <div><xsl:copy-of select="$verso.content"/></div>
3423
+ </xsl:if>
3424
+ <xsl:call-template name="glossary.titlepage.separator"/>
3425
+ </div>
3426
+ </xsl:template>
3427
+
3428
+ <xsl:template match="*" mode="glossary.titlepage.recto.mode">
3429
+ <!-- if an element isn't found in this mode, -->
3430
+ <!-- try the generic titlepage.mode -->
3431
+ <xsl:apply-templates select="." mode="titlepage.mode"/>
3432
+ </xsl:template>
3433
+
3434
+ <xsl:template match="*" mode="glossary.titlepage.verso.mode">
3435
+ <!-- if an element isn't found in this mode, -->
3436
+ <!-- try the generic titlepage.mode -->
3437
+ <xsl:apply-templates select="." mode="titlepage.mode"/>
3438
+ </xsl:template>
3439
+
3440
+ <xsl:template match="subtitle" mode="glossary.titlepage.recto.auto.mode">
3441
+ <div xsl:use-attribute-sets="glossary.titlepage.recto.style">
3442
+ <xsl:apply-templates select="." mode="glossary.titlepage.recto.mode"/>
3443
+ </div>
3444
+ </xsl:template>
3445
+
3446
+ <xsl:template name="index.titlepage.recto">
3447
+ <div xsl:use-attribute-sets="index.titlepage.recto.style">
3448
+ <xsl:call-template name="component.title">
3449
+ <xsl:with-param name="node" select="ancestor-or-self::index[1]"/>
3450
+ </xsl:call-template></div>
3451
+ <xsl:choose>
3452
+ <xsl:when test="indexinfo/subtitle">
3453
+ <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="indexinfo/subtitle"/>
3454
+ </xsl:when>
3455
+ <xsl:when test="docinfo/subtitle">
3456
+ <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
3457
+ </xsl:when>
3458
+ <xsl:when test="info/subtitle">
3459
+ <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="info/subtitle"/>
3460
+ </xsl:when>
3461
+ <xsl:when test="subtitle">
3462
+ <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="subtitle"/>
3463
+ </xsl:when>
3464
+ </xsl:choose>
3465
+
3466
+ </xsl:template>
3467
+
3468
+ <xsl:template name="index.titlepage.verso">
3469
+ </xsl:template>
3470
+
3471
+ <xsl:template name="index.titlepage.separator">
3472
+ </xsl:template>
3473
+
3474
+ <xsl:template name="index.titlepage.before.recto">
3475
+ </xsl:template>
3476
+
3477
+ <xsl:template name="index.titlepage.before.verso">
3478
+ </xsl:template>
3479
+
3480
+ <xsl:template name="index.titlepage">
3481
+ <div class="titlepage">
3482
+ <xsl:variable name="recto.content">
3483
+ <xsl:call-template name="index.titlepage.before.recto"/>
3484
+ <xsl:call-template name="index.titlepage.recto"/>
3485
+ </xsl:variable>
3486
+ <xsl:variable name="recto.elements.count">
3487
+ <xsl:choose>
3488
+ <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3489
+ <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3490
+ <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3491
+ <xsl:otherwise>1</xsl:otherwise>
3492
+ </xsl:choose>
3493
+ </xsl:variable>
3494
+ <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
3495
+ <div><xsl:copy-of select="$recto.content"/></div>
3496
+ </xsl:if>
3497
+ <xsl:variable name="verso.content">
3498
+ <xsl:call-template name="index.titlepage.before.verso"/>
3499
+ <xsl:call-template name="index.titlepage.verso"/>
3500
+ </xsl:variable>
3501
+ <xsl:variable name="verso.elements.count">
3502
+ <xsl:choose>
3503
+ <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3504
+ <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3505
+ <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3506
+ <xsl:otherwise>1</xsl:otherwise>
3507
+ </xsl:choose>
3508
+ </xsl:variable>
3509
+ <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
3510
+ <div><xsl:copy-of select="$verso.content"/></div>
3511
+ </xsl:if>
3512
+ <xsl:call-template name="index.titlepage.separator"/>
3513
+ </div>
3514
+ </xsl:template>
3515
+
3516
+ <xsl:template match="*" mode="index.titlepage.recto.mode">
3517
+ <!-- if an element isn't found in this mode, -->
3518
+ <!-- try the generic titlepage.mode -->
3519
+ <xsl:apply-templates select="." mode="titlepage.mode"/>
3520
+ </xsl:template>
3521
+
3522
+ <xsl:template match="*" mode="index.titlepage.verso.mode">
3523
+ <!-- if an element isn't found in this mode, -->
3524
+ <!-- try the generic titlepage.mode -->
3525
+ <xsl:apply-templates select="." mode="titlepage.mode"/>
3526
+ </xsl:template>
3527
+
3528
+ <xsl:template match="subtitle" mode="index.titlepage.recto.auto.mode">
3529
+ <div xsl:use-attribute-sets="index.titlepage.recto.style">
3530
+ <xsl:apply-templates select="." mode="index.titlepage.recto.mode"/>
3531
+ </div>
3532
+ </xsl:template>
3533
+
3534
+ <xsl:template name="setindex.titlepage.recto">
3535
+ <div xsl:use-attribute-sets="setindex.titlepage.recto.style">
3536
+ <xsl:call-template name="component.title">
3537
+ <xsl:with-param name="node" select="ancestor-or-self::setindex[1]"/>
3538
+ </xsl:call-template></div>
3539
+ <xsl:choose>
3540
+ <xsl:when test="setindexinfo/subtitle">
3541
+ <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="setindexinfo/subtitle"/>
3542
+ </xsl:when>
3543
+ <xsl:when test="docinfo/subtitle">
3544
+ <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
3545
+ </xsl:when>
3546
+ <xsl:when test="info/subtitle">
3547
+ <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="info/subtitle"/>
3548
+ </xsl:when>
3549
+ <xsl:when test="subtitle">
3550
+ <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="subtitle"/>
3551
+ </xsl:when>
3552
+ </xsl:choose>
3553
+
3554
+ </xsl:template>
3555
+
3556
+ <xsl:template name="setindex.titlepage.verso">
3557
+ </xsl:template>
3558
+
3559
+ <xsl:template name="setindex.titlepage.separator">
3560
+ </xsl:template>
3561
+
3562
+ <xsl:template name="setindex.titlepage.before.recto">
3563
+ </xsl:template>
3564
+
3565
+ <xsl:template name="setindex.titlepage.before.verso">
3566
+ </xsl:template>
3567
+
3568
+ <xsl:template name="setindex.titlepage">
3569
+ <div class="titlepage">
3570
+ <xsl:variable name="recto.content">
3571
+ <xsl:call-template name="setindex.titlepage.before.recto"/>
3572
+ <xsl:call-template name="setindex.titlepage.recto"/>
3573
+ </xsl:variable>
3574
+ <xsl:variable name="recto.elements.count">
3575
+ <xsl:choose>
3576
+ <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3577
+ <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3578
+ <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3579
+ <xsl:otherwise>1</xsl:otherwise>
3580
+ </xsl:choose>
3581
+ </xsl:variable>
3582
+ <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
3583
+ <div><xsl:copy-of select="$recto.content"/></div>
3584
+ </xsl:if>
3585
+ <xsl:variable name="verso.content">
3586
+ <xsl:call-template name="setindex.titlepage.before.verso"/>
3587
+ <xsl:call-template name="setindex.titlepage.verso"/>
3588
+ </xsl:variable>
3589
+ <xsl:variable name="verso.elements.count">
3590
+ <xsl:choose>
3591
+ <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3592
+ <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3593
+ <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3594
+ <xsl:otherwise>1</xsl:otherwise>
3595
+ </xsl:choose>
3596
+ </xsl:variable>
3597
+ <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
3598
+ <div><xsl:copy-of select="$verso.content"/></div>
3599
+ </xsl:if>
3600
+ <xsl:call-template name="setindex.titlepage.separator"/>
3601
+ </div>
3602
+ </xsl:template>
3603
+
3604
+ <xsl:template match="*" mode="setindex.titlepage.recto.mode">
3605
+ <!-- if an element isn't found in this mode, -->
3606
+ <!-- try the generic titlepage.mode -->
3607
+ <xsl:apply-templates select="." mode="titlepage.mode"/>
3608
+ </xsl:template>
3609
+
3610
+ <xsl:template match="*" mode="setindex.titlepage.verso.mode">
3611
+ <!-- if an element isn't found in this mode, -->
3612
+ <!-- try the generic titlepage.mode -->
3613
+ <xsl:apply-templates select="." mode="titlepage.mode"/>
3614
+ </xsl:template>
3615
+
3616
+ <xsl:template match="subtitle" mode="setindex.titlepage.recto.auto.mode">
3617
+ <div xsl:use-attribute-sets="setindex.titlepage.recto.style">
3618
+ <xsl:apply-templates select="." mode="setindex.titlepage.recto.mode"/>
3619
+ </div>
3620
+ </xsl:template>
3621
+
3622
+ </xsl:stylesheet>