[phpXML] Re: [phpXML] phpXML bug (I think!)
Brought to you by:
bs_php,
nigelswinson
From: <nig...@us...> - 2001-10-09 13:11:10
|
You've obviously not been on the list long. There has been major = discussion about this. I will forward to you separetely the list of = emails relating to this topic. Nigel ----- Original Message -----=20 From: <ga...@wh...> To: <us...@li...> Sent: Friday, July 06, 2001 2:20 PM Subject: [phpXML] phpXML bug (I think!) > Hi, >=20 > We've been using your phpXML class in a project and have come across a > problem. Basically, this section of XML below: >=20 > <paragraph> > This is the first <bold>paragraph</bold>. A second is below > </paragraph> >=20 > 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: >=20 > <paragraph> > This is the first . A second is below > <bold>paragraph</bold> > </paragraph> >=20 > 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. >=20 > If anybody does have any ideas I'd appreciate hearing them :) >=20 > Regards, >=20 > Gareth Lancaster >=20 >=20 >=20 > -- > This message has been sent through the <phpXML/> user discussion list. = To unsubscribe, please visit = https://sslsites.de/mailinglisten/user/us...@li.../ >=20 -- This message has been sent through the <phpXML/> user discussion list. To unsubscribe, please visit https://sslsites.de/mailinglisten/user/us...@li.../ |