Ask HN: DOM-style parser or SAX parser? We are building web services (APIs) which can be used within iPhone apps for data synchronization. I was wondering which one is generally better: SAX parsing or DOM-style parsing in the iPhone app. There is no dependency and we can chose any but I am confused whether to chose the easy one (SAX), as it is sequential and not a memory hog like DOM. Any particular reasons to chose DOM if you dont need to? |