On Wednesday, 11/28/2001 at 11:07 CET, "Geert Poels" <[EMAIL PROTECTED]> wrote: > Could you briefly tell when and DOM2DTM proxy layer is used ?
When: Any time you ask Xalan to process a DOM. > Could the creation of this layer be added as an option ? Sorry, but no. Xalan's internal logic is all based on the DTM data model's behavior and APIs. DOM2DTM is how we make a DOM look like a DTM so Xalan can operate on it. If we can come up with a good technique for efficiently mapping DOM node identity to integers, it would be possible to write a "thinner" version of DOM2DTM. Unfortunately the DOM Level 2 API doesn't really help us do that; "node identity" is not exposed as a value which can be manipulated. We may be able to come up with a custom version that could be applied tor Xerces DOMs, and DOM Level 3 may be a bit more helpful (depending on what they wind up doing with the user-data issue, which has been debated many times).
