Bryan, > Does the TraX API still re-compile the translet every time?
Not necessarily. In our TrAX implementation the TransformerFactory represents the compiler, the Templates object represents the compiled Java class (translet _class_) and the Transformer represents an instance of this class (translet _object_). This means that for every time you create a Templates object you will in effect compile the stylesheet. But, Templates objects are intended as re-usable entities and should not be created more then strictly necessary. This holds for other interpretive XSLT processors as well. Such processors will create internal data-structures, jump tables, etc. and place these inside the Templates object. Templates objects are serializable and can be written to disk, just like a Java class file. This can actually be handier then using the native API, as one file is used to encapsulate the translet class and auxiliary classes and as the TrAX API hides all the details of instanciating the translet object(s). Regards, Morten Jorgensen, XML Technology Centre, Sun Microsystems Ireland, ltd. Bryan Kearney wrote: > > Does the TraX API still re-compile the translet every time? > > -- bk > > >> -----Original Message----- > >> From: Morten Jorgensen [mailto:[EMAIL PROTECTED]] > >> Sent: Monday, December 10, 2001 1:36 AM > >> To: [EMAIL PROTECTED]; Chris McCabe > >> Subject: Re: State of XSLTC > >> > >> > >> Chris, > >> > >> > Is XSLTC anywhere near a state of being generally useful? > >> > >> It is indeed. > >> > >> > I was under the impression that it mostly works, but it seems > >> > that very basic stuff does not work. > >> > >> I am not sure what you are referring to. XSLTC conforms to the > >> XSLT 1.0 and XPath 1.0 specs. There are about 10-12 open bugs, > >> which you will find documented in Bugzilla. Most of these bugs > >> only manifest themselves is very peculiar cases. > >> > >> > Is anyone using it successfully yet? > >> > >> Yes. We have a long list of companies that use XSLTC for their > >> internal and external portals, etc. > >> > >> > Is there a timeline of any kind that shows planned implementation > >> > schedules? I would like to try it out, but it looks like maybe it > >> > is too early. > >> > >> I suggest that you have a look at the XSLTC bugs in Bugzilla. If you > >> fear that any of them will cause you problems then give us some more > >> time; and if not, then I recomment you give it a go. > >> > >> Best regards, > >> Morten Jorgensen, > >> XML Technology Centre, > >> Sun Microsystems Ireland ltd.
