its20 CVS commit

Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/tools/xslt
In directory hutz:/tmp/cvs-serv26181/tools/xslt

Modified Files:
	verbatim.xsl 
Log Message:
Trying to fix html5 example output - more in Prague probably

Index: verbatim.xsl
===================================================================
RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/tools/xslt/verbatim.xsl,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- verbatim.xsl	16 Sep 2012 11:22:19 -0000	1.7
+++ verbatim.xsl	17 Sep 2012 10:14:44 -0000	1.8
@@ -379,7 +379,9 @@
     <xsl:otherwise>
       <xsl:choose>
         <xsl:when test="not(ancestor::html)"><xsl:text>/&gt;</xsl:text></xsl:when>
-        <xsl:otherwise><xsl:text>&gt;&lt;/</xsl:text><xsl:value-of select="name()"/><xsl:text>&gt;</xsl:text></xsl:otherwise></xsl:choose>
+        <xsl:otherwise><xsl:choose>
+          <xsl:when test="self::area or self::base or self::br or self::col or self::command or self::embed or self::hr or self::img or self::input or self::keygen or self::link or self::meta or self::param or self::source or self::track or self::wbr"><xsl:text>&gt;</xsl:text></xsl:when>
+          <xsl:otherwise><xsl:text>&gt;&lt;/</xsl:text><xsl:value-of select="name()"/><xsl:text>&gt;</xsl:text></xsl:otherwise></xsl:choose></xsl:otherwise></xsl:choose>
       <xsl:value-of disable-output-escaping="yes" select="$endBold"/>
     </xsl:otherwise>
   </xsl:choose>

Received on Monday, 17 September 2012 10:14:47 UTC