Use XSLT and a global cache of the xml dump.