W3C home > Mailing lists > Public > public-ws-policy-eds@w3.org > January 2007

2006/ws/policy xmlspec.xsl,1.1,1.2

From: Philippe Le Hegaret via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 30 Jan 2007 15:49:13 +0000
To: public-ws-policy-eds@w3.org
Message-Id: <E1HBvEP-0001mm-Sd@lionel-hutz.w3.org>

Update of /sources/public/2006/ws/policy
In directory hutz:/tmp/cvs-serv6843

Modified Files:
	xmlspec.xsl 
Log Message:
Fixed the count for tables


Index: xmlspec.xsl
===================================================================
RCS file: /sources/public/2006/ws/policy/xmlspec.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- xmlspec.xsl	31 May 2006 17:20:37 -0000	1.1
+++ xmlspec.xsl	30 Jan 2007 15:49:11 -0000	1.2
@@ -2262,12 +2262,12 @@
   <xsl:template mode="divnum" match="table/caption">
     <xsl:number count="div1" level="multiple" format="1"/>
     <xsl:text>-</xsl:text>
-    <xsl:number level="any" from='div1' count="table" format="1"/>
+    <xsl:number level="any" from='div1' count="table/caption" format="1"/>
   </xsl:template>
   <xsl:template mode="divnum" match="back//table/caption">
     <xsl:number count="div1 | inform-div1" level="multiple" format="A"/>
     <xsl:text>-</xsl:text>
-    <xsl:number level="any" from='div1 | inform-div1' count="table" format="1"/>
+    <xsl:number level="any" from='div1 | inform-div1' count="table/caption" format="1"/>
   </xsl:template>
 
   <!-- JJM added -->
Received on Tuesday, 30 January 2007 15:49:23 GMT

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