| 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" |
| 5 |
xmlns:d="http://docbook.org/ns/docbook" |
| 6 |
xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" |
| 7 |
xmlns="http://www.w3.org/1999/xhtml" |
| 8 |
version="1.0" |
| 9 |
exclude-result-prefixes="doc d"> |
| 10 |
|
| 11 |
<!-- ******************************************************************** |
| 12 |
|
| 13 |
This file is part of the XSL DocBook Stylesheet distribution. |
| 14 |
See ../README or http://cdn.docbook.org/release/xsl/current/ for |
| 15 |
copyright and other information. |
| 16 |
|
| 17 |
******************************************************************** --> |
| 18 |
|
| 19 |
<!-- ==================================================================== --> |
| 20 |
|
| 21 |
<xsl:import href="chunk.xsl"/> |
| 22 |
|
| 23 |
<!-- Ok, using the onechunk parameter makes this all work again. --> |
| 24 |
<!-- It does have the disadvantage that it only works for documents that have --> |
| 25 |
<!-- a root element that is considered a chunk by the chunk.xsl stylesheet. --> |
| 26 |
<!-- Ideally, onechunk would let anything be a chunk. But not today. --> |
| 27 |
|
| 28 |
<xsl:param name="onechunk" select="1"/> |
| 29 |
<xsl:param name="suppress.navigation">1</xsl:param> |
| 30 |
|
| 31 |
<xsl:template name="href.target.uri"> |
| 32 |
<xsl:param name="object" select="."/> |
| 33 |
<xsl:text>#</xsl:text> |
| 34 |
<xsl:call-template name="object.id"> |
| 35 |
<xsl:with-param name="object" select="$object"/> |
| 36 |
</xsl:call-template> |
| 37 |
</xsl:template> |
| 38 |
|
| 39 |
</xsl:stylesheet> |