- From: Sean Owen <srowen@google.com>
- Date: Thu, 28 Jun 2007 12:33:36 -0400
- To: "Roland Gülle" <roland@7val.com>
- Cc: "Laura Holmes" <holmes@google.com>, public-mobileok-checker <public-mobileok-checker@w3.org>
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 UTC