source: stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/profile-onechunk.xsl@ 1fa2099

multilib-10.1
Last change on this file since 1fa2099 was 1fa2099, checked in by Thomas Trepl <thomas@…>, 5 years ago

Initial creation of multilib branch

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

  • Property mode set to 100644
File size: 1.8 KB
Line 
1<?xml version="1.0" encoding="US-ASCII"?>
2<!--This file was created automatically by xsl2profile-->
3<!--from the DocBook XSL stylesheets.-->
4<!--This file was created automatically by html2xhtml-->
5<!--from the HTML stylesheets.-->
6<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" xmlns="http://www.w3.org/1999/xhtml" xmlns:exslt="http://exslt.org/common" xmlns:ng="http://docbook.org/docbook-ng" xmlns:db="http://docbook.org/ns/docbook" exslt:dummy="dummy" ng:dummy="dummy" db:dummy="dummy" extension-element-prefixes="exslt" version="1.0" exclude-result-prefixes="doc exslt">
7
8<!-- ********************************************************************
9 $Id: onechunk.xsl 6910 2007-06-28 23:23:30Z xmldoc $
10 ********************************************************************
11
12 This file is part of the XSL DocBook Stylesheet distribution.
13 See ../README or http://docbook.sf.net/release/xsl/current/ for
14 copyright and other information.
15
16 ******************************************************************** -->
17
18<!-- ==================================================================== -->
19
20<xsl:import href="chunk.xsl"/>
21
22<!-- Ok, using the onechunk parameter makes this all work again. -->
23<!-- It does have the disadvantage that it only works for documents that have -->
24<!-- a root element that is considered a chunk by the chunk.xsl stylesheet. -->
25<!-- Ideally, onechunk would let anything be a chunk. But not today. -->
26
27<xsl:param name="onechunk" select="1"/>
28<xsl:param name="suppress.navigation">1</xsl:param>
29
30<xsl:template name="href.target.uri">
31 <xsl:param name="object" select="."/>
32 <xsl:text>#</xsl:text>
33 <xsl:call-template name="object.id">
34 <xsl:with-param name="object" select="$object"/>
35 </xsl:call-template>
36</xsl:template>
37
38</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.