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="http://www.w3.org/1999/xhtml" version="1.0">
6 <!-- ********************************************************************
7 $Id: task.xsl 8421 2009-05-04 07:49:49Z bobstayton $
8 ********************************************************************
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.
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)]"/>
36 <xsl:apply-templates select="." mode="common.html.attributes"/>
37 <xsl:call-template name="anchor"/>
39 <xsl:if test="title and $placement = 'before'">
40 <xsl:call-template name="formal.object.heading"/>
43 <xsl:apply-templates select="$preamble"/>
45 <xsl:if test="title and $placement != 'before'">
46 <xsl:call-template name="formal.object.heading"/>
51 <xsl:template match="task/title">
55 <xsl:template match="tasksummary">
56 <xsl:call-template name="semiformal.object"/>
59 <xsl:template match="tasksummary/title"/>
61 <xsl:template match="taskprerequisites">
62 <xsl:call-template name="semiformal.object"/>
65 <xsl:template match="taskprerequisites/title"/>
67 <xsl:template match="taskrelated">
68 <xsl:call-template name="semiformal.object"/>
71 <xsl:template match="taskrelated/title"/>