This seems kind of twisted -- build a result, then build it again in order to add that attribute. If it works it works, and, I do think we need to keep this attribute on the top-level tests element. But I do think this shows why XSL is difficult to apply to this scenario. Sean On 6/28/07, Roland Gülle <roland@7val.com> wrote: > ... > <xsl:variable name="result"> > <!-- test results --> > <xsl:apply-templates/ select="/moki/primaryDoc/XHTMLDocInfo/ > docContent/html:html"/> > </xsl:variable> > > <test name="..."> > <xsl:choose> > <xsl:when test="exsl:node-set($result)//result[@outcome = 'FAIL']"> > <xsl:attribute name="outcome">FAIL</xsl:attribute> > </xsl:when> > ... > <xsl:copy-of select="exsl:node-set($result)/node()"/> > > If this is OK, I add this syntax to one test as example.Received on Thursday, 28 June 2007 16:33:48 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:13:03 GMT