more updates about XML documents