add documentation for XML