Fw: [PHP-GTK-DOC] name_to_id is autogenerated?
| From: | Steph Fox | Date: | Wed, 12 Apr 2006 13:51:53 +0000 |
| Subject: | Fw: [PHP-GTK-DOC] name_to_id is autogenerated? | ||
| Groups: | php.gtk.doc | ||
| Request: | Send a blank email to php-gtk-doc+get-2382@lists.php.net to get a copy of this message | ||
PS This is why you saw no problem with linking to properties when there were none. get_prop_id_from_name() isn't generated unless there's a property for it to be generated from.
----- Original Message ----- From: "Steph Fox" <steph@zend.com>
To: "Christian Weiske" <cweiske@cweiske.de>
Cc: "PHP-GTK Doc list" <php-gtk-doc@lists.php.net>
Sent: Wednesday, April 12, 2006 3:45 PM
Subject: Re: [PHP-GTK-DOC] name_to_id is autogenerated?
You're telling me you use a hard-coded copy of name_to_id.xsl, right? OK, no big deal, I'll put it back in CVS... BTW the demo manual works fine here, so I don't know why it isn't working for you. And yes, I already said your system seems faster. It's also less flexible - there are pros and cons in both approaches. Thanks for putting the glossary support in btw! - StephSteph,-- PHP-GTK Documentation Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php __________ NOD32 1.1380 (20060125) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.comCan you repeat that in English? I've no idea what you're talking about...The stylesheet file "stylesheets/html/name_to_id.xsl" is auto-generated by ./configure. It basically contains a huge switch(){} block in every function, be it get_func_id_from_name or get_prop_id_from_name (of course, not a php switch() statement but xslt xsl:when blocks). Last year around that time, I replaced this code with my own that calculated the ids in a generic way, so that the file didn't needed to be generated each time by configure. Now, as the generation is back, the name_to_id.xsl does work for the main manual only, not for the demo manual (as those ids aren't indexed). Further, it is slower because the xslt processor needs to go through a long, long list of xsl:when conditions until it finds the right id, instead of doing a constant 20 lines of code for each id. I wanted to know why you changed it back to the generated-by-configure-version instead of keeping my code? __________ NOD32 1.1380 (20060125) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.com