How to create XML tag with the namespace-prefix and colon via PeopleCode (XMLDOC class)
I am working on XmlDoc Class Outbound Synchronous request creating XML message. I need to add a namespace prefix to the root /sub-elements via CreateDocumentElement, AddElement methods.
It should look like this ==> <data:Status>Closed</data:Status>
How can I accomplish this?