cvs: php-gtk-doc /stylesheets/xsl/html name_to_id.xsl
| From: | James Moore | Date: | Sat, 09 Jun 2001 15:08:50 +0000 |
| Subject: | cvs: php-gtk-doc /stylesheets/xsl/html name_to_id.xsl | ||
| Groups: | php.gtk | ||
| Request: | Send a blank email to php-gtk+get-1934@lists.php.net to get a copy of this message | ||
jmoore Sat Jun 9 17:08:50 2001 EDT
Modified files:
/php-gtk-doc/stylesheets/xsl/html name_to_id.xsl
Log:
Make this work for constructors too
Index: php-gtk-doc/stylesheets/xsl/html/name_to_id.xsl
diff -u php-gtk-doc/stylesheets/xsl/html/name_to_id.xsl:1.2
php-gtk-doc/stylesheets/xsl/html/name_to_id.xsl:1.3
--- php-gtk-doc/stylesheets/xsl/html/name_to_id.xsl:1.2 Sat Jun 9 15:50:16 2001
+++ php-gtk-doc/stylesheets/xsl/html/name_to_id.xsl Sat Jun 9 17:08:50 2001
@@ -15,7 +15,7 @@
<xsl:template name="get_func_id_from_name">
<xsl:param name="funcname" />
- <xsl:variable name="method"
select="//method[funcsynopsis/funcprototype/funcdef/function=$funcname]"/>
+ <xsl:variable name="method"
select="//*[funcsynopsis/funcprototype/funcdef/function=$funcname]"/>
<xsl:value-of select="$method/attribute::id" />
</xsl:template>