~todd-deshane/openstack-manuals/working

« back to all changes in this revision

Viewing changes to doc/build/docbook-xsl-1.76.1/xhtml/onechunk.xsl

  • Committer: Anne Gentle
  • Date: 2011-04-04 17:54:52 UTC
  • Revision ID: anne@openstack.org-20110404175452-gtth3hfrniqhpp5o
Switching from Ant builds to Maven, still working out kinks but should be functional

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="ASCII"?>
2
 
<!--This file was created automatically by html2xhtml-->
3
 
<!--from the HTML stylesheets.-->
4
 
<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" version="1.0" exclude-result-prefixes="doc">
5
 
 
6
 
<!-- ********************************************************************
7
 
     $Id: onechunk.xsl 6910 2007-06-28 23:23:30Z xmldoc $
8
 
     ********************************************************************
9
 
 
10
 
     This file is part of the XSL DocBook Stylesheet distribution.
11
 
     See ../README or http://docbook.sf.net/release/xsl/current/ for
12
 
     copyright and other information.
13
 
 
14
 
     ******************************************************************** -->
15
 
 
16
 
<!-- ==================================================================== -->
17
 
 
18
 
<xsl:import href="chunk.xsl"/>
19
 
 
20
 
<!-- Ok, using the onechunk parameter makes this all work again. -->
21
 
<!-- It does have the disadvantage that it only works for documents that have -->
22
 
<!-- a root element that is considered a chunk by the chunk.xsl stylesheet. -->
23
 
<!-- Ideally, onechunk would let anything be a chunk. But not today. -->
24
 
 
25
 
<xsl:param name="onechunk" select="1"/>
26
 
<xsl:param name="suppress.navigation">1</xsl:param>
27
 
 
28
 
<xsl:template name="href.target.uri">
29
 
  <xsl:param name="object" select="."/>
30
 
  <xsl:text>#</xsl:text>
31
 
  <xsl:call-template name="object.id">
32
 
    <xsl:with-param name="object" select="$object"/>
33
 
  </xsl:call-template>
34
 
</xsl:template>
35
 
 
36
 
</xsl:stylesheet>