[phpXML] Re: [phpXML] Re: [phpXML] Little Question
Brought to you by:
bs_php,
nigelswinson
From: <die...@ga...> - 2001-10-05 10:15:17
|
since php parser calls content handler many times per content (for all specials chars and line breaks of any kind), i worked around it by only trim()ing element content in the end element handler (ie, all calls to cdata handler are finished for that element). ----- Original Message ----- From: <rot...@ne...> To: <us...@li...> Sent: Friday, June 29, 2001 12:04 AM Subject: [phpXML] Re: [phpXML] Little Question > There's something wrong with the XML class, so that if you have > <node1> > text, <node2>more text</node2> blah1 > </node> > > it will output it as: > text, blah1more text. > > Also, you should remove the trim() from the text handler. > > ~Tom~ > > > -- > This message has been sent through the <phpXML/> user discussion list. To unsubscribe, please visit https://sslsites.de/mailinglisten/user/us...@li.../ > -- This message has been sent through the <phpXML/> user discussion list. To unsubscribe, please visit https://sslsites.de/mailinglisten/user/us...@li.../ |