XMLString::transcode(doc[0].getTextContent()) << endl; // returnsnothing - why?
Did you mean to write this?
doc->getElementsByTagName(numberOfRows)[0]->getTextContent()
Actually your version doesn't work either, but I then found out what does:
doc->getElementsByTagName(numberOfRows)->item(0)->getTextContent()
And to convert to a c-string, of course one needs to use
XMLString::transcode().
That's some crazy stuff! So many steps to get from a node to the string
content as a C-string...
Anyhow, thanks for putting me on the right track,
Adrian