File tree 1 file changed +11
-9
lines changed
1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change 204
204
<TR >
205
205
<TD ><xsl : value-of select =" @idref" /></TD >
206
206
<TD >
207
- <xsl : value-of select =" @desc" />
208
- <xsl : text > avgparsexsl: </xsl : text ><xsl : value-of select =" @avgparsexsl" />
209
- <xsl : text > singletransform: </xsl : text ><xsl : value-of select =" @singletransform" />
210
- <xsl : text > unparsedxml: </xsl : text ><xsl : value-of select =" @unparsedxml" />
211
- <xsl : text > parsexsl: </xsl : text ><xsl : value-of select =" @parsexsl" />
212
- <xsl : text > avgetoe: </xsl : text ><xsl : value-of select =" @avgetoe" />
213
- <xsl : text > avgunparsedxml: </xsl : text ><xsl : value-of select =" @avgunparsedxml" />
214
- <xsl : text > etoe: </xsl : text ><xsl : value-of select =" @etoe" />
215
- <xsl : text > iterations: </xsl : text ><xsl : value-of select =" @iterations" />
207
+ <xsl : variable name =" perfattrs" select =" 'avgparsexsl singletransform unparsedxml parsexsl avgetoe avgunparsedxml etoe OVERALL XSLREAD XSLBUILD XMLREAD XMLBUILD TRANSFORM RESULTWRITE FIRSTLATENCY'" />
208
+ <xsl : for-each select =" attribute::*" >
209
+ <xsl : sort select =" name()" />
210
+ <xsl : if test =" contains($perfattrs, name())" >
211
+ <xsl : text > </xsl : text ><xsl : value-of select =" name()" /><xsl : text >=</xsl : text ><xsl : value-of select =" ." />
212
+ </xsl : if >
213
+ </xsl : for-each >
216
214
</TD >
217
215
</TR >
218
216
</xsl : template >
227
225
<TR >
228
226
<TD ><xsl : text >[</xsl : text ><xsl : value-of select =" @idref" /><xsl : text >] </xsl : text ></TD >
229
227
<TD >
228
+ <!-- //@todo NOTE: use new StylesheetTestlet-output baseref as
229
+ the start of each href attr, but only if it's relative
230
+ (i.e. if the @inputName, etc. is absolute, leave it alone)
231
+ -->
230
232
<xsl : element name =" a" >
231
233
<xsl : attribute name =" href" ><xsl : value-of select =" @inputName" /></xsl : attribute >
232
234
<xsl : text >xsl</xsl : text >
You can’t perform that action at this time.
0 commit comments