[phpXML] phpXML bug (I think!)
Brought to you by:
bs_php,
nigelswinson
From: <ga...@wh...> - 2001-10-08 15:42:31
|
Hi, We've been using your phpXML class in a project and have come across a problem. Basically, this section of XML below: <paragraph> This is the first <bold>paragraph</bold>. A second is below </paragraph> When we read it in from a file, and do some work on the XML and then re-export it as a file it becomes the following: <paragraph> This is the first . A second is below <bold>paragraph</bold> </paragraph> This obviously isn't correct according to the way the XML went it (and this is an accepted thing to do as in an XML document as far as I am aware) - it appears that phpXML is taking elements that occur within other elements (when the parent element has data) and putting them at the end of the parent's content. Has this problem been identified before and, if so, does anybody have a work-around for it as we're quite a way into the project now and we don't really want to remove phpXML from it. If anybody does have any ideas I'd appreciate hearing them :) Regards, Gareth Lancaster -- This message has been sent through the <phpXML/> user discussion list. To unsubscribe, please visit https://sslsites.de/mailinglisten/user/us...@li.../ |