iOS Developer Question:

Download Job Interview Questions and Answers PDF

Explain difference between sax parser and dom parser?

iOS Developer Interview Question
iOS Developer Interview Question

Answer:

SAX (Simple API for XML):
☛ Parses node by node
☛ Doesn't store the XML in memory
☛ We can not insert or delete a node
☛ Top to bottom traversing

DOM (Document Object Model):
☛ Stores the entire XML document into memory before processing
☛ Occupies more memory
☛ We can insert or delete nodes
☛ Traverse in any direction

Download iOS Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Which Programming Languages are used for iOS Development?Explain what is storyboard?