cvs: phpdoc /xsl quickref.xsl

From: Date: Sun, 14 Nov 2004 22:30:58 +0000
Subject: cvs: phpdoc /xsl quickref.xsl
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969365083@lists.php.net to get a copy of this message
techtonik Sun Nov 14 17:30:58 2004 EDT Modified files: /phpdoc/xsl quickref.xsl Log: write quick reference for every refname if there are more than one (e.g. mysqli) http://cvs.php.net/diff.php/phpdoc/xsl/quickref.xsl?r1=1.4&r2=1.5&ty=u Index: phpdoc/xsl/quickref.xsl diff -u phpdoc/xsl/quickref.xsl:1.4 phpdoc/xsl/quickref.xsl:1.5 --- phpdoc/xsl/quickref.xsl:1.4 Sun Nov 14 15:37:29 2004 +++ phpdoc/xsl/quickref.xsl Sun Nov 14 17:30:57 2004 @@ -3,7 +3,7 @@ quickref.xsl: Stylesheet for generating quick-reference - $Id: quickref.xsl,v 1.4 2004/11/14 20:37:29 techtonik Exp $ + $Id: quickref.xsl,v 1.5 2004/11/14 22:30:57 techtonik Exp $ --> <!DOCTYPE xsl:stylesheet [ @@ -38,12 +38,12 @@ <xsl:template match="refnamediv"> <!-- function reference names can't contain spaces --> - <xsl:if test="not (contains(normalize-space(refname),' '))"> - <xsl:value-of select="normalize-space(refname)"/> + <xsl:for-each select="refname[not(contains(normalize-space(),' '))]"> + <xsl:value-of select="normalize-space()"/> <xsl:text> - </xsl:text> - <xsl:value-of select="normalize-space(refpurpose)"/> + <xsl:value-of select="normalize-space(../refpurpose)"/> <xsl:text>&#10;</xsl:text> - </xsl:if> + </xsl:for-each> </xsl:template> </xsl:stylesheet> \ No newline at end of file

« previous php.doc (#969365083) next »