PEAR Manual
Prev |  | Next

# XML_Statistics::analyzeString()

XML_Statistics::analyzeString() -- Analyze an XML string

## Synopsis

    require_once 'XML/Statistics.php';

``string XML_Statistics::analyzeString` (string $string)`

## Description

Analyzes an XML document directly from a string. This can be useful if your documents are created on the fly by any other application. You have to analyze a document before you can extract any statistical information.

## Return value

Returns `TRUE` on success, PEAR_Error on failure.

## Note

This function can not be called statically.

## See

XML_Statistics::analyzeFile()

Prev | Home | Next
XML_Statistics::analyzeFile() | Up | XML_Statistics::countTag()