< Parser: Start Tag Handler   (Previous) Table of Contents (Next)   Parser: End Tag Handler >

Parser: Character Data Handler

/**
 * Processes data between XML tags.
 *
 * <p>Places character data from the current XML element
 * into a temporary array, $this->CData.  The XML parser
 * automatically calls this function each time a new line
 * of data is found between element tags.  Don't call this
 * manually.</p>
 *
 * <p>We temporarily store the data because some
 * elements have multiple lines of information but the XML
 * parser only remembers the current line.</p>
 *
 * @param   mixed    $Parser  variable to contain the current parser's reference id
 * @param   mixed    $Line    variable to contain the present line's data
 */
function saxCharacterHandler(&$Parser, &$Line) {
    if ($this->IgnoreTheRest == 'Y') {
        return;
    }
    $this->CData[] = $Line;
}