Detect xml namespace and strip (PHP)
$30-250 USD
Πληρώθηκε κατά την παράδοση
I have a payload in a PHP variable i.e.
$payload = "
Hello there
";
I want to srip the namespaces in $payload, so that
print $payload;
produces
Hello there
ie the cc: namepaces has been stripped. Note that the specific prex name (ie. "cc") is completely arbitrary and can change at any time (but would obviously be defined as a namespace in a parent element.
In effect, the "cc" prefix can change, but the url (i.e. "[url removed, login to view]") will always be the same
Ταυτότητα Εργασίας: #1373792