W3C home > Mailing lists > Public > public-ws-addressing-eds@w3.org > January to March 2006

2004/ws/addressing generate-acknowledgements.xsl,1.6,1.7

From: Hugo Haas via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 13 Feb 2006 13:11:59 +0000
To: public-ws-addressing-eds@w3.org
Message-Id: <20060213131159.691AB4F448@homer.w3.org>

Update of /sources/public/2004/ws/addressing
In directory homer:/tmp/cvs-serv9606

Modified Files:
	generate-acknowledgements.xsl 
Log Message:
Updated to work with new format


Index: generate-acknowledgements.xsl
===================================================================
RCS file: /sources/public/2004/ws/addressing/generate-acknowledgements.xsl,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** generate-acknowledgements.xsl	22 Mar 2005 14:07:33 -0000	1.6
--- generate-acknowledgements.xsl	13 Feb 2006 13:11:57 -0000	1.7
***************
*** 20,33 ****
        <p>Members of the Working Group are (at the time of writing, and by
        alphabetical order):
!       <xsl:apply-templates
! 	  select="//html:table[@class='groupmembers']">
! 	<xsl:with-param name="standing" select="'standing'"/>
!       </xsl:apply-templates>
        </p>
        <p>Previous members of the Working Group were:
!       <xsl:apply-templates
! 	  select="//html:table[@class='groupmembers']">
! 	<xsl:with-param name="standing" select="'no longer'"/>
!       </xsl:apply-templates>
        </p>
        <p>The people who have contributed to <loc
--- 20,31 ----
        <p>Members of the Working Group are (at the time of writing, and by
        alphabetical order):
!       <xsl:call-template name="list-participants">
! 	<xsl:with-param name="participating" select="1"/>
!       </xsl:call-template>
        </p>
        <p>Previous members of the Working Group were:
!       <xsl:call-template name="list-participants">
! 	<xsl:with-param name="participating" select="0"/>
!       </xsl:call-template>
        </p>
        <p>The people who have contributed to <loc
***************
*** 45,57 ****
    </xsl:template>
  
!   <xsl:template match="html:table">
!     <xsl:for-each select="html:tr[position() &gt; 1][contains(html:td[@class='standing'],$standing)]">
! 	<xsl:apply-templates select="."/>
! 	<xsl:if test="position()!=last()">
! 	  <xsl:text>, </xsl:text>
! 	</xsl:if>
! 	<xsl:if test="position()=last()">
! 	  <xsl:text>.</xsl:text>
! 	</xsl:if>
      </xsl:for-each>
    </xsl:template>
--- 43,67 ----
    </xsl:template>
  
!   <xsl:template name="list-participants">
!     <xsl:param name="participating"/>
!     <xsl:variable name="status">
!       <xsl:choose>
! 	<xsl:when test="$participating = 1">
! 	  <xsl:text>good standing</xsl:text>
! 	</xsl:when>
! 	<xsl:otherwise>
! 	  <xsl:text>no longer participating</xsl:text>	  
! 	</xsl:otherwise>
!       </xsl:choose>
!     </xsl:variable>
!     <xsl:for-each select="//html:dl[contains(@class, 'group-member')
! 			  and contains(normalize-space(html:dd[@class='status']), $status)]">
!       <xsl:value-of select="html:dt[@class='foaf-name']"/>
!       <xsl:if test="position()!=last()">
! 	<xsl:text>, </xsl:text>
!       </xsl:if>
!       <xsl:if test="position()=last()">
! 	<xsl:text>.</xsl:text>
!       </xsl:if>
      </xsl:for-each>
    </xsl:template>
Received on Monday, 13 February 2006 13:12:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:19:41 GMT