Expat parser memproses dokumen XML alur per alur (streaming) dan memicu fungsi handler saat tag pembuka atau penutup ditemukan.