Maybe this will get you started, I just added an apply-templates to reprocess
the testInfo step after the standard one so I can catch the info an add
something to the report, see the lines with "myTurn".
Piece of WebTestreport.xsl ( I'm using wt 3.0):
...
<!-- Special representation for the <testInfo .../> steps if any -->
<xsl:template name="displayTestInfo">
<xsl:if test=".//st...@taskname = 'testInfo']">
<div class="testInfo">
<div class="testInfoTitle">Test info</div>
<ul class="testInfo">
<xsl:for-each select=".//st...@taskname = 'testInfo']">
<li>
<xsl:value-of
select="paramet...@name =
'type']/@value"/>
<xsl:text>:&space;</xsl:text>
<xsl:value-of
select="concat(paramet...@name =
'info']/@value, paramet...@name = 'nested text']/@value)"/>
</li>
</xsl:for-each>
<xsl:apply-templates select=".//st...@taskname =
'testInfo']" mode="myTurn"/>
</ul>
</div>
</xsl:if>
</xsl:template>
<xsl:template match="st...@taskname = 'testInfo']" mode="myTurn">
<p>myTurn to say something about testinfo: <xsl:value-of
select="paramet...@name = 'type']/@value" /></p>
</xsl:template>
...
Hope this helps,
Avander
--
View this message in context:
http://www.nabble.com/WebTestReport.xsl----add-template-to-parse-out-line-breaks-for-%3CtestInfo%3E-step-tp24272543p24291785.html
Sent from the WebTest mailing list archive at Nabble.com.
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest