Move XML parsing to worker, and do it with regexps.