estoy creando un XML
Código Delphi
[-]
procedure TfrmEmisionFactura.GenerarClick(Sender: TObject);
var
tDocXmlNombre: string;
XmlSunat: IXMLDOCUMENT;
nMaster, nPrimero, nSegundo, nTercero, nCuarto, nQuinto, nAtributo, nItem,
nItemSub, nCDATA: IXMLNODE;
_archivo :string;
begin
XmlSunat := NewXMLDocument;
XmlSunat.Version := '1.0';
XmlSunat.Encoding := 'UTF-8';
XmlSunat.StandAlone := 'no';
XmlSunat.Active := True;
XmlSunat.Options := [doNodeAutoIndent];
nPrimero := nMaster.AddChild('cbc:ProfileId');
nPrimero.Attributes['schemeName'] := 'SUNAT:Identificador de Tipo de Operación';
nPrimero.Attributes['schemeAgencyName'] := 'PE:SUNAT';
nPrimero.Attributes['schemeURI'] := 'urne:gob:sunat:cpe:see:gem:catalogos:catalogo17';
nPrimero.Text := '0101';
XmlSunat.SaveToFile(_archivo);
pero cuando veo el archivo generado (que por cierto esta tomando buena forma)
no salta linea a pesar de que tiene XmlSunat.Options := [doNodeAutoIndent];
alguien sabe que sucede?