Jump to content



xpath sax

  • Please log in to reply
1 reply to this topic

#1 DLO2418



  • New Members
  • Pip
  • 6 posts

Posted 22 January 2014 - 09:26 AM

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. 

#2 Barand


    Sen . ( ile || sei )

  • Moderators
  • 16,571 posts
  • LocationCheshire, UK

Posted 24 January 2014 - 12:00 AM

If you want speed and efficiency load the XML data into a database

If you are still using mysql_ functions, STOP! Use mysqli_ or PDO. The longer you leave it the more you will have to rewrite.


|baaGrid| easy data tables - and more
|baaChart| easy line, column and pie charts

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users