I am working on a project where keywords (submitted from a website) will query a large XML document for matching criteria (for shopping products), then retrieve and return all the relevant search results (much like Google Shopping). There may be 100’s of search results returned, with 20 search results per page.
Using PHP for the API call, would XPATH or SAX be better with regard to page loading speed and memory efficiency.