]> git.lyx.org Git - lyx.git/blob - lib/docbook/xhtml/onechunk.xsl
Release notes
[lyx.git] / lib / docbook / xhtml / onechunk.xsl
1 <?xml version="1.0" encoding="ASCII"?><!--This file was created automatically by html2xhtml--><!--from the HTML stylesheets.--><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:d="http://docbook.org/ns/docbook" xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" xmlns="http://www.w3.org/1999/xhtml" version="1.0" exclude-result-prefixes="doc d">
2
3 <!-- ********************************************************************
4
5      This file is part of the XSL DocBook Stylesheet distribution.
6      See ../README or http://cdn.docbook.org/release/xsl/current/ for
7      copyright and other information.
8
9      ******************************************************************** -->
10
11 <!-- ==================================================================== -->
12
13 <xsl:import href="chunk.xsl"/>
14
15 <!-- Ok, using the onechunk parameter makes this all work again. -->
16 <!-- It does have the disadvantage that it only works for documents that have -->
17 <!-- a root element that is considered a chunk by the chunk.xsl stylesheet. -->
18 <!-- Ideally, onechunk would let anything be a chunk. But not today. -->
19
20 <xsl:param name="onechunk" select="1"/>
21 <xsl:param name="suppress.navigation">1</xsl:param>
22
23 <xsl:template name="href.target.uri">
24   <xsl:param name="object" select="."/>
25   <xsl:text>#</xsl:text>
26   <xsl:call-template name="object.id">
27     <xsl:with-param name="object" select="$object"/>
28   </xsl:call-template>
29 </xsl:template>
30
31 </xsl:stylesheet>