Hi All,
I am trying to generate xml file.
But there is extra namespace coming in CstmrCdtTrfInitn node.
Expected :
Please see my code below
rootNode = xmlDoc.documentElement();
docNode = xmlDoc.createElement2('Document',"urn:iso:std:iso:20022:tech:xsd:pain.001.001.03");
docNode.SetAttribute("xmlns:xsi", "http://www.w3.org/2001/XMLSchema-instance");
xmlDoc.appendChild(docNode);
XmlNode CstmrNode;
CstmrNode = xmlDoc.createElement('CstmrCdtTrfInitn');
docNode.appendChild(CstmrNode); //todo
xmlElement = xmlDoc.createElement('GrpHdr');
NodeName = CstmrNode.appendChild(xmlElement);
Please help.
Thanks,
Priya