1 <?xml version="1.0" encoding="US-ASCII"?>
2 <!--This file was created automatically by html2xhtml-->
3 <!--from the HTML stylesheets. Do not edit this file.-->
4 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
6 <!-- ********************************************************************
8 ********************************************************************
10 This file is part of the XSL DocBook Stylesheet distribution.
11 See ../README or http://nwalsh.com/docbook/xsl/ for copyright
12 and other information.
14 ******************************************************************** -->
16 <!-- ==================================================================== -->
18 <xsl:template match="task">
19 <xsl:variable name="param.placement" select="substring-after(normalize-space($formal.title.placement), concat(local-name(.), ' '))"/>
21 <xsl:variable name="placement">
23 <xsl:when test="contains($param.placement, ' ')">
24 <xsl:value-of select="substring-before($param.placement, ' ')"/>
26 <xsl:when test="$param.placement = ''">before</xsl:when>
28 <xsl:value-of select="$param.placement"/>
33 <xsl:variable name="preamble" select="*[not(self::title or self::titleabbrev)]"/>
35 <div class="{name(.)}">
36 <xsl:call-template name="anchor"/>
38 <xsl:if test="title and $placement = 'before'">
39 <xsl:call-template name="formal.object.heading"/>
42 <xsl:apply-templates select="$preamble"/>
44 <xsl:if test="title and $placement != 'before'">
45 <xsl:call-template name="formal.object.heading"/>
50 <xsl:template match="task/title">
54 <xsl:template match="tasksummary">
55 <xsl:call-template name="semiformal.object"/>
58 <xsl:template match="taskprerequisites">
59 <xsl:call-template name="semiformal.object"/>
62 <xsl:template match="taskrelated">
63 <xsl:call-template name="semiformal.object"/>