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

From: Date: Thu, 29 Jul 2004 05:43:46 +0000
Subject: cvs: php-gtk-doc /stylesheets/html updates.xsl
Groups: php.gtk.doc 
Request: Send a blank email to php-gtk-doc+get-952@lists.php.net to get a copy of this message
andrei Thu Jul 29 01:43:46 2004 EDT Modified files: /php-gtk-doc/stylesheets/html updates.xsl Log: Fix the looping template. http://cvs.php.net/diff.php/php-gtk-doc/stylesheets/html/updates.xsl?r1=1.1&r2=1.2&ty=u Index: php-gtk-doc/stylesheets/html/updates.xsl diff -u php-gtk-doc/stylesheets/html/updates.xsl:1.1 php-gtk-doc/stylesheets/html/updates.xsl:1.2 --- php-gtk-doc/stylesheets/html/updates.xsl:1.1 Thu Jul 29 00:04:13 2004 +++ php-gtk-doc/stylesheets/html/updates.xsl Thu Jul 29 01:43:46 2004 @@ -16,12 +16,12 @@ <xsl:strip-space elements="*"/> <xsl:template name="last"> - <xsl:param name="path"/> - <xsl:param name="titlepath"/> - <xsl:for-each select="$path"> + <xsl:param name="nodes"/> + <xsl:param name="titlename"/> + <xsl:for-each select="$nodes"> <li> <xsl:variable name="id"><xsl:value-of select="@id"/></xsl:variable> - <a href="http://gtk.php.net/manual/en/{$id}.php"><xsl:value-of select="$titlepath"/></a> + <a href="http://gtk.php.net/manual/en/{$id}.php"><xsl:value-of select="descendant::*[name()=$titlename]"/></a> </li> <xsl:text> </xsl:text> @@ -36,16 +36,16 @@ <p> <ul> <xsl:call-template name="last"> - <xsl:with-param name="path" select="//classentry"/> - <xsl:with-param name="titlepath" select="//classtitle"/> + <xsl:with-param name="nodes" select="./classset/classentry"/> + <xsl:with-param name="titlename">classtitle</xsl:with-param> </xsl:call-template> <xsl:call-template name="last"> - <xsl:with-param name="path" select="//refentry"/> - <xsl:with-param name="titlepath" select="//refentrytitle"/> + <xsl:with-param name="nodes" select="//refentry"/> + <xsl:with-param name="titlename">refentrytitle</xsl:with-param> </xsl:call-template> <xsl:call-template name="last"> - <xsl:with-param name="path" select="//chapter"/> - <xsl:with-param name="titlepath" select="//chapter/title"/> + <xsl:with-param name="nodes" select="//chapter"/> + <xsl:with-param name="titlename">title</xsl:with-param> </xsl:call-template> </ul> </p>

« previous php.gtk.doc (#952) next »