Revision 3286
Added by berkley almost 17 years ago
entity.xsl | ||
---|---|---|
110 | 110 |
|
111 | 111 |
<td> |
112 | 112 |
<table cellspacing="0" cellpadding="0"> |
113 |
<xsl:if test="count(/entity/property[@name='documentation']/property[@name='author']) > 0">
|
|
113 |
<xsl:if test="count(/entity/property[@name='KeplerDocumentation']/property[@name='author']) > 0">
|
|
114 | 114 |
<tr> |
115 | 115 |
<td style="font-style: italic;"> |
116 | 116 |
Author: |
117 | 117 |
</td> |
118 | 118 |
|
119 | 119 |
<td> |
120 |
<xsl:for-each select="/entity/property[@name='documentation']/property[@name='author']">
|
|
120 |
<xsl:for-each select="/entity/property[@name='KeplerDocumentation']/property[@name='author']">
|
|
121 | 121 |
<xsl:if test="position() > 1"> |
122 | 122 |
<xsl:text>, </xsl:text> |
123 | 123 |
</xsl:if> |
... | ... | |
128 | 128 |
</tr> |
129 | 129 |
</xsl:if> |
130 | 130 |
|
131 |
<xsl:if test="count(/entity/property[@name='documentation']/property[@name='version']) > 0">
|
|
131 |
<xsl:if test="count(/entity/property[@name='KeplerDocumentation']/property[@name='version']) > 0">
|
|
132 | 132 |
<tr> |
133 | 133 |
<td style="font-style: italic;"> |
134 | 134 |
Version: |
135 | 135 |
</td> |
136 | 136 |
|
137 | 137 |
<td> |
138 |
<xsl:value-of select="/entity/property[@name='documentation']/property[@name='version']/configure"/>
|
|
138 |
<xsl:value-of select="/entity/property[@name='KeplerDocumentation']/property[@name='version']/configure"/>
|
|
139 | 139 |
</td> |
140 | 140 |
</tr> |
141 | 141 |
</xsl:if> |
... | ... | |
165 | 165 |
</td> |
166 | 166 |
|
167 | 167 |
<td colspan="2"> |
168 |
<xsl:value-of select="/entity/property[@name='documentation']/property[@name='description']/configure"/>
|
|
168 |
<!-- <xsl:value-of select="/entity/property[@name='KeplerDocumentation']/property[@name='description']/configure"/> -->
|
|
169 | 169 |
|
170 |
<xsl:if test="count(/entity/property[@name='documentation']/property[@name='userLevelDocumentation']/configure) > 0">
|
|
171 |
<p><xsl:value-of select="/entity/property[@name='documentation']/property[@name='userLevelDocumentation']/configure"/></p>
|
|
170 |
<xsl:if test="count(/entity/property[@name='KeplerDocumentation']/property[@name='userLevelDocumentation']/configure) > 0">
|
|
171 |
<p><xsl:value-of select="/entity/property[@name='KeplerDocumentation']/property[@name='userLevelDocumentation']/configure"/></p>
|
|
172 | 172 |
</xsl:if> |
173 | 173 |
</td> |
174 | 174 |
</tr> |
... | ... | |
176 | 176 |
<tr class="top-level"> |
177 | 177 |
<td colspan="3"> |
178 | 178 |
<table cellspacing="0" cellpadding="0"> |
179 |
<xsl:if test="count(/entity/property[@name='documentation']/property[substring(@name, 1, 5)='prop:']) > 0">
|
|
179 |
<xsl:if test="count(/entity/property[@name='KeplerDocumentation']/property[substring(@name, 1, 5)='prop:']) > 0">
|
|
180 | 180 |
<tr> |
181 | 181 |
<td colspan="2"> |
182 | 182 |
<h2>Parameters</h2> |
183 | 183 |
</td> |
184 | 184 |
</tr> |
185 | 185 |
|
186 |
<xsl:for-each select="/entity/property[@name='documentation']/property[substring(@name, 1, 5)='prop:']">
|
|
186 |
<xsl:for-each select="/entity/property[@name='KeplerDocumentation']/property[substring(@name, 1, 5)='prop:']">
|
|
187 | 187 |
<tr> |
188 | 188 |
<td style="font-style: italic;"> |
189 | 189 |
<xsl:value-of select="substring(@name, 6)"/> |
... | ... | |
196 | 196 |
</xsl:for-each> |
197 | 197 |
</xsl:if> |
198 | 198 |
|
199 |
<xsl:if test="count(/entity/property[@name='documentation']/property[substring(@name, 1, 5)='port:']) > 0">
|
|
199 |
<xsl:if test="count(/entity/property[@name='KeplerDocumentation']/property[substring(@name, 1, 5)='port:']) > 0">
|
|
200 | 200 |
<tr> |
201 | 201 |
<td colspan="2"> |
202 | 202 |
<h2>Ports</h2> |
203 | 203 |
</td> |
204 | 204 |
</tr> |
205 | 205 |
|
206 |
<xsl:for-each select="/entity/property[@name='documentation']/property[substring(@name, 1, 5)='port:']">
|
|
206 |
<xsl:for-each select="/entity/property[@name='KeplerDocumentation']/property[substring(@name, 1, 5)='port:']">
|
|
207 | 207 |
<tr> |
208 | 208 |
<td style="font-style: italic;"> |
209 | 209 |
<xsl:value-of select="substring(@name, 6)"/> |
Also available in: Unified diff
changed web site to use new documentation paths. this break a lot of stuff because metacat won't return the subelements of an xpath query. this will have to be fixed through metacat