You have to define the namespace in a text variable and add that to every node you add to the xml document.
var
Uri: Text;
begin
Uri := 'your namespance';
node:= xmlelement.create('nodname',uri,nodevalue);
end;
Your node value being what you want the value of your node to be.
I hope this helps.
Hi Abdullah,
If the parent nodes namespace is the same as the child namespace, then child node's namespace wont be displayed!
Thank you Bilal Haider for your reply, I have tried NamespaceManager, but I haven't found a solution, maybe due to no prefix or URI value
Hi Abdullah,
I am not sure but try to use RemoveNamespace function available with NamespaceManager .
Stay up to date on forum activity by subscribing.