reading from xml (simple version of xml)