Msg#: 4442849 posted 8:24 am on Apr 19, 2012 (gmt 0)
Suppose you have an xml-file with the following structure (taken from the php manual):
<movie> <title>PHP: Behind the Parser</title> <plot> So, this <o>language</o>. It's like, a programming language. Or is it a scripting language? All is revealed in this thrilling horror spoof of a documentary. </plot> </movie>
I made one change to this code as opposed to the original, I added an <o> 'inline' tag as child of <plot>.
When I use this xml to create a SimpleXML Element the node 'plot' drops this <o> tag and it's contents (<o>language</o>. Is there anyway to either keep the tag or at least its contents?