>I'm sorry, but obviously I didn't make my point clear: I want to use the >SAX event stream as input for another xml parser.
To convert the SAX events back into XML for another XML parser, you need to use an XML serializer -- such as the one that comes packages with Xerces. One of the things a serializer is responsible for is escaping characters such '&'. Yeah, there's a bit of overhead in converting the characters and converting them back. But that's sorta standard XML processing. You really want the serializer to do this escaping for you in any case, just in case some of the other changes you made introduced a character that needs special treatment. ______________________________________ Joe Kesselman / IBM Research --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
