Create a MemBufInputSource frpm the string (seeAPI docs) and pass it to the
parser with a parser->parse(memBufInputSource call.
----------------------
[EMAIL PROTECTED]
-----Original Message-----
From: Tasso Angelidis [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 02, 2001 7:13 AM
To: '[EMAIL PROTECTED]'
Subject: How To pass strings to the parser?
Let's say I have a string...
char *xml;
xml = (char *) malloc(sizeof(char)*1000);
strcpy(xml, "<?xml version=\"1.0\"?><root><sometag>value</sometag></root>")
Is it possible to to pass the string directly to the parser? If so how can
it be done?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]