PHP DOMElement nodeValue not persisting escaped(encoded) characters
I have been given an unusual goal and that is to create an XML with no CDATA element from a multidimensional array with these constraints: CDATA shouldn't be used <, >, ', ", & - These chars should be encoded.…