I am writing a SAX2 wrapper for Expat (in Delphi), but I have trouble figuring out how to derive the StartEntity and EndEntity events in the LexicalHandler interface from any of the Expat callbacks (I am using Expat 1.95.2 on Win32). I would be grateful for any advice, Karl