- From: Hugo Haas via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 21 Nov 2005 14:13:43 +0000
- To: public-ws-desc-eds@w3.org
Update of /sources/public/2002/ws/desc/wsdl20
In directory homer:/tmp/cvs-serv4803
Modified Files:
xmlspec-wsdl.xsl xmlspec.xsl
Log Message:
Showing assertion table only when showAssertions is true
Index: xmlspec.xsl
===================================================================
RCS file: /sources/public/2002/ws/desc/wsdl20/xmlspec.xsl,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** xmlspec.xsl 2 Aug 2005 07:23:31 -0000 1.15
--- xmlspec.xsl 21 Nov 2005 14:13:40 -0000 1.16
***************
*** 2507,2510 ****
--- 2507,2511 ----
<!-- MJH added new mode shorttoc -->
<xsl:template mode="shorttoc" match="inform-div1">
+ <xsl:if test="$showAssertions='true' or not(@id='assertionsummary')">
<xsl:apply-templates select="." mode="divnum"/>
<a>
***************
*** 2518,2521 ****
--- 2519,2523 ----
<xsl:text> (Non-Normative)</xsl:text>
<br/>
+ </xsl:if>
</xsl:template>
Index: xmlspec-wsdl.xsl
===================================================================
RCS file: /sources/public/2002/ws/desc/wsdl20/xmlspec-wsdl.xsl,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** xmlspec-wsdl.xsl 18 Nov 2005 20:16:28 -0000 1.11
--- xmlspec-wsdl.xsl 21 Nov 2005 14:13:40 -0000 1.12
***************
*** 56,59 ****
--- 56,65 ----
</xsl:template>
+ <xsl:template match="*[@id='assertionsummary']">
+ <xsl:if test="$showAssertions='true'">
+ <xsl:apply-templates/>
+ </xsl:if>
+ </xsl:template>
+
<!-- Name the assertion summary table entry and link back to the assertion. -->
<xsl:template match="assert-summary">
Received on Monday, 21 November 2005 14:13:50 UTC