comparison schemas/doxygen/csharp/class.xsl @ 7:fa7a99c2d079

dox library templates and schemas
author sergey
date Wed, 14 May 2014 01:22:21 +0400
parents
children
comparison
equal deleted inserted replaced
6:2d1a0a75fc49 7:fa7a99c2d079
1 <?xml version="1.0" encoding="UTF-8"?>
2 <xsl:stylesheet
3 version="1.0"
4 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
5 >
6 <xsl:import href="default.xsl"/>
7 <xsl:include href="briefsections.xsl"/>
8 <xsl:template name="compounddefType">
9 <h1>
10 <xsl:apply-templates select="title|compoundname"
11 mode="compounddefType" />
12 </h1>
13 <div class="briefdescription">
14 <xsl:apply-templates select="briefdescription"
15 mode="compounddefType" />
16 </div>
17 <div class="dox-source-code">
18 <span class="keyword">
19 <xsl:value-of select="concat(@prot,' ')"/>
20 <xsl:if test="@abstract"><xsl:text>abstract </xsl:text></xsl:if>
21 <xsl:if test="@sealed"><xsl:text>sealed </xsl:text></xsl:if>
22 <xsl:value-of select="concat(@kind,' ')"/>
23 </span>
24 <xsl:call-template name="short-type-name">
25 <xsl:with-param name="typename" select="compoundname"/>
26 </xsl:call-template>
27 <xsl:if test="basecompoundref">
28 <xsl:text> : </xsl:text>
29 <xsl:for-each select="basecompoundref">
30 <xsl:call-template name="compoundRefType"/>
31 <xsl:if test="not(last() = position())">
32 <xsl:text>, </xsl:text>
33 </xsl:if>
34 </xsl:for-each>
35 </xsl:if>
36 </div>
37 <div class="detaileddescription">
38 <xsl:apply-templates select="detaileddescription"
39 mode="compounddefType" />
40 </div>
41
42 <xsl:if test="innerclass">
43 <div class="sectiondef">
44 <h3>Inner classes</h3>
45 <ul>
46 <xsl:apply-templates select="innerclass"
47 mode="compounddefType" />
48 </ul>
49 </div>
50 </xsl:if>
51
52 <div class="members">
53 <xsl:apply-templates select="sectiondef" mode="compounddefType" />
54 </div>
55
56 <xsl:if test="derivedcompoundref">
57 <div class="sectiondef">
58 <h3>Derived</h3>
59 <ul class="derivedcompoundref-list">
60 <xsl:apply-templates select="derivedcompoundref"
61 mode="compounddefType" />
62 </ul>
63 </div>
64 </xsl:if>
65 </xsl:template>
66 <xsl:template match="derivedcompoundref" mode="compounddefType">
67 <li><xsl:apply-imports/></li>
68 </xsl:template>
69 <xsl:template match="innerclass" mode="compounddefType">
70 <li><xsl:apply-imports/></li>
71 </xsl:template>
72 </xsl:stylesheet>