Just a general observation: Since it has parent links as well as sibling
and child, a DOM can be walked non-recursively. It might be worth
considering an interative implementation of the serializer and seeing how
much stack that saves us and what its performance characteristics are. See
the logic in the Traversal package. (For that matter, it might be
interesting to have a serializer which took a NodeIterator or TreeWalker as
its argument; that would open the possibility of serializing a filtered
subset of the document.)
______________________________________
Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more.
"The world changed profoundly and unpredictably the day Tim Berners Lee
got bitten by a radioactive spider." -- Rafe Culpin, in r.m.filk
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]