- From: Felix Sasaki via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 27 Aug 2012 15:28:51 +0000
- To: public-multilingualweb-lt-commits@w3.org
Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/tools/xslt In directory hutz:/tmp/cvs-serv30426/tools/xslt Modified Files: odd2xmlspec.xsl verbatim.xsl Log Message: pub prep Index: verbatim.xsl =================================================================== RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/tools/xslt/verbatim.xsl,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- verbatim.xsl 8 Aug 2012 14:04:00 -0000 1.4 +++ verbatim.xsl 27 Aug 2012 15:28:49 -0000 1.5 @@ -7,9 +7,9 @@ xmlns:db="http://docbook.org/ns/docbook" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:tei="http://www.tei-c.org/ns/1.0" - xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" + xmlns:eg="http://www.tei-c.org/ns/Examples"> -<xsl:param name="html5">no</xsl:param> <xsl:param name="startBold"><span class="element"></xsl:param> <xsl:param name="endBold"></span></xsl:param> <xsl:param name="startItalic"><span class="attribute"></xsl:param> @@ -226,7 +226,7 @@ <xsl:for-each select="self::its:rules|its:*[@selector]"> <!-- This should help to do the right thing for HTML5: not(.='http://www.w3.org/1999/xhtml') and $html5='yes' --> - <xsl:for-each select="namespace::*[not(.='http://www.w3.org/1999/xhtml') and $html5='yes']"> + <xsl:for-each select="namespace::*[not(.='http://www.w3.org/1999/xhtml')]"> <xsl:choose> <xsl:when test="name(.)=''"/> <xsl:when test="name(.)='its'"/> @@ -370,7 +370,9 @@ <xsl:text>></xsl:text> </xsl:when> <xsl:otherwise> - <xsl:text>/></xsl:text> + <xsl:choose> + <xsl:when test="not(/html)"><xsl:text>/></xsl:text></xsl:when> + <xsl:otherwise><xsl:text>><</xsl:text><xsl:value-of select="name()"/><xsl:text>></xsl:text></xsl:otherwise></xsl:choose> <xsl:value-of disable-output-escaping="yes" select="$endBold"/> </xsl:otherwise> </xsl:choose> Index: odd2xmlspec.xsl =================================================================== RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/tools/xslt/odd2xmlspec.xsl,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- odd2xmlspec.xsl 26 Jul 2012 11:03:00 -0000 1.5 +++ odd2xmlspec.xsl 27 Aug 2012 15:28:49 -0000 1.6 @@ -1244,9 +1244,6 @@ <xsl:apply-templates select="document(@target)/*" mode="verbatim"> - <xsl:with-param name="html5"> - <xsl:if test="@type='html5'">yes</xsl:if> - </xsl:with-param> </xsl:apply-templates> </eg> <p>[Source file: <loc href="{@target}"><xsl:value-of select="@target"/></loc>]</p>
Received on Monday, 27 August 2012 15:29:00 UTC