Hi Karuna,

Take a look at MemBufInputSource:

http://xerces.apache.org/xerces-c/apiDocs-3/classMemBufInputSource.html

You'll probably need to specify the encoding on the object too, depending on whether your char* strings are UTF-8, Latin-1, or something else.

John

[EMAIL PROTECTED] wrote:
Hi,

We are using Xerces-c V 2.8. Is there any API to convert String/char* to
DOMDocument*?

Right now, we are storing the string into a file, loading the file into
Memory to get the DOMDocument*. We are planning to avoid File operations
by converting string directly to DOMDocument*. Any pointers are
appreciated.

Thanks in advance,

Karuna

--
John Snelson, Oracle Corporation            http://snelson.org.uk/john
Berkeley DB XML:            http://oracle.com/database/berkeley-db/xml
XQilla:                                  http://xqilla.sourceforge.net

Reply via email to