Implement E4X parsing