IXMLDOMDocument with C#

G

G. Kumar

Hi, I'm trying to convert some JScript code to C# and am having some trouble defining a new IXMLDOMDocument in C# and loading an xml file to it. This is what I want to do in JScript:
var xmlDoc = new ActiveXObject("Msxml2.DOMDocument");
xmlDoc.loadXML("Some XML Code");
How would I do this in C#? Also, is there any good documentation for the Infopath object model using C#? The help in Infopath 2003 Toolkit for Visual Studio only names the methods and objects without any descriptions or examples. The help for JScript and VBScript is very well-documented but I couldn't find any examples using C#. Is there a good place for this? Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top