Reputation: 4648
I need to page an XML dataset in PHP.
The website I'm running is not high-volume so an implementation that would query the whole XML serialized file for each page is ok, but I'd be interested in hearing also approaches that do it right from the start (maybe slicing the file in many smaller files).
What are some approaches to do this in PHP?
Upvotes: 0
Views: 575
Reputation: 10636
My personal preference is simplexml_load_string
since it makes handeling XML so much more easier using SimpleXMLElement
than using DOMDocument
Upvotes: 2
Reputation: 14365
Upvotes: 0