Convert build_from to use the XML parser