471,325 Members | 1,452 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,325 software developers and data experts.

dom or sax?

hello people!
i have a program that reads, real-time, 24 frame per second , one xml file at each frame,and i need to get data from that file, would it be better to use dom or sax?

from what i read, sax uses less memory, since it reads the stream bit my bit, but does that mean that it is actually good in this specific case? knowing that i need to read the whole file anyway,

ps. each file size should be around 1 MB.

(btw, what is the most efficient way for parsing the file? a hint about it after saying if its sax or dom :))

thanks in advance
Jan 2 '08 #1
0 784

Post your reply

Sign in to post your reply or Sign up for a free account.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.