Project

General

Profile

« Previous | Next » 

Revision 3179

Added by sledge almost 18 years ago

Tweek

View differences:

lib/style/skins/kepler/entity.xsl
116 116

  
117 117
                    <td>
118 118
                      <xsl:for-each select="/entity/property[@name='documentation']/property[@name='author']">
119
                        <xsl:if test="position() &gt; 0">
119
                        <xsl:if test="position() &gt; 1">
120 120
                          <xsl:text>, </xsl:text>
121 121
                        </xsl:if>
122 122

  
......
165 165
            <td colspan="2">
166 166
              <xsl:value-of select="/entity/property[@name='documentation']/property[@name='description']/configure"/>
167 167

  
168
              <xsl:if test="count(/entity/property[@name='documentation']/property[@name='userLevelDocumentation']">
168
              <xsl:if test="count(/entity/property[@name='documentation']/property[@name='userLevelDocumentation']/configure) &gt; 0">
169 169
                <p><xsl:value-of select="/entity/property[@name='documentation']/property[@name='userLevelDocumentation']/configure"/></p>
170 170
              </xsl:if>
171 171
            </td>
......
174 174
          <tr class="top-level">
175 175
            <td colspan="3">
176 176
              <table cellspacing="0" cellpadding="0">
177
                <xsl:if test="count(/entity/property[@name='documentation']/property[substring(@name, 0, 5)='prop:']) &gt; 0">
177
                <xsl:if test="count(/entity/property[@name='documentation']/property[substring(@name, 1, 5)='prop:']) &gt; 0">
178 178
                  <tr>
179 179
                    <td colspan="2">
180 180
                      <h2>Parameters</h2>
181 181
                    </td>
182 182
                  </tr>
183 183

  
184
                  <xsl:for-each select="/entity/property[@name='documentation']/property[substring(@name, 0, 5)='prop:']">
184
                  <xsl:for-each select="/entity/property[@name='documentation']/property[substring(@name, 1, 5)='prop:']">
185 185
                    <tr>
186 186
                      <td style="font-style: italic;">
187
                        <xsl:value-of select="substring(@name, 5)"/>
187
                        <xsl:value-of select="substring(@name, 6)"/>
188 188
                      </td>
189 189

  
190 190
                      <td>
......
194 194
                  </xsl:for-each>
195 195
                </xsl:if>
196 196

  
197
                <xsl:if test="count(/entity/property[@name='documentation']/property[substring(@name, 0, 5)='port:']) &gt; 0">
197
                <xsl:if test="count(/entity/property[@name='documentation']/property[substring(@name, 1, 5)='port:']) &gt; 0">
198 198
                  <tr>
199 199
                    <td colspan="2">
200 200
                      <h2>Ports</h2>
201 201
                    </td>
202 202
                  </tr>
203 203

  
204
                  <xsl:for-each select="/entity/property[@name='documentation']/property[substring(@name, 0, 5)='port:']">
204
                  <xsl:for-each select="/entity/property[@name='documentation']/property[substring(@name, 1, 5)='port:']">
205 205
                    <tr>
206 206
                      <td style="font-style: italic;">
207
                        <xsl:value-of select="substring(@name, 5)"/>
207
                        <xsl:value-of select="substring(@name, 6)"/>
208 208
                      </td>
209 209

  
210 210
                      <td>

Also available in: Unified diff