Click here to Skip to main content
16,004,924 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: multi-language - HELP!!!! Pin
David Crow15-Jun-05 9:37
David Crow15-Jun-05 9:37 
GeneralRe: multi-language - HELP!!!! Pin
lynchspawn16-Jun-05 2:47
lynchspawn16-Jun-05 2:47 
GeneralRe: multi-language - HELP!!!! Pin
David Crow16-Jun-05 3:08
David Crow16-Jun-05 3:08 
GeneralFirewall Pin
alokabasha15-Jun-05 7:59
alokabasha15-Jun-05 7:59 
GeneralRe: Firewall Pin
Nilesh K.15-Jun-05 19:18
Nilesh K.15-Jun-05 19:18 
GeneralRe: Firewall Pin
Anonymous17-Jun-05 5:37
Anonymous17-Jun-05 5:37 
GeneralXML attributes Pin
LCI15-Jun-05 7:49
LCI15-Jun-05 7:49 
GeneralRe: XML attributes Pin
Adeel Saqib15-Jun-05 20:04
Adeel Saqib15-Jun-05 20:04 
Hi,

First I'll make a correction to your concept that very first in XML document is a node.
Actually, node is a generic concept in XML DOC. Every thing including attribute, element, and document itself is a node. From implementation perspective if you study the documentation of XML Document object Model of Microsoft, you will find that a NODE actually is base class(interface) for every other xml construct e.g. element, attrubute, document.
Now you want to set attribute of a node, so in C++ you will do the following;

IXMLDOMNode* pNode;
// Set pNode to a valid reference of some node
// Now cast it to IXMLDOMElement
IXMLDOMElement* pElement;
pNode->QueryInterface(IID_IXMLDOMElement, (void**)&pElement);
// Now you can use "pElement" to add an attribte

Regards
Adeel Saqib
GeneralRe: XML attributes Pin
LCI16-Jun-05 3:19
LCI16-Jun-05 3:19 
GeneralRe: XML attributes Pin
Adeel Saqib16-Jun-05 19:11
Adeel Saqib16-Jun-05 19:11 
Questioni have put the pre tag so could u answer my question? Pin
kosamoza15-Jun-05 6:52
kosamoza15-Jun-05 6:52 
AnswerRe: i have put the pre tag so could u answer my question? Pin
David Crow15-Jun-05 7:52
David Crow15-Jun-05 7:52 
Questionusing BeforeNavigate to change http header? Pin
ThinkingPrometheus15-Jun-05 6:19
ThinkingPrometheus15-Jun-05 6:19 
AnswerRe: using BeforeNavigate to change http header? Pin
ThinkingPrometheus15-Jun-05 22:31
ThinkingPrometheus15-Jun-05 22:31 
GeneralUnistaller Pin
u6ik15-Jun-05 6:00
u6ik15-Jun-05 6:00 
GeneralRe: Unistaller Pin
David Crow15-Jun-05 6:06
David Crow15-Jun-05 6:06 
GeneralRe: Unistaller Pin
u6ik15-Jun-05 6:14
u6ik15-Jun-05 6:14 
GeneralRe: Unistaller Pin
Alexander M.,15-Jun-05 9:28
Alexander M.,15-Jun-05 9:28 
GeneralEnter and Esc Pin
Alexander M.,15-Jun-05 5:39
Alexander M.,15-Jun-05 5:39 
GeneralRe: Enter and Esc Pin
David Crow15-Jun-05 5:41
David Crow15-Jun-05 5:41 
GeneralRe: Enter and Esc Pin
myth767615-Jun-05 7:23
myth767615-Jun-05 7:23 
GeneralRe: Enter and Esc Pin
Alexander M.,15-Jun-05 7:39
Alexander M.,15-Jun-05 7:39 
GeneralRe: Enter and Esc Pin
GKarRacer15-Jun-05 13:37
GKarRacer15-Jun-05 13:37 
GeneralRe: Enter and Esc Pin
Alexander M.,16-Jun-05 7:01
Alexander M.,16-Jun-05 7:01 
GeneralSharing memory with MapViewOfFile Pin
metal_rob15-Jun-05 5:09
metal_rob15-Jun-05 5:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.