W3C home > Mailing lists > Public > public-multilingualweb-lt-commits@w3.org > October 2012

its20 CVS commit

From: Felix Sasaki via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 30 Oct 2012 20:40:01 +0000
To: public-multilingualweb-lt-commits@w3.org
Message-Id: <E1TTIbR-0005KX-RN@lionel-hutz.w3.org>
Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/tools/xslt
In directory hutz:/tmp/cvs-serv20431/tools/xslt

Modified Files:
	odd2xmlspec.xsl xmlspec.xsl 
Log Message:
simple list, next try

Index: xmlspec.xsl
===================================================================
RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/tools/xslt/xmlspec.xsl,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- xmlspec.xsl	30 Oct 2012 19:43:42 -0000	1.5
+++ xmlspec.xsl	30 Oct 2012 20:39:59 -0000	1.6
@@ -1668,8 +1668,7 @@
   </xsl:template> 
   
   <!-- slist: simple list -->
-  <!-- using a <blockquote> to indent the list is very wrong, but it works -->
-  <xsl:template match="slist">
+  <xsl:template match="ulist[@role='slist']">
     <ul xmlns="http://www.w3.org/1999/xhtml" style="list-style-type:none">
         <xsl:apply-templates/>
     </ul>

Index: odd2xmlspec.xsl
===================================================================
RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/tools/xslt/odd2xmlspec.xsl,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- odd2xmlspec.xsl	30 Oct 2012 19:34:35 -0000	1.10
+++ odd2xmlspec.xsl	30 Oct 2012 20:39:59 -0000	1.11
@@ -184,10 +184,10 @@
         </ulist>
       </xsl:when>
       <xsl:when test="@type='slist'">
-        <slist>
+        <ulist role="slist">
           <xsl:copy-of select="@diff"/>
-          <xsl:apply-templates mode="slist"/>
-        </slist>
+          <xsl:apply-templates/>
+        </ulist>
       </xsl:when>
       <xsl:otherwise>
         <ulist>
@@ -198,14 +198,6 @@
     </xsl:choose>
   </xsl:template>
 
-
-  <xsl:template match="tei:item[parent::tei:list[@type='slist']]" mode="slist">
-    <sitem>
-      <xsl:copy-of select="@diff"/>
-      <xsl:apply-templates/>
-    </sitem>
-  </xsl:template>
-
   <xsl:template match="tei:item[not(tei:p)]">
     <item>
       <xsl:copy-of select="@diff"/>
Received on Tuesday, 30 October 2012 20:40:03 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:32:38 UTC