source: stylesheets/lfs-xsl/docbook-xsl-1.78.1/html/onechunk.xsl@ c158fe6

7.5-systemd 7.6-systemd 7.7-systemd 7.8-systemd 7.9-systemd
Last change on this file since c158fe6 was b1a51ac1, checked in by Krejzi <krejzi@…>, 11 years ago

Import new branch

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

  • Property mode set to 100644
File size: 1.4 KB
Line 
1<?xml version="1.0"?>
2<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3 xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
4 version="1.0"
5 exclude-result-prefixes="doc">
6
7<!-- ********************************************************************
8 $Id: onechunk.xsl 6910 2007-06-28 23:23:30Z xmldoc $
9 ********************************************************************
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
17<!-- ==================================================================== -->
18
19<xsl:import href="chunk.xsl"/>
20
21<!-- Ok, using the onechunk parameter makes this all work again. -->
22<!-- It does have the disadvantage that it only works for documents that have -->
23<!-- a root element that is considered a chunk by the chunk.xsl stylesheet. -->
24<!-- Ideally, onechunk would let anything be a chunk. But not today. -->
25
26<xsl:param name="onechunk" select="1"/>
27<xsl:param name="suppress.navigation">1</xsl:param>
28
29<xsl:template name="href.target.uri">
30 <xsl:param name="object" select="."/>
31 <xsl:text>#</xsl:text>
32 <xsl:call-template name="object.id">
33 <xsl:with-param name="object" select="$object"/>
34 </xsl:call-template>
35</xsl:template>
36
37</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.