[xslt] Nodeset in extensions



In str:tokenize the current code goes through some
trouble to create a new document container for the
nodeset that is being generated (from what I can tell,
the container document is added to the context and
will be cleaned when the context is freed, which means
that all these containers are accumulated potentially
creating a memory problem if this function is called
too many times). So my question is: is that necessary?
isn't it possible to create nodesets without container
documents and if not, couldn't the same "dummy"
document be reused for all of them?

Thanks for your help!
Jerome Pesenti

__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]