Updating now.
Updated code for the latest XML.