Cardinal from IRC answered my question. It turns out that when you indent
your childs with tabs, it sees those tabs as cdata of the root element. I
had the following XML file:
sampleDBName
sampleUser
localhost
The tabs in front of the child elements were treated as CDATA of the
roo
"Leendert" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> It appears that:
>
> xml_set_character_data_handler($parser, 'handleData');
>
> calls handleData() 3 times per element. Does anyone know the reason behind
> this? Sounds like that could be very inefficie
2 matches
Mail list logo