hi allann,
you have to use MemBufInputSource. Thats the ways it is working in my case.
so just try it and inform me about your success.

buffer = new MemBufInputSource((const XMLByte*)xmlstr, (unsigned int) 
strlen(xmlstr),"XMLBuffer");      
parser->parse(*buffer);

martin

On Tuesday 28 December 2004 20:13, [EMAIL PROTECTED] wrote:
> Hi, how I could parse a string in memory in Xerces-C? I want to parse a
> string (const char*) returned from a function that is in XML format. In
> documentation I only found the parse() function that receives a file name
> as parameter.
>
>
> Thank you
>
>
>
>
> _______________________________
> Allann J. O. Silva
> Genius Instituto de Tecnologia
> ajoliveira[at]genius.org.br
> Tel.:+55 (92) 614-6586
> www.genius.org.br
> _______________________________
> âDominate the fear is the beginning of the wisdom.â
> Bertrand Russel
> ***************************************************************************
>***********************
>
> O conteúdo desse e-mail ou de seus anexos são confidenciais e restritos
> ao destinatário da mensagem.
> Se você recebeu esse e-mail por engano, por favor notifique o remetente
> imediatamente e não faça cópias ou distribua seu conteúdo para
> ninguém.
>
> ***************************************************************************
>***********************
>
> The contents of this email and any attachments are confidential.
> They are intended for the named recipient(s) only.
> If you have received this email in error please notify the system manager
> or  the sender immediately and do not disclose the contents to anyone or
> make copies.
>
> ***************************************************************************
>***********************

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

Reply via email to