PageRenderTime 94ms CodeModel.GetById 92ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/jEdit/tags/jedit-4-3-pre5/build-support/users-guide.xsl

#
Extensible Stylesheet Language Transformations | 65 lines | 46 code | 19 blank | 0 comment | 0 complexity | 63a3520831dab3d699f42879db1c2bc3 MD5 | raw file
 1<?xml version='1.0'?>
 2
 3<!-- You should use this XSL stylesheet to create plugin documentation.
 4
 5     If you want all output in a single HTML file, specify the path to
 6     your DocBook-XSL "html/docbook.xsl" file in the <xsl:import>
 7     statement below. If you want each chapter to have its own file,
 8     specify the path to your "html/chunk.xsl".
 9
10	 This stylesheet assumes the user's guide XML source is in a
11	 subdirectory of the plugin's main dir (e.g., "docs/userguide.xml").
12-->
13
14<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
15                version='1.0'
16                xmlns="http://www.w3.org/TR/xhtml1/transitional"
17                exclude-result-prefixes="#default">
18
19<xsl:import href="file:///@docs.style.sheet@" />
20
21<!-- Swing HTML control doesn't support &ldquo; and &rdquo; -->
22<xsl:template match="quote">&quot;<xsl:apply-templates/>&quot;</xsl:template>
23
24<xsl:template match="guibutton">
25  <xsl:call-template name="inline.boldseq"/>
26</xsl:template>
27
28<xsl:template match="guiicon">
29  <xsl:call-template name="inline.boldseq"/>
30</xsl:template>
31
32<xsl:template match="guilabel">
33  <xsl:call-template name="inline.boldseq"/>
34</xsl:template>
35
36<xsl:template match="guimenu">
37  <xsl:call-template name="inline.boldseq"/>
38</xsl:template>
39
40<xsl:template match="guimenuitem">
41  <xsl:call-template name="inline.boldseq"/>
42</xsl:template>
43
44<xsl:template match="guisubmenu">
45  <xsl:call-template name="inline.boldseq"/>
46</xsl:template>
47
48<xsl:param name="toc.list.type">ul</xsl:param>
49
50<xsl:param name="shade.verbatim">1</xsl:param>
51
52<xsl:param name="funcsynopsis.style">ansi</xsl:param>
53<xsl:template match="void"><xsl:apply-templates/></xsl:template>
54
55
56<xsl:param name="chunk.first.sections">1</xsl:param>
57
58<xsl:template match="*" mode="object.title.markup.textonly">
59  <xsl:variable name="title">
60    <xsl:apply-templates select="." mode="title.markup"/>
61  </xsl:variable>
62  <xsl:value-of select="$title"/>
63</xsl:template>
64
65</xsl:stylesheet>