|
Hi, In the code below setNodeValue is not updating the XML file with
the new value. Am I doing this correctly? for(int k = 0; k<childlist->getLength();
k++) { inNode =
childlist->item(k); if(DOMNode::ELEMENT_NODE ==
inNode->getNodeType()) { char* nodeName =
XMLString::transcode(inNode->getNodeName()); if(strcmp(nodeName,
szTag.c_str()) == 0) { inNode->getFirstChild()->setNodeValue(DOMStr("Paddy")); break; } } } Thanks, Enda |
- Nexted DOM document Mannion, Enda
- RE: Nexted DOM document Mannion, Enda
- RE: Nexted DOM document Jesse Pelton
- RE: Nexted DOM document Jesse Pelton
- setNodeValue not working Mannion, Enda
- Re: setNodeValue not working Gareth Reakes
- RE: setNodeValue not working Mannion, Enda
- Re: setNodeValue not working Gareth Reakes
- RE: setNodeValue not working Mannion, Enda
- Re: setNodeValue not working Gareth Reakes
- RE: setNodeValue not working Mannion, Enda
- Re: setNodeValue not working Gareth Reakes
- RE: setNodeValue not working Mannion, Enda
