Came up with code that should work in parsing xml to a usable obj as my code previously used, but it doesn't work right. No other ideas on how to correct.