BCB 6

Here is the code

DOMNodeIterator *i = doc->createNodeIterator(p_Node,
DOMNodeFilter::SHOW_ELEMENT, 0, false);
char    *nodeValue;
i->nextNode();
FileName = nodeValue =
XMLString::transcode(i->nextNode()->getFirstChild()->getNodeValue());
XMLString::release(&nodeValue);
FileSize =
XMLString::parseInt(i->nextNode()->getFirstChild()->getNodeValue());
Category = nodeValue =
XMLString::transcode(i->nextNode()->getFirstChild()->getNodeValue());
//this last line is the one that is giving me the erorr


I'm pretty sure that Category has not been set on this one.  Would that be
the reason for this error?


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to