Xmlparser -- update algorithm

After the xml is loaded, this version builds a list of xpaths with their
corresponding values, as it parses the xml tree.