Read amiid from xml