....
//aqui creo el primer nodo comprobante
xmlDoc
= new XmlDocument
(); ....
xmlnComprobante = xmlDoc.CreateNode(XmlNodeType.Element, "comprobante", "http://www.sat.gob.mx/cfd/2");
xmlDoc.AppendChild (xmlnComprobante);
....
//Aqui intento crear el nodo emisor
XmlElement xmleEmisor = xmlDoc.CreateElement("", "emisor", "");
xmleEmisor.SetAttribute("rfc", ValidarCadena("PAMC660606ER9"));
xmleEmisor.SetAttribute("nombre", ValidarCadena("CONTRIBUYENTE PRUEBASEIS PATERNOSEIS MATERNOSEIS"));
xmlnComprobante.AppendChild(xmleEmisor);