>I understand that by default DOM is used and that if I wanted to use a
>different object model then I can do so by supplying a different URI to
>the XPathFactory. However what I don’t understand is what can I do with
>it.

Basically, you can do the programming to implement an adapter which
presents the content of your model (whatever it is) via the DTM APIs used
inside Xalan, and implement a DTMManager which understands how to
accept/build your model and its DTM adapter layer rather than or in
addition to our current approaches (based on the URI, or the kind of Source
object it's been passed, or whatever other criteria you consider relevant).

Unfortunately DTM is not a particularly good API for wrapping around other
models -- take a look at our DOM2DTM adapter, and/or the
experimental-and-never-guite-finished DOM2DTM2 version, for an illustration
of some of the issues.

______________________________________
Joe Kesselman -- Beware of Blueshift!
"The world changed profoundly and unpredictably the day Tim Berners Lee
got bitten by a radioactive spider." -- Rafe Culpin, in r.m.filk

Reply via email to