XML stream parsing example using Expat