Hi Erik, Thanks for your response. It's very helpful. However, I think the performance could be improved if we don't print the parsed tags into a buffer first and parse them again using another parser. BTW, I think we might be able to make MemBufFormatTarget Class a little faster if we use 'realloc()' instead of 'new', 'delete', and 'memcpy()'. I do hope they will add this feture the next time. Best Regards Lei ----- Original Message ----- From: "Erik Rydgren" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 29, 2003 7:05 PM Subject: RE: how to extract xml fragments while parsing with SAX ... > For the parsing functionality take a look at the SAXPrint example (it uses > SAXPrintHandlers but without tagfilters. It writes the whole document). ... --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
