I have a string variable Writer that recieves xml code from another window. I need to pass this string to textWriter variable but i dont know how to m ...
I have a string variable Writer that recieves xml code from another window. I need to pass this string to textWriter variable but i dont know how to m ...
I am getting the error "Token StartElement in state Epilog would result in an invalid XML document." when i get the data from datatable and try to con ...
I am writing out all of my nodes and the XML I get is this: Is there a way to have XmlTextWriter not repeat the xmlns:h & xmlns:f in the inner ...
Is there an easy (single call) way in .NET to write an XmlElement to a XmlTextWriter where that element is written out in full to the output? Where t ...
I have a fiddle here: I am adding an attribute with a no prefix namespace. It is creating a prefix of d1p1. Why? ...
I am currently writing a Powershell code to import a very large DataTable into an Excel-File without having Excel installed on that machine. All is fi ...
I have done this code so far works well, but the only issue is that the XML file gets deleted every time I use the method addUser, I want the code to ...
I have a strange problem with my customer - I am reading an XML document (actually an InfoPath document) with XmlSerializer, modifying it, then writin ...
I think I'm missing something trivial but I'm losing a bunch of time on this, so its solution may be useful to others too: I'm working with libxml2 2 ...
I'm trying to create an infopath form XML file. I was initially following this example programmatically-create-infopath-form-console-app but I'm getti ...
As I read an XML file using XmlTextReader, I sometimes need to save off a node, and it's children. I do this using XmlTextWriter (I'm not married to t ...
As per following code I have created xml file and writing on it iteratively. But the problem is it is overwriting on the file. I want to append new el ...
I am trying to integrate A console app project into to a.netcore project. In my console app the project does exactly what I want it to do and build an ...
I am managing a large project and need to serialize and send an object in xml format. The object is ~130 mb. (NOTE: I did not write this project, so ...
I have a struct that I am trying to save as an xml, it seems to have no problems with creating small XMLs, however in the case of larger files it seem ...
I have some proprietary code that I am trying to compile in a xamarin project using Xamarin studio for mac. One of the classes uses System.Xml.XmlText ...
I have some code that create xml file on the fly. Sometimes the node has a value and sometimes not. I need to get open and closing tags <hour>12 ...
I am using XmlTextWriter in C# to generate XML's from CSV's and in the result XML I am getting the following header <xml version="1.0" encoding="ut ...
I want to generate an XML of the following format using XmlWriter class in C# -: I am very new to XmlWriter class and to C# in general and I have t ...
I am trying to convert a row of data from our database values into a xml file. I am using the c# .net xmlTextWriter. Everything is fine but I cannot f ...