Hello David,
How tied to XMLC is LazyDOM? Maybe this can be submitted to DOM4J for
inclusion there? I'm sure they'd like this alternate method if it
didn't take too much work to fit it in.
Jake
Wednesday, November 20, 2002, 1:25:42 PM, you wrote:
DL> Jake,
DL> Thanks for the pointer.
DL> However, this isn't quite the same as the LazyDOM. The event based
DL> processing in DOM4J is to handle the processing of large document by
DL> not keeping all of them in memory. Similar to SAX approach.
DL> What LazyDOM does is actually build a full DOM tree of the document
DL> in memory and provide copy on modification. In the XMLC programming
DL> model, a new document object is created, modified, and output. Without
DL> LazyDOM, a new document has to be built everytime. LazyDOM improve the
DL> performance by letting all document objects for the same document
DL> sharing the same DOM and only the modified nodes are copied in the
DL> particular instance. By doing so, time is saved in the construction of
DL> the tree and less node object creation in each of the new document. The
DL> conservation of memory is just a side effect. :)
DL> David
DL> On Thursday, Nov 21, 2002, at 02:04 Asia/Shanghai, Jacob Kjome wrote:
>> Hello David,
>>
>> I believe DOM4J provides some functionality similar to LazyDOM:
>>
>> http://www.dom4j.org/
>> faq.html#How%20does%20dom4j%20handle%20very%20large%20XML%20documents?
>>
>> Jake
>>
DL> _______________________________________________
DL> XMLC mailing list
DL> XMLC@xxxxxxxxxxx
DL> http://www.enhydra.org/mailman/listinfo.cgi/xmlc
--
Best regards,
Jacob mailto:hoju@xxxxxxxx
|
|