MSXML 4.0 from C#

  • Thread starter Thread starter Aleksei Guzev
  • Start date Start date
A

Aleksei Guzev

How can I use transformation with Microsoft extensions to XSLT
from C# code? I need MSXML 4.0. How can I bind
System.Xml to it? Or I have to access it directly through COM?
 
Aleksei,

You can not use classes in the System.Xml namespace with MSXML 4.0. In
order to use MSXML 4.0, you should be able to just add a reference to it
(check the "COM" tab when adding a reference),

Or, you could run TLBIMP on the dll that MSXML is in, and then set a
reference to the managed assembly.

Hope this helps.
 
Aleksei,

You can not use classes in the System.Xml namespace with MSXML 4.0.
In
order to use MSXML 4.0, you should be able to just add a reference to it
(check the "COM" tab when adding a reference),

Thanks!

That's exactly what I had done. But it would be great to make the
System.Xml wrapping any MSXML I want.

Aleksei
 

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

Back
Top