|
-
December 3rd, 2002, 01:01 PM
#1
How to refer a particular element from an XML string
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|