annotate schemas/doxygen/csharp/interface.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:template name="compounddefType">
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
8 <h1>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
9 <xsl:apply-templates select="title|compoundname"
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
10 mode="compounddefType" />
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
11 </h1>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
12 <div class="briefdescription">
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
13 <xsl:apply-templates select="briefdescription"
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
14 mode="compounddefType" />
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
15 </div>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
16 <div class="dox-source-code">
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
17 <span class="keyword">
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
18 <xsl:value-of select="concat(@prot,' ')"/>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
19 <xsl:if test="@abstract"><xsl:text>abstract </xsl:text></xsl:if>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
20 <xsl:if test="@sealed"><xsl:text>sealed </xsl:text></xsl:if>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
21 <xsl:value-of select="concat(@kind,' ')"/>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
22 </span>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
23 <xsl:call-template name="short-type-name">
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
24 <xsl:with-param name="typename" select="compoundname"/>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
25 </xsl:call-template>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
26 <xsl:if test="basecompoundref">
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
27 <xsl:text> : </xsl:text>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
28 <xsl:for-each select="basecompoundref">
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
29 <xsl:call-template name="compoundRefType"/>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
30 <xsl:if test="not(last() = position())">
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
31 <xsl:text>, </xsl:text>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
32 </xsl:if>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
33 </xsl:for-each>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
34 </xsl:if>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
35 </div>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
36 <div class="detaileddescription">
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
37 <xsl:apply-templates select="detaileddescription"
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
38 mode="compounddefType" />
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
39 </div>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
40
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
41 <div class="innerCompounds">
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
42
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
43 <xsl:apply-templates select="innerclass | innernamespace"
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
44 mode="compounddefType" />
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
45 </div>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
46
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
47 <div class="members">
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
48 <xsl:apply-templates select="sectiondef" mode="compounddefType" />
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
49 </div>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
50
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
51 <xsl:if test="derivedcompoundref">
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
52 <div class="sectiondef">
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
53 <h3>Derived</h3>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
54 <ul class="derivedcompoundref-list">
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
55 <xsl:apply-templates select="derivedcompoundref"
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
56 mode="compounddefType" />
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
57 </ul>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
58 </div>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
59 </xsl:if>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
60 </xsl:template>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
61 <xsl:template match="derivedcompoundref" mode="compounddefType">
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
62 <li><xsl:apply-imports/></li>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
63 </xsl:template>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
64
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
65 <xsl:template match="memberdef" mode="sectiondefType">
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
66 <div class="memberdef">
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
67 <div class="memberdefName">
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
68 <xsl:call-template name="memberdefName" />
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
69 </div>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
70 <div class="memberdefDescription">
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
71 <xsl:call-template name="memberdefDescription" />
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
72 </div>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
73 </div>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
74 </xsl:template>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
75
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
76 <xsl:template name="memberdefName">
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
77 <span class="textPre">
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
78 <xsl:if test="type">
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
79 <xsl:apply-templates select="type" mode="memberdefType" />
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
80 <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
81 </xsl:if>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
82 <xsl:call-template name="link">
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
83 <xsl:with-param name="refid" select="@id" />
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
84 <xsl:with-param name="kind" select="'member'" />
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
85 <xsl:with-param name="external" />
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
86 <xsl:with-param name="text">
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
87 <xsl:apply-templates select="name" mode="memberdefType"/>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
88 </xsl:with-param>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
89 </xsl:call-template>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
90 <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
91 <xsl:value-of select="argsstring/text()" />
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
92 </span>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
93 </xsl:template>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
94
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
95 <xsl:template name="memberdefDescription">
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
96 <xsl:apply-templates select="briefdescription"
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
97 mode="memberdefType" />
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
98 </xsl:template>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
99 </xsl:stylesheet>