add documentation for xmlfile() API
update xmlfile API docs