Hi, > By the way gareth how would you new some space for tmpstr, i'm not sure i > understood, can i see the code ?
I don't have your original code now but it seg faulted for me when I ran it because the buffer you passed into transcode was never allocated. DOMElement *root = d->getDocumentElement(); DOMNode *node; XMLCh* tmpstr = new XMLCh[50]; ^^^^^^^ int len; int i; XMLString::transcode("email", tmpstr ,50); Gareth -- Gareth Reakes, Head of Product Development +44-1865-203192 DecisionSoft Limited http://www.decisionsoft.com XML Development and Services --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]