cvs: php-gtk-doc /stylesheets/html synop.xsl

[email protected] ("Christian Weiske")
Newsgroups php.gtk.doc
Message-ID <cvscweiske1160584474@cvsserver>
cweiske		Wed Oct 11 16:34:34 2006 UTC

  Modified files:              
    /php-gtk-doc/stylesheets/html	synop.xsl 
  Log:
  Fixing bug in stylesheet:
  Parameters were not shown if they had no type or some other
  text before the <parameter> tag
  
  
http://cvs.php.net/viewvc.cgi/php-gtk-doc/stylesheets/html/synop.xsl?r1=1.7&r2=1.8&diff_format=u
Index: php-gtk-doc/stylesheets/html/synop.xsl
diff -u php-gtk-doc/stylesheets/html/synop.xsl:1.7 php-gtk-doc/stylesheets/html/synop.xsl:1.8
--- php-gtk-doc/stylesheets/html/synop.xsl:1.7	Mon Oct 31 10:49:27 2005
+++ php-gtk-doc/stylesheets/html/synop.xsl	Wed Oct 11 16:34:34 2006
@@ -7,7 +7,7 @@
                 version='1.0'>
 
 <!-- ********************************************************************
-     $Id: synop.xsl,v 1.7 2005/10/31 10:49:27 cweiske Exp $
+     $Id: synop.xsl,v 1.8 2006/10/11 16:34:34 cweiske Exp $
      ********************************************************************
 
      This file is part of the XSL DocBook Stylesheet distribution.
@@ -45,7 +45,8 @@
   <xsl:if test="preceding-sibling::paramdef">
    <xsl:text>, </xsl:text>
   </xsl:if>
-  <xsl:if test="text() != 'void'">
+  <xsl:if test="not(text() = 'void')">
+<xsl:message>!<xsl:value-of select="parameter/text()"/>!</xsl:message>
    <xsl:choose>
     <xsl:when test="$funcsynopsis.style='ansi'">
      <xsl:apply-templates/>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.