annotate schemas/doxygen/csharp/class.xsl @ 16:e69c970c3ddd default tip

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