Update of /var/cvs/applications/richtext/config/xslt
In directory james.mmbase.org:/tmp/cvs-serv427
Modified Files:
2rich.xslt
Log Message:
small bugfix
See also: http://cvs.mmbase.org/viewcvs/applications/richtext/config/xslt
Index: 2rich.xslt
===================================================================
RCS file: /var/cvs/applications/richtext/config/xslt/2rich.xslt,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- 2rich.xslt 1 Apr 2008 14:52:41 -0000 1.2
+++ 2rich.xslt 15 Apr 2008 15:54:52 -0000 1.3
@@ -3,7 +3,7 @@
org.mmbase.bridge.util.Generator, and the XSL is invoked by FormatterTag.
@author: Michiel Meeuwissen
- @version: $Id: 2rich.xslt,v 1.2 2008/04/01 14:52:41 michiel Exp $
+ @version: $Id: 2rich.xslt,v 1.3 2008/04/15 15:54:52 michiel Exp $
@since: MMBase-1.6
-->
<xsl:stylesheet
@@ -83,7 +83,7 @@
<xsl:choose>
<xsl:when test="count($relatednodes) > 0 or $show_broken = 'true'" >
<xsl:text>[</xsl:text><xsl:value-of select="@id" />
- <xsl:if test="count(*|text()) > 0">
+ <xsl:if test="count(*|text()) > 1 or (count(*|text()) = 1 and
count(text()) > 0)">
<xsl:text>:</xsl:text>
<xsl:apply-templates />
</xsl:if>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs