i*****t 发帖数: 220 | 1 I will choose XML parser API to breat/parse XML document. If the XML
documents are not long, I should choose to use DOM because it is simple for
coding, right? Thanks. | f*******h 发帖数: 1269 | 2 You are right. The parsing is usually fast for small XML documents.
But for XML document as large as 100MB (extreme case), the parsing might take
GB memory, and couple of hours, hoho...
【在 i*****t 的大作中提到】 : I will choose XML parser API to breat/parse XML document. If the XML : documents are not long, I should choose to use DOM because it is simple for : coding, right? Thanks.
|
|