Hola. I'm trying to use the supplied stylesheets in the xsl dir of phpdoc for checking my work. I'm not having a lot of luck. I'm using saxon.jar to apply the phpweb.xsl sheet to en/reference/xslt/functions/xslt-set-base.xml and it always errors out on the "methodsynopsis" template rule. Here's the error output:
Recoverable error Ambiguous rule match for /refentry[1]/refsect1[1]/methodsynopsis[1] Matches both "methodsynopsis" on line 222 of file:/home/roy/phpdoc/xsl/html-common.xsl and "methodsynopsis" on line 64 of file:/home/roy/phpdoc/xsl/common.xsl I checked on it. There are two declarations of the "methodsynopsis" template rule and both of them have the same import precedence (i.e. neither one was imported.) So I can't see any way that anyone could run phpweb.xsl and have it work. I commented one instance of the rule and the transformation succeeded, but the output was blank. I then deleted the comment tags and commented out the other instance of the rule, once again resulting in blank output. The blank output is probably a different issue. My real question is: has anyone else been using the stylesheets and if so, are you having more success than I am? If not, I'd like to investigate making them work more reliably. Thanks much! -Roy --- This mail has been scanned for viruses by AVG. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.435 / Virus Database: 244 - Release Date: 12/31/2002 -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php