php: replace text in xml doc
php: replace text in xml doc
Out of context: Reply #14
- Started
- Last post
- 27 Responses
- acescence0
simplexml can't create proper cdata nodes. it's really more for just reading xml. that above code will result in conversion of the < > entities. you have to use the php xml dom functions.