You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "G. Todd Miller - XML Tech Ctr - Development" <Gl...@Sun.COM> on 2001/05/09 13:35:31 UTC

XSLTC Translet API + JAXP integration: status


Followup on XSLTC Translet + JAXP Integration
---------------------------------------------

I currently have a prototype working of an integration plan
that hinges on the plugability of TransformerFactory.
The prototype defines a new TransformerFactory implementation
that extends the SAXTransformerFactory  class. The new factory
delivers Translets as Transformers. Calling the Transformer's
transform() method will cause a given XML document to be
transformed by a translet that has been compiled from the
supplied stylesheet. The switch that determines what XSLT
processor gets to transform the XML document is based on the
value of the JAXP system property javax.xml.transform.TransformerFactory.

At this point I am not certain how 'Templates' and 'Transformer' differ-
I will need to address this but for now I have been concentrating on
the Transformer. The AbstractTranslet class has been changed
so that it extends the JAXP Transformer class while still implementing
the Translet interface which enables the Translet 'is-a' Transformer
relationship.

A more detailed design doc is available upon request.


Thanks,

Todd


=======================================================================
G. Todd Miller                        Sun Microsystems Computer Company
Software Systems Engineer             2 Network Drive, MS UBUR02-201
GE&IS XML Tech Center                 Burlington, MA 01803-0903
                                      781 442-0176
                                      781 442-1437 (fax)
                                      todd.miller@east.sun.com