I think I've gotten history working. Parts of the code are a little bit messy. Things are complicated because the members don't have a unique ID in the xml.