2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3 xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
5 exclude-result-prefixes="doc">
7 <!-- ********************************************************************
8 $Id: profile-onechunk.xsl 6910 2007-06-28 23:23:30Z xmldoc $
9 ********************************************************************
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.
15 ******************************************************************** -->
17 <!-- ==================================================================== -->
19 <xsl:import href="profile-chunk.xsl"/>
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. -->
26 <xsl:param name="onechunk" select="1"/>
27 <xsl:param name="suppress.navigation">1</xsl:param>
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"/>