This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Microsoft XML > March 2005 > Using MSXML in C#





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Using MSXML in C#
Fed Upsan

2005-03-14, 6:40 pm


Hi,

I'm trying to port some MSXML code written in JSCRIPT to C#.

The original JSCRIPT code is...
---------------------------------------------
var oNodeList=docXML.selectNodes(strXsl);
---------------------------------------------

How do i write this in C# using the same MSXML? I'm not able to figure
out how to declare a NODE LIST object in C# using MSXML, corresponding
to the 'var oNodeList'.

I could not find a NODE LIST object....am i missing something?

Thanks in advance,
Fed



*** Sent via Developersdex http://www.codecomments.com ***
Don't just participate in USENET...get rewarded for it!
Han

2005-03-15, 4:22 am

You may want,

> XmlNodeList oNodeList=docXML.SelectNodes(strXsl);


That's system.xml. MSXML is not supported in .net now.

--
Pohwan Han. Seoul. Have a nice day.
"Fed Upsan" <fdx_ups@yahoo.com> wrote in message
news:%23EK%23xCNKFHA.4056@TK2MSFTNGP14.phx.gbl...
>
> Hi,
>
> I'm trying to port some MSXML code written in JSCRIPT to C#.
>
> The original JSCRIPT code is...
> ---------------------------------------------
> var oNodeList=docXML.selectNodes(strXsl);
> ---------------------------------------------
>
> How do i write this in C# using the same MSXML? I'm not able to figure
> out how to declare a NODE LIST object in C# using MSXML, corresponding
> to the 'var oNodeList'.
>
> I could not find a NODE LIST object....am i missing something?
>
> Thanks in advance,
> Fed
>
>
>
> *** Sent via Developersdex http://www.codecomments.com ***
> Don't just participate in USENET...get rewarded for it!


Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews