|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> |
|
3 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. --> |
|
4 <!-- This component and the accompanying materials are made available under the terms of the License |
|
5 "Eclipse Public License v1.0" which accompanies this distribution, |
|
6 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". --> |
|
7 <!-- Initial Contributors: |
|
8 Nokia Corporation - initial contribution. |
|
9 Contributors: |
|
10 --> |
|
11 <!--topic_xref pr-d_xref--> |
|
12 <xsl:template match="apiclassifier|apioperation|apipackage|apivalue"> |
|
13 <xref> |
|
14 <xsl:apply-templates select="@*"/> |
|
15 <xsl:apply-templates/> |
|
16 </xref> |
|
17 </xsl:template> |
|
18 |
|
19 <!--map_map--> |
|
20 <xsl:template match="apiMap"> |
|
21 <map> |
|
22 <xsl:apply-templates select="@*"/> |
|
23 <xsl:apply-templates/> |
|
24 </map> |
|
25 </xsl:template> |
|
26 |
|
27 <!--map_topicref--> |
|
28 <xsl:template match="apiItemRef"> |
|
29 <topicref> |
|
30 <xsl:apply-templates select="@*"/> |
|
31 <xsl:apply-templates/> |
|
32 </topicref> |
|
33 </xsl:template> |
|
34 |
|
35 <!--topic_body reference_refbody apiRef_apiDetail--> |
|
36 <xsl:template match="apiClassifierDetail|apiOperationDetail|apiValueDetail"> |
|
37 <refbody> |
|
38 <xsl:apply-templates select="@*"/> |
|
39 <xsl:apply-templates/> |
|
40 </refbody> |
|
41 </xsl:template> |
|
42 |
|
43 <!--topic_keyword reference_keyword--> |
|
44 <xsl:template match="apiItemName"> |
|
45 <keyword> |
|
46 <xsl:apply-templates select="@*"/> |
|
47 <xsl:apply-templates/> |
|
48 </keyword> |
|
49 </xsl:template> |
|
50 |
|
51 <!--topic_p reference_p--> |
|
52 <xsl:template match="apiSyntaxItem"> |
|
53 <p> |
|
54 <xsl:apply-templates select="@*"/> |
|
55 <xsl:apply-templates/> |
|
56 </p> |
|
57 </xsl:template> |
|
58 |
|
59 <!--topic_ph reference_ph apiRef_apiData--> |
|
60 <xsl:template match="apiData|apiDefItem|apiDefNote"> |
|
61 <ph> |
|
62 <xsl:apply-templates select="@*"/> |
|
63 <xsl:apply-templates/> |
|
64 </ph> |
|
65 </xsl:template> |
|
66 |
|
67 <!--topic_ph reference_ph apiRef_apiDefItem--> |
|
68 <xsl:template match="apiClassifierMember|apiEvent|apiOperationDefItem|apiParam|apiReturn|apiValueMember"> |
|
69 <ph> |
|
70 <xsl:apply-templates select="@*"/> |
|
71 <xsl:apply-templates/> |
|
72 </ph> |
|
73 </xsl:template> |
|
74 |
|
75 <!--topic_pre reference_pre--> |
|
76 <xsl:template match="apiSyntaxText"> |
|
77 <pre> |
|
78 <xsl:apply-templates select="@*"/> |
|
79 <xsl:apply-templates/> |
|
80 </pre> |
|
81 </xsl:template> |
|
82 |
|
83 <!--topic_section reference_refsyn--> |
|
84 <xsl:template match="apiSyntax"> |
|
85 <refsyn> |
|
86 <xsl:apply-templates select="@*"/> |
|
87 <xsl:apply-templates/> |
|
88 </refsyn> |
|
89 </xsl:template> |
|
90 |
|
91 <!--topic_section reference_section--> |
|
92 <xsl:template match="apiDef|apiDesc|apiImpl"> |
|
93 <section> |
|
94 <xsl:apply-templates select="@*"/> |
|
95 <xsl:apply-templates/> |
|
96 </section> |
|
97 </xsl:template> |
|
98 |
|
99 <!--topic_section reference_section apiRef_apiDef--> |
|
100 <xsl:template match="apiClassifierDef|apiConstructorDef|apiOperationDef|apiValueDef"> |
|
101 <section> |
|
102 <xsl:apply-templates select="@*"/> |
|
103 <xsl:apply-templates/> |
|
104 </section> |
|
105 </xsl:template> |
|
106 |
|
107 <!--topic_state reference_state--> |
|
108 <xsl:template match="apiArray|apiQualifier|apiType"> |
|
109 <state> |
|
110 <xsl:apply-templates select="@*"/> |
|
111 <xsl:apply-templates/> |
|
112 </state> |
|
113 </xsl:template> |
|
114 |
|
115 <!--topic_title reference_title--> |
|
116 <xsl:template match="apiName"> |
|
117 <title> |
|
118 <xsl:apply-templates select="@*"/> |
|
119 <xsl:apply-templates/> |
|
120 </title> |
|
121 </xsl:template> |
|
122 |
|
123 <!--topic_topic reference_reference--> |
|
124 <xsl:template match="apiRef"> |
|
125 <reference> |
|
126 <xsl:apply-templates select="@*"/> |
|
127 <xsl:apply-templates/> |
|
128 </reference> |
|
129 </xsl:template> |
|
130 |
|
131 <!--topic_topic reference_reference apiRef_apiRef--> |
|
132 <xsl:template match="apiClassifier|apiOperation|apiPackage|apiValue"> |
|
133 <reference> |
|
134 <xsl:apply-templates select="@*"/> |
|
135 <xsl:apply-templates/> |
|
136 </reference> |
|
137 </xsl:template> |
|
138 |
|
139 <!--topic_xref reference_xref--> |
|
140 <xsl:template match="apiRelation"> |
|
141 <xref> |
|
142 <xsl:apply-templates select="@*"/> |
|
143 <xsl:apply-templates/> |
|
144 </xref> |
|
145 </xsl:template> |
|
146 |
|
147 <!--topic_xref reference_xref apiRef_apiRelation--> |
|
148 <xsl:template match="apiBaseClassifier|apiOtherClassifier|apiOperationClassifier|apiValueClassifier"> |
|
149 <xref> |
|
150 <xsl:apply-templates select="@*"/> |
|
151 <xsl:apply-templates/> |
|
152 </xref> |
|
153 </xsl:template> |
|
154 </xsl:stylesheet> |