Hello everyone. Facing the immense variety in the API in the headers, and the sparse documentation and sample code, here is a novice question. Please bear with me...
I need to replace the value of a simple element node in a DOM document. "Simple" means it has attributes, but no sub-elements. I do not want to change the attributes of the element. Just its "text" value. I have seen a DOMElement->createTextNode(); But I could NOT find anything like DomElement->getTextNode() so I could change its value using setNodeValue(); If a DOMText* node contains the "value" of a DOMElement* node, what is the value of the DOMElement in the first place? What does it mean to "DOMElement *x->setNodeValue(), and how is it different than finding the DOMText* node within it, and setting its value? Thank you very much for any explanation... Motti Shneor Software Engineer Orbograph Ltd. P.O.Box 215, Yavne 81102, Israel Tel: 972-8-9322257 ext. 230 Fax: 972-8-9328857 [EMAIL PROTECTED] http://www.orbograph.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
