[jdom-interest] JDOM and XSLTC.

Cybrarian Rök cyb at popol.auteurs-associes.com
Mon Oct 8 16:15:48 PDT 2001

Dear Paul,

your point of view echoes as a very interesting point of view
to me; I did spend 2 nights trying to understand if a possible
hidden interface was planned for compliance; of course not; RAAH!
surely I slept to much so I forgot to look around for an != XSLT 

thanks for fresh air;

> Now, there's one point to be mentionned here: the Saxon XSLT processor of 
> Michael Kay already has some support for Jdom documents themselves. That 
> means that the Transformer object you get when building it can accept a 
> jdom document as input.
> I can't see of anything better.
> Note that the version we had, was made for jdom-b6 for java 2, we had to 
> midlly fix something like a method-name usage.
> Otherwise, I believe that firing SAX events to the Transformer's SAXReader 
> is very safe as well, but certainly not as optimized.
> Still have a reason to stay on Xalan ?? Maybe, I don't know which...
> Paul
> On Lundi, octobre 8, 2001, at 04:52  PM, Cybrarian Rök wrote:
> >
> > *** Problem:
> > As I guessed, it seems difficult to re-use the result of a JDOM
> > manipulation task, ie. a org.jdom.Document, with XSLTC;
> >
> > to illustrate the point, the .transform() method of the
> > org.apache.xalan.xsltc.Translet interface accept only a
> > org.apache.xalan.xsltc.DOM interface as first arg; ie. a
> > org.apache.xalan.xsltc.dom.DOMImpl in common case;
> >
> > even though I've seen many tricks about JDOM and TraX
> > (jdom-interest mailing list), I would like to keep advantages of the
> > compiled Translets to perform transfomations on newly created JDOM
> > Documents without outputing to XML file and re-parsing :(


Cybrarian Rök - CAFV administrator
Auteurs & Associés SARL - BP106
74502 Evian cedex - F
PERSO: http://auteurs-associes.com:443/~Cybrarian
HOME : http://auteurs-associes.com
EMAIL: cyb at popol.auteurs-associes.com
try me:be_cool(who);
except (E_ANY) $war_utils:kill(who);

More information about the jdom-interest mailing list