Podrias hacer algo como lo siguiente:
    
Código c#:
Ver original- string xml = ""; 
-             XDocument Documento = new XDocument(); 
-   
-             foreach (string t in textBox1.Lines) 
-             { 
-                 string aux = ""; 
-                 string texto = t; 
-                 for (int x = 0; x < texto.Length; x++) 
-                 { 
-                     if (texto[x] != ':') 
-                         aux = aux + texto[x]; 
-                     else 
-                     { 
-   
-                         xml = xml + "<" + aux + "> " + texto.Substring(x + 1, (texto.Length - x) - 1) + " </" + aux + "> \r\n "; 
-   
-                         Documento = new XDocument( 
-                         new XDeclaration("1.0", "utf-8", "yes"), 
-                         new XComment("Lista de Personas"), 
-                         new XElement("Personas", 
-                                             new XElement("Numero", 
-                                                 new XAttribute("Id", "05231104"), 
-                                                 new XElement("Nombre", "Edison García")) 
-                                ) 
-                         ); 
-   
-                         break; 
-   
-                     } 
-   
-                        
-   
-                 } 
-   
-             } 
-             textBox2.Text = xml; 
-   
-             Documento.Save("Ruta");