On Wed, 2006-10-04 at 13:39 +0200, Alberto Massari wrote:
> The code you wrote would work, but not on DOMElement nodes; 
> getNodeValue in that case returns NULL, so XMLString::transcode 
> returns NULL, and std::string doesn't like that. If the element has 
> only one child node you can use 
> elem_ptr->getFirstChild()->getNodeValue(), or even use 
> elem_ptr->getTextContent() [note: this will raise your memory consumption]

Thanks for the help.

Stephen

Reply via email to