[RfC] XML_Statistics
| From: | Stephan Schmidt | Date: | Fri, 05 Sep 2003 19:14:22 +0000 |
| Subject: | [RfC] XML_Statistics | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-21107@lists.php.net to get a copy of this message | ||
Hi,
I'd like to propose a new package called XML_Statistics. I can be used
to obtain a lot of statistical information from XML documents.
Currently, it's able to get:
* total number of tags in document
* number of tags in a specific nesting level (i.e. number recordsets in
RDF document)
* occurences of a specific tag
* total number of attributes in document
* occurences of a specific attribute
* occurences of a specific attribute in a specific tag
* total number of processing instructions
* total number of processing instructions for a certain target
* total number of external entities
* total number of a specific external entity
* number of CData chunks
* total length of all CData chunks
Sourcecode and more can be found at:
http://www.php-tools.de/PEAR/XML_Statistics/
Comments welcome.
Stephan