XML reader extended