- From: Felix Sasaki via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 30 Oct 2012 19:34:37 +0000
- To: public-multilingualweb-lt-commits@w3.org
Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/tools/xslt In directory hutz:/tmp/cvs-serv7021/tools/xslt Modified Files: odd2xmlspec.xsl Log Message: New list behavior Index: odd2xmlspec.xsl =================================================================== RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/tools/xslt/odd2xmlspec.xsl,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- odd2xmlspec.xsl 18 Oct 2012 10:10:12 -0000 1.9 +++ odd2xmlspec.xsl 30 Oct 2012 19:34:35 -0000 1.10 @@ -183,6 +183,12 @@ <xsl:apply-templates/> </ulist> </xsl:when> + <xsl:when test="@type='slist'"> + <slist> + <xsl:copy-of select="@diff"/> + <xsl:apply-templates mode="slist"/> + </slist> + </xsl:when> <xsl:otherwise> <ulist> <xsl:copy-of select="@diff"/> @@ -192,6 +198,14 @@ </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 19:34:42 UTC