profile-docbook.xsl 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503
  1. <?xml version="1.0" encoding="ASCII"?>
  2. <!--This file was created automatically by html2xhtml-->
  3. <!--from the HTML stylesheets.-->
  4. <!--This file was created automatically by xsl2profile-->
  5. <!--from the DocBook XSL stylesheets.-->
  6. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ng="http://docbook.org/docbook-ng" xmlns:db="http://docbook.org/ns/docbook" xmlns:exsl="http://exslt.org/common" xmlns:exslt="http://exslt.org/common" xmlns="http://www.w3.org/1999/xhtml" exslt:dummy="dummy" ng:dummy="dummy" db:dummy="dummy" extension-element-prefixes="exslt" exclude-result-prefixes="db ng exsl exslt exslt" version="1.0">
  7. <xsl:output method="xml" encoding="UTF-8" indent="no" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
  8. <!-- ********************************************************************
  9. $Id: docbook.xsl 9605 2012-09-18 10:48:54Z tom_schr $
  10. ********************************************************************
  11. This file is part of the XSL DocBook Stylesheet distribution.
  12. See ../README or http://docbook.sf.net/release/xsl/current/ for
  13. copyright and other information.
  14. ******************************************************************** -->
  15. <!-- ==================================================================== -->
  16. <xsl:include href="../VERSION.xsl"/>
  17. <xsl:include href="param.xsl"/>
  18. <xsl:include href="../lib/lib.xsl"/>
  19. <xsl:include href="../common/l10n.xsl"/>
  20. <xsl:include href="../common/common.xsl"/>
  21. <xsl:include href="../common/utility.xsl"/>
  22. <xsl:include href="../common/labels.xsl"/>
  23. <xsl:include href="../common/titles.xsl"/>
  24. <xsl:include href="../common/subtitles.xsl"/>
  25. <xsl:include href="../common/gentext.xsl"/>
  26. <xsl:include href="../common/targets.xsl"/>
  27. <xsl:include href="../common/olink.xsl"/>
  28. <xsl:include href="../common/pi.xsl"/>
  29. <xsl:include href="autotoc.xsl"/>
  30. <xsl:include href="autoidx.xsl"/>
  31. <xsl:include href="lists.xsl"/>
  32. <xsl:include href="callout.xsl"/>
  33. <xsl:include href="verbatim.xsl"/>
  34. <xsl:include href="graphics.xsl"/>
  35. <xsl:include href="xref.xsl"/>
  36. <xsl:include href="formal.xsl"/>
  37. <xsl:include href="table.xsl"/>
  38. <xsl:include href="htmltbl.xsl"/>
  39. <xsl:include href="sections.xsl"/>
  40. <xsl:include href="inline.xsl"/>
  41. <xsl:include href="footnote.xsl"/>
  42. <xsl:include href="html.xsl"/>
  43. <xsl:include href="info.xsl"/>
  44. <xsl:include href="keywords.xsl"/>
  45. <xsl:include href="division.xsl"/>
  46. <xsl:include href="toc.xsl"/>
  47. <xsl:include href="index.xsl"/>
  48. <xsl:include href="refentry.xsl"/>
  49. <xsl:include href="math.xsl"/>
  50. <xsl:include href="admon.xsl"/>
  51. <xsl:include href="component.xsl"/>
  52. <xsl:include href="biblio.xsl"/>
  53. <xsl:include href="biblio-iso690.xsl"/>
  54. <xsl:include href="glossary.xsl"/>
  55. <xsl:include href="block.xsl"/>
  56. <xsl:include href="task.xsl"/>
  57. <xsl:include href="qandaset.xsl"/>
  58. <xsl:include href="synop.xsl"/>
  59. <xsl:include href="titlepage.xsl"/>
  60. <xsl:include href="titlepage.templates.xsl"/>
  61. <xsl:include href="pi.xsl"/>
  62. <xsl:include href="ebnf.xsl"/>
  63. <xsl:include href="chunker.xsl"/>
  64. <xsl:include href="html-rtf.xsl"/>
  65. <xsl:include href="annotations.xsl"/>
  66. <xsl:include href="../common/stripns.xsl"/>
  67. <xsl:param name="stylesheet.result.type" select="'xhtml'"/>
  68. <xsl:param name="htmlhelp.output" select="0"/>
  69. <!-- ==================================================================== -->
  70. <xsl:key name="id" match="*" use="@id|@xml:id"/>
  71. <xsl:key name="gid" match="*" use="generate-id()"/>
  72. <!-- ==================================================================== -->
  73. <xsl:template match="*">
  74. <xsl:message>
  75. <xsl:text>Element </xsl:text>
  76. <xsl:value-of select="local-name(.)"/>
  77. <xsl:text> in namespace '</xsl:text>
  78. <xsl:value-of select="namespace-uri(.)"/>
  79. <xsl:text>' encountered</xsl:text>
  80. <xsl:if test="parent::*">
  81. <xsl:text> in </xsl:text>
  82. <xsl:value-of select="name(parent::*)"/>
  83. </xsl:if>
  84. <xsl:text>, but no template matches.</xsl:text>
  85. </xsl:message>
  86. <span style="color: red">
  87. <xsl:text>&lt;</xsl:text>
  88. <xsl:value-of select="name(.)"/>
  89. <xsl:text>&gt;</xsl:text>
  90. <xsl:apply-templates/>
  91. <xsl:text>&lt;/</xsl:text>
  92. <xsl:value-of select="name(.)"/>
  93. <xsl:text>&gt;</xsl:text>
  94. </span>
  95. </xsl:template>
  96. <xsl:template match="text()">
  97. <xsl:value-of select="."/>
  98. </xsl:template>
  99. <xsl:template name="body.attributes"><xslo:if xmlns:xslo="http://www.w3.org/1999/XSL/Transform" test="starts-with($writing.mode, 'rl')"><xslo:attribute name="dir">rtl</xslo:attribute></xslo:if>
  100. <!-- no apply-templates; make it empty except for dir for rtl-->
  101. </xsl:template>
  102. <xsl:template name="head.content.base">
  103. <xsl:param name="node" select="."/>
  104. <base href="{$html.base}"/>
  105. </xsl:template>
  106. <xsl:template name="head.content.abstract">
  107. <xsl:param name="node" select="."/>
  108. <xsl:variable name="info" select="(articleinfo |bookinfo |prefaceinfo |chapterinfo |appendixinfo |sectioninfo |sect1info |sect2info |sect3info |sect4info |sect5info |referenceinfo |refentryinfo |partinfo |info |docinfo)[1]"/>
  109. <xsl:if test="$info and $info/abstract">
  110. <meta name="description">
  111. <xsl:attribute name="content">
  112. <xsl:for-each select="$info/abstract[1]/*">
  113. <xsl:value-of select="normalize-space(.)"/>
  114. <xsl:if test="position() &lt; last()">
  115. <xsl:text> </xsl:text>
  116. </xsl:if>
  117. </xsl:for-each>
  118. </xsl:attribute>
  119. </meta>
  120. </xsl:if>
  121. </xsl:template>
  122. <xsl:template name="head.content.link.made">
  123. <xsl:param name="node" select="."/>
  124. <link rev="made" href="{$link.mailto.url}"/>
  125. </xsl:template>
  126. <xsl:template name="head.content.generator">
  127. <xsl:param name="node" select="."/>
  128. <meta name="generator" content="DocBook {$DistroTitle} V{$VERSION}"/>
  129. </xsl:template>
  130. <xsl:template name="head.content.style">
  131. <xsl:param name="node" select="."/>
  132. <style type="text/css"><xsl:text>
  133. body { background-image: url('</xsl:text>
  134. <xsl:value-of select="$draft.watermark.image"/><xsl:text>');
  135. background-repeat: no-repeat;
  136. background-position: top left;
  137. /* The following properties make the watermark "fixed" on the page. */
  138. /* I think that's just a bit too distracting for the reader... */
  139. /* background-attachment: fixed; */
  140. /* background-position: center center; */
  141. }</xsl:text>
  142. </style>
  143. </xsl:template>
  144. <xsl:template name="head.content">
  145. <xsl:param name="node" select="."/>
  146. <xsl:param name="title">
  147. <xsl:apply-templates select="$node" mode="object.title.markup.textonly"/>
  148. </xsl:param>
  149. <xsl:call-template name="user.head.title">
  150. <xsl:with-param name="title" select="$title"/>
  151. <xsl:with-param name="node" select="$node"/>
  152. </xsl:call-template>
  153. <xsl:if test="$html.base != ''">
  154. <xsl:call-template name="head.content.base">
  155. <xsl:with-param name="node" select="$node"/>
  156. </xsl:call-template>
  157. </xsl:if>
  158. <!-- Insert links to CSS files or insert literal style elements -->
  159. <xsl:call-template name="generate.css"/>
  160. <xsl:if test="$html.stylesheet != ''">
  161. <xsl:call-template name="output.html.stylesheets">
  162. <xsl:with-param name="stylesheets" select="normalize-space($html.stylesheet)"/>
  163. </xsl:call-template>
  164. </xsl:if>
  165. <xsl:if test="$html.script != ''">
  166. <xsl:call-template name="output.html.scripts">
  167. <xsl:with-param name="scripts" select="normalize-space($html.script)"/>
  168. </xsl:call-template>
  169. </xsl:if>
  170. <xsl:if test="$link.mailto.url != ''">
  171. <xsl:call-template name="head.content.link.made">
  172. <xsl:with-param name="node" select="$node"/>
  173. </xsl:call-template>
  174. </xsl:if>
  175. <xsl:call-template name="head.content.generator">
  176. <xsl:with-param name="node" select="$node"/>
  177. </xsl:call-template>
  178. <xsl:if test="$generate.meta.abstract != 0">
  179. <xsl:call-template name="head.content.abstract">
  180. <xsl:with-param name="node" select="$node"/>
  181. </xsl:call-template>
  182. </xsl:if>
  183. <xsl:if test="($draft.mode = 'yes' or ($draft.mode = 'maybe' and ancestor-or-self::*[@status][1]/@status = 'draft')) and $draft.watermark.image != ''">
  184. <xsl:call-template name="head.content.style">
  185. <xsl:with-param name="node" select="$node"/>
  186. </xsl:call-template>
  187. </xsl:if>
  188. <xsl:apply-templates select="." mode="head.keywords.content"/>
  189. </xsl:template>
  190. <xsl:template name="output.html.stylesheets">
  191. <xsl:param name="stylesheets" select="''"/>
  192. <xsl:choose>
  193. <xsl:when test="contains($stylesheets, ' ')">
  194. <xsl:variable name="css.filename" select="substring-before($stylesheets, ' ')"/>
  195. <xsl:call-template name="make.css.link">
  196. <xsl:with-param name="css.filename" select="$css.filename"/>
  197. </xsl:call-template>
  198. <xsl:call-template name="output.html.stylesheets">
  199. <xsl:with-param name="stylesheets" select="substring-after($stylesheets, ' ')"/>
  200. </xsl:call-template>
  201. </xsl:when>
  202. <xsl:when test="$stylesheets != ''">
  203. <xsl:call-template name="make.css.link">
  204. <xsl:with-param name="css.filename" select="$stylesheets"/>
  205. </xsl:call-template>
  206. </xsl:when>
  207. </xsl:choose>
  208. </xsl:template>
  209. <xsl:template name="output.html.scripts">
  210. <xsl:param name="scripts" select="''"/>
  211. <xsl:choose>
  212. <xsl:when test="contains($scripts, ' ')">
  213. <xsl:variable name="script.filename" select="substring-before($scripts, ' ')"/>
  214. <xsl:call-template name="make.script.link">
  215. <xsl:with-param name="script.filename" select="$script.filename"/>
  216. </xsl:call-template>
  217. <xsl:call-template name="output.html.scripts">
  218. <xsl:with-param name="scripts" select="substring-after($scripts, ' ')"/>
  219. </xsl:call-template>
  220. </xsl:when>
  221. <xsl:when test="$scripts != ''">
  222. <xsl:call-template name="make.script.link">
  223. <xsl:with-param name="script.filename" select="$scripts"/>
  224. </xsl:call-template>
  225. </xsl:when>
  226. </xsl:choose>
  227. </xsl:template>
  228. <!-- ============================================================ -->
  229. <xsl:template match="*" mode="head.keywords.content">
  230. <xsl:apply-templates select="chapterinfo/keywordset" mode="html.header"/>
  231. <xsl:apply-templates select="appendixinfo/keywordset" mode="html.header"/>
  232. <xsl:apply-templates select="prefaceinfo/keywordset" mode="html.header"/>
  233. <xsl:apply-templates select="bookinfo/keywordset" mode="html.header"/>
  234. <xsl:apply-templates select="setinfo/keywordset" mode="html.header"/>
  235. <xsl:apply-templates select="articleinfo/keywordset" mode="html.header"/>
  236. <xsl:apply-templates select="artheader/keywordset" mode="html.header"/>
  237. <xsl:apply-templates select="sect1info/keywordset" mode="html.header"/>
  238. <xsl:apply-templates select="sect2info/keywordset" mode="html.header"/>
  239. <xsl:apply-templates select="sect3info/keywordset" mode="html.header"/>
  240. <xsl:apply-templates select="sect4info/keywordset" mode="html.header"/>
  241. <xsl:apply-templates select="sect5info/keywordset" mode="html.header"/>
  242. <xsl:apply-templates select="sectioninfo/keywordset" mode="html.header"/>
  243. <xsl:apply-templates select="refsect1info/keywordset" mode="html.header"/>
  244. <xsl:apply-templates select="refsect2info/keywordset" mode="html.header"/>
  245. <xsl:apply-templates select="refsect3info/keywordset" mode="html.header"/>
  246. <xsl:apply-templates select="bibliographyinfo/keywordset" mode="html.header"/>
  247. <xsl:apply-templates select="glossaryinfo/keywordset" mode="html.header"/>
  248. <xsl:apply-templates select="indexinfo/keywordset" mode="html.header"/>
  249. <xsl:apply-templates select="refentryinfo/keywordset" mode="html.header"/>
  250. <xsl:apply-templates select="partinfo/keywordset" mode="html.header"/>
  251. <xsl:apply-templates select="referenceinfo/keywordset" mode="html.header"/>
  252. <xsl:apply-templates select="docinfo/keywordset" mode="html.header"/>
  253. <xsl:apply-templates select="info/keywordset" mode="html.header"/>
  254. <xsl:if test="$inherit.keywords != 0 and parent::*">
  255. <xsl:apply-templates select="parent::*" mode="head.keywords.content"/>
  256. </xsl:if>
  257. </xsl:template>
  258. <!-- ============================================================ -->
  259. <xsl:template name="system.head.content">
  260. <xsl:param name="node" select="."/>
  261. <!-- FIXME: When chunking, only the annotations actually used
  262. in this chunk should be referenced. I don't think it
  263. does any harm to reference them all, but it adds
  264. unnecessary bloat to each chunk. -->
  265. <xsl:if test="$annotation.support != 0 and //annotation">
  266. <xsl:call-template name="add.annotation.links"/>
  267. <script type="text/javascript">
  268. <xsl:text>
  269. // Create PopupWindow objects</xsl:text>
  270. <xsl:for-each select="//annotation">
  271. <xsl:text>
  272. var popup_</xsl:text>
  273. <xsl:value-of select="generate-id(.)"/>
  274. <xsl:text> = new PopupWindow("popup-</xsl:text>
  275. <xsl:value-of select="generate-id(.)"/>
  276. <xsl:text>");
  277. </xsl:text>
  278. <xsl:text>popup_</xsl:text>
  279. <xsl:value-of select="generate-id(.)"/>
  280. <xsl:text>.offsetY = 15;
  281. </xsl:text>
  282. <xsl:text>popup_</xsl:text>
  283. <xsl:value-of select="generate-id(.)"/>
  284. <xsl:text>.autoHide();
  285. </xsl:text>
  286. </xsl:for-each>
  287. </script>
  288. <style type="text/css">
  289. <xsl:value-of select="$annotation.css"/>
  290. </style>
  291. </xsl:if>
  292. <!-- system.head.content is like user.head.content, except that
  293. it is called before head.content. This is important because it
  294. means, for example, that <style> elements output by system.head.content
  295. have a lower CSS precedence than the users stylesheet. -->
  296. </xsl:template>
  297. <!-- ============================================================ -->
  298. <xsl:template name="user.preroot">
  299. <!-- Pre-root output, can be used to output comments and PIs. -->
  300. <!-- This must not output any element content! -->
  301. </xsl:template>
  302. <xsl:template name="user.head.title">
  303. <xsl:param name="node" select="."/>
  304. <xsl:param name="title"/>
  305. <title>
  306. <xsl:copy-of select="$title"/>
  307. </title>
  308. </xsl:template>
  309. <xsl:template name="user.head.content">
  310. <xsl:param name="node" select="."/>
  311. </xsl:template>
  312. <xsl:template name="user.header.navigation">
  313. <xsl:param name="node" select="."/>
  314. <xsl:param name="prev" select="/foo"/>
  315. <xsl:param name="next" select="/foo"/>
  316. <xsl:param name="nav.context"/>
  317. </xsl:template>
  318. <xsl:template name="user.header.content">
  319. <xsl:param name="node" select="."/>
  320. </xsl:template>
  321. <xsl:template name="user.footer.content">
  322. <xsl:param name="node" select="."/>
  323. </xsl:template>
  324. <xsl:template name="user.footer.navigation">
  325. <xsl:param name="node" select="."/>
  326. <xsl:param name="prev" select="/foo"/>
  327. <xsl:param name="next" select="/foo"/>
  328. <xsl:param name="nav.context"/>
  329. </xsl:template>
  330. <!-- To use the same stripped nodeset everywhere, it should
  331. be created as a global variable here.
  332. Used by docbook.xsl, chunk-code.xsl and chunkfast.xsl -->
  333. <xsl:variable name="no.namespace">
  334. <xsl:if test="$exsl.node.set.available != 0 and (*/self::ng:* or */self::db:*)">
  335. <xsl:apply-templates select="/*" mode="stripNS"/>
  336. </xsl:if>
  337. </xsl:variable>
  338. <xslo:include xmlns:xslo="http://www.w3.org/1999/XSL/Transform" href="../profiling/profile-mode.xsl"/><xslo:variable xmlns:xslo="http://www.w3.org/1999/XSL/Transform" name="profiled-content"><xslo:choose><xslo:when test="*/self::ng:* or */self::db:*"><xslo:message>Note: namesp. cut : stripped namespace before processing</xslo:message><xslo:variable name="stripped-content"><xslo:apply-templates select="/" mode="stripNS"/></xslo:variable><xslo:message>Note: namesp. cut : processing stripped document</xslo:message><xslo:apply-templates select="exslt:node-set($stripped-content)" mode="profile"/></xslo:when><xslo:otherwise><xslo:apply-templates select="/" mode="profile"/></xslo:otherwise></xslo:choose></xslo:variable><xslo:variable xmlns:xslo="http://www.w3.org/1999/XSL/Transform" name="profiled-nodes" select="exslt:node-set($profiled-content)"/><xsl:template match="/">
  339. <!-- * Get a title for current doc so that we let the user -->
  340. <!-- * know what document we are processing at this point. -->
  341. <xsl:variable name="doc.title">
  342. <xsl:call-template name="get.doc.title"/>
  343. </xsl:variable>
  344. <xsl:choose>
  345. <!-- Hack! If someone hands us a DocBook V5.x or DocBook NG document,
  346. toss the namespace and continue. Use the docbook5 namespaced
  347. stylesheets for DocBook5 if you don't want to use this feature.-->
  348. <!-- include extra test for Xalan quirk -->
  349. <xsl:when test="false()"/>
  350. <!-- Can't process unless namespace removed -->
  351. <xsl:when test="false()"/>
  352. <xsl:otherwise>
  353. <xsl:choose>
  354. <xsl:when test="$rootid != ''">
  355. <xsl:choose>
  356. <xsl:when test="count($profiled-nodes//*[@id=$rootid or @xml:id=$rootid]) = 0">
  357. <xsl:message terminate="yes">
  358. <xsl:text>ID '</xsl:text>
  359. <xsl:value-of select="$rootid"/>
  360. <xsl:text>' not found in document.</xsl:text>
  361. </xsl:message>
  362. </xsl:when>
  363. <xsl:otherwise>
  364. <xsl:if test="$collect.xref.targets = 'yes' or $collect.xref.targets = 'only'">
  365. <xsl:apply-templates select="key('id', $rootid)" mode="collect.targets"/>
  366. </xsl:if>
  367. <xsl:if test="$collect.xref.targets != 'only'">
  368. <xsl:apply-templates select="$profiled-nodes//*[@id=$rootid or @xml:id=$rootid]" mode="process.root"/>
  369. <xsl:if test="$tex.math.in.alt != ''">
  370. <xsl:apply-templates select="$profiled-nodes//*[@id=$rootid or @xml:id=$rootid]" mode="collect.tex.math"/>
  371. </xsl:if>
  372. </xsl:if>
  373. </xsl:otherwise>
  374. </xsl:choose>
  375. </xsl:when>
  376. <xsl:otherwise>
  377. <xsl:if test="$collect.xref.targets = 'yes' or $collect.xref.targets = 'only'">
  378. <xsl:apply-templates select="$profiled-nodes" mode="collect.targets"/>
  379. </xsl:if>
  380. <xsl:if test="$collect.xref.targets != 'only'">
  381. <xsl:apply-templates select="$profiled-nodes" mode="process.root"/>
  382. <xsl:if test="$tex.math.in.alt != ''">
  383. <xsl:apply-templates select="$profiled-nodes" mode="collect.tex.math"/>
  384. </xsl:if>
  385. </xsl:if>
  386. </xsl:otherwise>
  387. </xsl:choose>
  388. </xsl:otherwise>
  389. </xsl:choose>
  390. </xsl:template>
  391. <xsl:template match="*" mode="process.root">
  392. <xsl:variable name="doc" select="self::*"/>
  393. <xsl:call-template name="user.preroot"/>
  394. <xsl:call-template name="root.messages"/>
  395. <html>
  396. <xsl:call-template name="root.attributes"/>
  397. <head>
  398. <xsl:call-template name="system.head.content">
  399. <xsl:with-param name="node" select="$doc"/>
  400. </xsl:call-template>
  401. <xsl:call-template name="head.content">
  402. <xsl:with-param name="node" select="$doc"/>
  403. </xsl:call-template>
  404. <xsl:call-template name="user.head.content">
  405. <xsl:with-param name="node" select="$doc"/>
  406. </xsl:call-template>
  407. </head>
  408. <body>
  409. <xsl:call-template name="body.attributes"/>
  410. <xsl:call-template name="user.header.content">
  411. <xsl:with-param name="node" select="$doc"/>
  412. </xsl:call-template>
  413. <xsl:apply-templates select="."/>
  414. <xsl:call-template name="user.footer.content">
  415. <xsl:with-param name="node" select="$doc"/>
  416. </xsl:call-template>
  417. </body>
  418. </html>
  419. <xsl:value-of select="$html.append"/>
  420. <!-- Generate any css files only once, not once per chunk -->
  421. <xsl:call-template name="generate.css.files"/>
  422. </xsl:template>
  423. <xsl:template name="root.attributes">
  424. <!-- customize to add attributes to <html> element -->
  425. </xsl:template>
  426. <xsl:template name="root.messages">
  427. <!-- redefine this any way you'd like to output messages -->
  428. <!-- DO NOT OUTPUT ANYTHING FROM THIS TEMPLATE -->
  429. </xsl:template>
  430. <!-- ==================================================================== -->
  431. <xsl:template name="chunk">
  432. <xsl:param name="node" select="."/>
  433. <!-- The default is that we are not chunking... -->
  434. <xsl:text>0</xsl:text>
  435. </xsl:template>
  436. </xsl:stylesheet>