I don't think anything has changed recently. The three approaches that occur to me offhand are:
1) Plug in an Entity Resolver which knows how to map your special URIs to your in-memory documents. This has the advantage that it will cache the DTM accessors for each URI so repeated references will not do additional work. 2) Or write an extension function that returns the in-memory documents as DOM nodes; Xalan will wrap DTMs around them before using them. This may be more expensive since it produces a new DTM wrapper each time, but... 3) Or, if you know in advance which in-memory documents you're going to use, you could pass them in as parameters, and once again Xalan should wrap and use them appropriately. ______________________________________ 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
