CDATA - how to remove?
Brought to you by:
bs_php,
nigelswinson
From: Robert W. <rob...@gm...> - 2005-07-13 10:23:57
|
hi, i have to update a very old phpxpath version. now some problems occured. when using getData(), every text node containing CDATA is returned with the CDATA statement in it. the CHANGES file says: >Version 2.2 - 2nd February 2002 >CData support started You can now losslessly import and >export CDATA in and out of the class. is there a function that removes the CDATA stuff? if not, i think it's quite annoying, that everybody had to write his own function to do that. cheers, robert |