system.xml

What is an intuitive way to move an XmlNode from one XmlDocument to another?

I have two XmlDocuments and I would like to move an XmlNode selected from one of the documents and append it at a particular location in the other document. The naively intuitive approach of simply calling AppendNode(xmlNodeFromDocument1) at the appropriate place of document 2, of course doesn't work because the method does not take car...

Why did I get an error with my XmlSerializer?

I made a couple of changes to my working app and started getting the following error at this line of code. Dim Deserializer As New Serialization.XmlSerializer(GetType(Groups)) And here is the error. BindingFailure was detected Message: The assembly with display name 'FUSE.XmlSerializers' failed to load in the 'LoadFrom' bind...

XmlDocument - ParentNode and DocumentType are null

In .NET what does it mean if you LoadXml() into the XmlDocument object and then ParentNode and DocumentType are null? Also, I get this as the answer to xmldoc.FirstChild.Value: version="1.0" encoding="utf-8" Is this right? Been a while since I have done any XML DOM stuff. The file is encoded UTF-8. Think that shouldn't be an issue. I...

how to use system.xml.dll in delphi

I downloaded the system.xml.dll, then added it to my Delphi code as following: uses system.xml; etc... When I try to compile the project, the following message appears: file not found system.xml.dcu. Can anyone guide me how to solve this problem? Thanks. ...

Windows Forms app, exception on start-up: Could not load System.Xml

Update: I have tried using fuslogvw.exe to get logs. But what exactly am I looking for? Sadly, the logs are in Danish which is extremely annoying (Apparently someone thought that translating everything literaly into Danish inside error log-messages would be a good idea, but it basically renders Google useless: I have to guess at the ori...

MissingMethodException when running application on different computer

I have a problem where I compiled my application on Visual Studio 2010 while targetting the .NET Framework 3.5, deployed it to a client server, only to find it gives me the following error: ************** Exception Text ************** System.MissingMethodException: Method not found: 'Void System.Xml.Xsl.XslCompiledTransform.Transform( ...

Method definitions for methods contained in System.Xml.XMLReader

I haven't been able to find a reference that defines what these methods are made up of. I kind of get what these methods do and what arguments they take, but I'm hoping to find out how they work. I'd like to find something that would give me a definition such as void System.Xml.Xmlreader() { //class constructor function } for all or...

System.Xml.XmlTextWriter.WriteStartDocument()

What does this method do, and why is it necessary? The "go to definition" option leads me to a function containing all comments, here's what it says about its purpose //Writes the XML declaration with the version "1.0" and the standalone attribute. what does it mean by "writes the XML declaration"? Is this when it creates the .xml fi...

Why doesn't XElement have a GetAttributeValue method?

Sometimes I'd like to know the reasoning of certain API changes. Since google hasn't helped me with this question, maybe stackoverflow can. Why did Microsoft choose to remove the GetAttribute helper method on xml elements? In the System.Xml world there was XmlElement.GetAttribute("x") like getAttribute in MSXML before it, both of which r...