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: profile-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="profile-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.