Initial implementation of XML processing.