annotate schemas/doxygen/csharp/briefsections.xsl @ 9:3efa63d911d4

sync
author sergey
date Wed, 14 May 2014 17:29:04 +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:template match="memberdef" mode="sectiondefType">
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
7 <div class="memberdef">
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
8 <div class="memberdefName">
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
9 <xsl:call-template name="memberdefName" />
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
10 </div>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
11 <div class="memberdefDescription">
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
12 <xsl:call-template name="memberdefDescription" />
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
13 </div>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
14 </div>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
15 </xsl:template>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
16
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
17 <xsl:template name="memberdefName">
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
18 <span class="textPre">
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
19 <xsl:if test="@virt = 'virtual'">
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
20 <xsl:text>virtual </xsl:text>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
21 </xsl:if>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
22 <xsl:if test="@kind = 'enum'">
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
23 <xsl:text>enum </xsl:text>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
24 </xsl:if>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
25 <xsl:if test="type">
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
26 <xsl:apply-templates select="type" mode="memberdefType" />
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
27 <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
28 </xsl:if>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
29 <xsl:call-template name="link">
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
30 <xsl:with-param name="refid" select="@id" />
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
31 <xsl:with-param name="kind" select="'member'" />
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
32 <xsl:with-param name="external" />
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
33 <xsl:with-param name="text">
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
34 <xsl:apply-templates select="name" mode="memberdefType" />
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
35 </xsl:with-param>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
36 </xsl:call-template>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
37 <xsl:if test="argsstring">
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
38 <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
39 <xsl:apply-templates select="argsstring" mode="memberdefType"/>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
40 </xsl:if>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
41 <xsl:if test="initializer">
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
42 <xsl:text> </xsl:text>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
43 <xsl:apply-templates select="initializer" mode="memberdefType" />
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
44 </xsl:if>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
45 <xsl:if test="@kind = 'property'">
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
46 <xsl:text>{ </xsl:text>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
47 <xsl:if test="@gettable = 'yes'"><xsl:text>get; </xsl:text></xsl:if>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
48 <xsl:if test="@settable = 'yes'"><xsl:text>set; </xsl:text></xsl:if>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
49 <xsl:text>}</xsl:text>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
50 </xsl:if>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
51 </span>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
52 </xsl:template>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
53
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
54 <xsl:template name="memberdefDescription">
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
55 <xsl:apply-templates select="briefdescription"
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
56 mode="memberdefType" />
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
57 </xsl:template>
fa7a99c2d079 dox library templates and schemas
sergey
parents:
diff changeset
58 </xsl:stylesheet>