Hello All,

I have two elements in an XML string. Now, I want to update the second element and add an attribute to that element. Adding an attribute can be done using 'setAttribute' method but how do i get the reference to the second element. I know that we can get the reference to the first (i.e. to the root) using 'get_documentelement', but now i want it for the second one.

Iam using DOM in MSXML4.0 using VC++. Pleas help me out in this matter.

Thanks a ton,
Gops