Qzyhwipbsnzad
New Member
So I have XML with perfectly nested tags, however I'm ending up with weird characters directly outside of tags, such as:\[code\]<root><a_tag>Some perfectly valid string</a_tag> this<b_tag>more data</b_tag> <c_tag>some more data</c_tag> 0</root>\[/code\]Is there a function in PHP that does this natively, or will I need a regex to accomplish it?Only function I'm already running on is from this answer: http://stackoverflow.com/a/3466049Thanks!