Adding a reference to MS XML

Discussion in 'ASP.NET / ASP.NET Core' started by Power Adhesives, Oct 18, 2004.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I'd appreciate it if someone could tell me how to include a reference to Microsoft XML in my application from Web Matrix. I'm new to Web Matrix (I used to use Visual Studio) so I don't know if I'm doing something wrong - I click on Tools > Organize Add-Ins > Add Local, and then I look for Microsoft XML (v2, v3, or v4) but I don't find it. Basically, what I need to be able to do is use statements in my code such as:

    MSXML2.DOMDocumentClass XMLDoc = new MSXML2.DOMDocumentClass();

    Thanks [:)]
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    If i am not mistaken, MSXML2-4 are COM objects. I do not believe you can reference it in your .net code like your sample.

    I think .NET has it's own namespace to deal w/ XML, System.Xml i believe.


    quote:Originally posted by Power Adhesives

    I'd appreciate it if someone could tell me how to include a reference to Microsoft XML in my application from Web Matrix. I'm new to Web Matrix (I used to use Visual Studio) so I don't know if I'm doing something wrong - I click on Tools > Organize Add-Ins > Add Local, and then I look for Microsoft XML (v2, v3, or v4) but I don't find it. Basically, what I need to be able to do is use statements in my code such as:

    MSXML2.DOMDocumentClass XMLDoc = new MSXML2.DOMDocumentClass();

    Thanks [:)]
    </blockquote id="quote"></font id="quote">

    B.

    DiscountASP.NET
    http://www.DiscountASP.NET
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page