Tema: error XML
Ver Mensaje Individual
  #3  
Antiguo 17-03-2017
ANCELMO ANCELMO is offline
Miembro
 
Registrado: nov 2016
Posts: 22
Reputación: 0
ANCELMO Va por buen camino
ok.

aun nodo tengo que masdarle un atributo en el archivo xml y se tiene que mostrar xmlns="urn:iso:std:iso:20022:tech:xsdacs.009.001.02"
el error es que si lo envio asi

nodoprincipal := Xml.AddChild('Document');
nodoprincipal.SetAttributeNS('xmlns:','','urn:iso:std:iso:20022:tech:xsdacs.009.001.02');
fininstncdttrf := nodoprincipal.AddChild('FinInstnCdtTrf');

en archivo se muestra asi


-<Document xmlns="urn:iso:std:iso:20022:tech:xsdacs.009.001.02">


-<FinInstnCdtTrf xmlns="">

el error esta en que en el segundo nodo no debe ir ningun atributo
Responder Con Cita