xpiler: initial XmlHandler based on SAX parser