beginnings of XML support: