You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xerces.apache.org by Rupanu Ranjaneswar <ru...@yahoo.com> on 2009/07/27 10:19:40 UTC

How to createElement from CString variable

I have a CString variable and when I invoke createElement it crashes.(I am using VC++ 6.0)Code snippet given below..
XMLCh* elementTag = strMyCString.AllocSysString();pElement = pDOMDocument->createElement(elementTag);