Continuing my previous question: simplexml_load_file does not recognize <dc:title> tags
How would you go about setting a value for a <dc:
element? I managed to print its value but I read online that the XML parser is only for selecting data, not setting it.
EDIT: Using simplexml_load_file()
and PHP
What i'm trying to do using PHP basically is to change this <dc:title>test</dc:title>
to <dc:title>HELLO</dc:title>
for example, and if that tag <dc:title>
doesn't exist than add it.