Good progress on xml encoder.