source: trunk/Distribution/XSL/html/onechunk.xsl@ 2

Last change on this file since 2 was 2, checked in by jkacer, 18 years ago

Added all DocBook Framework stuff:

  • DocBook DTD
  • Transformation software FOP 0.20.5 and Saxon 6
  • XSL styles
  • Rexx scripts

Also added some WarpIN-related stuff for creation of WarpIN installation packages.
This state corresponds to version 1.0.0 from November 2005, just slightly modified to carry versioning information (Rexx scripts).

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,v 1.9 2003/11/30 19:42:23 bobstayton Exp $
9 ********************************************************************
10
11 This file is part of the XSL DocBook Stylesheet distribution.
12 See ../README or http://nwalsh.com/docbook/xsl/ for copyright
13 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.