Re: entity usage

From: Date: Sat, 22 Sep 2001 14:16:30 +0000
Subject: Re: entity usage
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969337684@lists.php.net to get a copy of this message
> I have addded a new script (entities.php) in the scripts > dir. What it does, is to extract the entity names from > a given entity file (eg. global.ent) and try to find > them used in a given translations XML files. > > This helps to eliminate the numerous unused entities > in global.ent and other entity. It shows many entities > unused. The generated entity_usage.txt attached (the > unused entities are marked with ++). This script could also print out a page that what entities are used where, as it is stored inside an array, but currently it is not doing this (there would be some really long lists as for the true, false and null entities). Goba

« previous php.doc (#969337684) next »