D
dianas28
Guest
Good evening, I already know how to write xml files in the same file, the matter now is how I write files now separately, example: file 1, file 2, file 3 ... Can someone tell me how to please ... For each xml write do one xml separately.
Currently I write the files like this and it works well, but I need to make xml file separately
Dim configuracionArchivo As New XmlWriterSettings
configuracionArchivo.Indent = True
Using escribiendoFactura As XmlWriter = XmlWriter.Create("Facturas.xml", configuracionArchivo)
With escribiendoFactura
'Write the xml declaration
.WriteStartDocument()
.WriteStartElement("Facturas")
.WriteStartElement("Factura")
'.WriteStartElement("FechaCompra")
'.WriteString(lblFecha.Text)
'.WriteEndElement()
'Nodos de factura
.WriteStartElement("CedulaJuridica")
.WriteString(txtCedulaJuridica.Text.ToString)
.WriteEndElement()
.WriteEndElement()
.WriteEndDocument()
.Flush()
.Close()
Continue reading...
Currently I write the files like this and it works well, but I need to make xml file separately
Dim configuracionArchivo As New XmlWriterSettings
configuracionArchivo.Indent = True
Using escribiendoFactura As XmlWriter = XmlWriter.Create("Facturas.xml", configuracionArchivo)
With escribiendoFactura
'Write the xml declaration
.WriteStartDocument()
.WriteStartElement("Facturas")
.WriteStartElement("Factura")
'.WriteStartElement("FechaCompra")
'.WriteString(lblFecha.Text)
'.WriteEndElement()
'Nodos de factura
.WriteStartElement("CedulaJuridica")
.WriteString(txtCedulaJuridica.Text.ToString)
.WriteEndElement()
.WriteEndElement()
.WriteEndDocument()
.Flush()
.Close()
93/5000
Currently I write the files like this and it works well, but I need to make xml file separatelyContinue reading...