- From: Philippe Le Hegaret via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 06 Jul 2006 13:08:35 +0000
- To: public-ws-desc-eds@w3.org
Update of /sources/public/2002/ws/desc/test-suite
In directory hutz:/tmp/cvs-serv8151/test-suite
Modified Files:
assertions-report.xsl
Log Message:
Added a count for assertions
Index: assertions-report.xsl
===================================================================
RCS file: /sources/public/2002/ws/desc/test-suite/assertions-report.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** assertions-report.xsl 5 Jul 2006 22:26:00 -0000 1.1
--- assertions-report.xsl 6 Jul 2006 13:08:32 -0000 1.2
***************
*** 25,28 ****
--- 25,31 ----
<body>
<h1>Assertion Coverage Report</h1>
+ <xsl:variable name='assertions'
+ select='document("assertions.xml")/assertions/assertion'/>
+ <p><xsl:value-of select='count($assertions)'/> assertions.</p>
<table>
<thead>
***************
*** 37,41 ****
<tbody>
<xsl:for-each
! select='document("assertions.xml")/assertions/assertion'>
<xsl:sort select='@id'/>
<xsl:variable name='id' select='@id'/>
--- 40,44 ----
<tbody>
<xsl:for-each
! select='$assertions'>
<xsl:sort select='@id'/>
<xsl:variable name='id' select='@id'/>
Received on Thursday, 6 July 2006 13:08:46 UTC