Related to this, is it possible to create my own DTM's via an API and/or have Xerxes output a DTM instead of a DOM? For example, say I wanted to create content algorithimically and then transform it with XSLT. Could I create a DTM and then feed it into Xalan? Or should I feed it in via SAX instead?
Mike Bresnahan
"Santiago
Pericas-Geertsen" To: <[EMAIL
PROTECTED]>
<Santiago.PericasGeerts cc:
[EMAIL PROTECTED]> Subject: Re: XSLTC
Translets using normal Document instead of DOM
02/05/2003 01:01 PM
Remy,
Yes, you can pass a DOMSource. Unfortunately, it will be converted into an
internal DOM representation (XSLTC does not work directly on a W3C DOM).
Thus, it is not necessarily faster than passing a string.
-- Santiago
----- Original Message -----
From: "Joseph Kesselman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 05, 2003 1:31 PM
Subject: Re: XSLTC Translets using normal Document instead of DOM
> >Is there a way to directly feed the Translet with a Document without the
> >detour over the string?
>
> You should be able to pass Translets a DOMSource object as their input,
> though I haven't tried it...
>
> ______________________________________
> Joe Kesselman / IBM Research
>
