Hi Dale, EXT-Pennington, Dale K <[EMAIL PROTECTED]> writes:
> So I guess I will need to check all child nodes of the element, and if I > find more than one text node, either merge them or declare an error. You can use the getTextContent() function which will merge the text from multiple nodes for you. Note, however, that this function will allocate a chunk of memory which stays allocated for the lifetime of the DOM document. See the following blog post for more information: http://codesynthesis.com/~boris/blog/2006/11/28/xerces-c-dom-potholes/ Boris -- Boris Kolpackov Code Synthesis Tools CC http://www.codesynthesis.com Open-Source, Cross-Platform C++ XML Data Binding
