On Sun, Feb 04, 2001 at 04:13:55PM -0700, Ron Chmara wrote: > Egon Schmid wrote: > > eschmid Sun Feb 4 14:59:51 2001 EDT > > Modified files: > > /phpdoc/en/functions xslt.xml > > Log: > > Indentation in examples should be four spaces. > > About this: > > > -if (xslt_process($xslData, $xmlData, $result)) > > -{ > > +if (xslt_process($xslData, $xmlData, $result)) { > > echo "Here is the brilliant in-depth article on learning"; > > -} > > -else > > -{ > > +} else { > > echo "There was an error that occurred in the XSL transformation...\n"; > > Should we establish a standard for bracket usage? Four spaces is currently > standardized and documented (phpdoc/README), but bracketing is not, AFAICT. Yes it is not documented. I prefer the } else { style. -Egon -- http://www.linuxtag.de/ http://php.net/books.php http://www.concert-band.de/ http://www.php-buch.de/
- [PHP-DOC] cvs: phpdoc /en/functions xslt.xml Sterling Hughes
- [PHP-DOC] cvs: phpdoc /en/functions xslt.xml Sebastian Bergmann
- Re: [PHP-DOC] cvs: phpdoc /en/functions xslt... Derick Rethans
- Re: [PHP-DOC] cvs: phpdoc /en/functions ... Sebastian Bergmann
- [PHP-DOC] cvs: phpdoc /en/functions xslt.xml Egon Schmid
- Re: [PHP-DOC] cvs: phpdoc /en/functions xslt... Ron Chmara
- RE: [PHP-DOC] cvs: phpdoc /en/functions ... eschmid+sic
- RE: [PHP-DOC] cvs: phpdoc /en/functi... James Moore
- Re: [PHP-DOC] cvs: phpdoc /en/f... eschmid+sic
- RE: [PHP-DOC] cvs: phpdoc /... James Moore
- Re: [PHP-DOC] cvs: phpd... eschmid+sic
- Re: [PHP-DOC] cvs: phpd... Ron Chmara
- [PHP-DOC] cvs: phpdoc /en/functions xslt.xml Jesus M. Castagnetto
- [PHP-DOC] cvs: phpdoc /en/functions xslt.xml Jesus M. Castagnetto
- [PHP-DOC] cvs: phpdoc /en/functions xslt.xml Damien Seguy
- [PHP-DOC] cvs: phpdoc /en/functions xslt.xml Rasmus Lerdorf
- [PHP-DOC] cvs: phpdoc /en/functions xslt.xml Damien Seguy