DLO2418 Posted January 22, 2014 Share Posted January 22, 2014 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. Quote Link to comment https://forums.phpfreaks.com/topic/285577-xpath-or-sax/ Share on other sites More sharing options...
Barand Posted January 24, 2014 Share Posted January 24, 2014 If you want speed and efficiency load the XML data into a database Quote Link to comment https://forums.phpfreaks.com/topic/285577-xpath-or-sax/#findComment-1466336 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.