You were right, I found the following:

#  Declare the function that runs each time
#     character data is encountered.
function CharacterHandler($Parser, $Line) {
   global $CData;

   #  Place lines into an array because elements
   #     can contain more than one line of data.
   $CData[] = $Line;

This should, obviously solve the problem, but I am not sure how I should go
about using it?
Later on, you make the $Cdata a string, $temp, and then the next time you
use it: $Temp = $Data['TRADE-DATETIME']
You re-assign it again without using the data. Did I miss something?

-----Original Message-----
From: Analysis & Solutions [mailto:[EMAIL PROTECTED]]
Sent: Sunday, June 30, 2002 8:27 PM
To: PHP List
Subject: Re: [PHP] XML Problem

On Sun, Jun 30, 2002 at 05:58:59PM +0200, Sebastian A. wrote:
>
>       I am having some problems parsing XML with PHP. Here is an
> example of my problem:

The answer hasn't changed since the last time we had this same
discussion back in early May.  Search groups.google.com for message id
[EMAIL PROTECTED]

--Dan

--
               PHP classes that make web design easier
        SQL Solution  |   Layout Solution   |  Form Solution
    sqlsolution.info  | layoutsolution.info |  formsolution.info
 T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
 4015 7 Av #4AJ, Brooklyn NY     v: 718-854-0335     f: 718-854-0409

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to