Subject: Re: xt pipeline From: William Lindsey <lindsey@xxxxxxxx> Date: Tue, 7 Dec 1999 09:32:14 -0700 (MST) |
If I understand your question, we've done something like that for a content management platform we've built at B-Bop Associates. We defined a "Pipeable" interfac in Java, then built a Transform class that implements the interface, and uses James Clark's XSLProcessorImpl to do the work. We've also developed "Tee", "Cat" and "Plumber" classes that implement the interface. We also found it useful to extend Printwriter with a "TransWriter" class that takes a Pipeable and another Writer as constructor arguments, and does the transforms as you call println(); This is handy for servlets that want to specify a transform or series of transforms to be executed on the data being sent back to a requestor. The Pipeables all allow Writers or Streams for the inputs and outputs. The good news is that this all works fine, and is quite flexible and powerful. The bad news is that each transform runs in its own thread. Enjoy, Bill On Mon, 6 Dec 1999, Clark C. Evans wrote: > Does anyone have a simple xt stylesheet > pipeline for xt. > > I've found through hard experience that > XSLT modulization best occurs by using > intermediate forms. I was wondering > if anyone has hooked xt to itself. > > Thanks! > > Clark > > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: xt pipeline, David Carlisle | Thread | Re: mapping an XML file to another?, Dale Asberry |
Re: new feature desired: return var, Sebastian Rahtz | Date | RE: FOP 0.12, Richard Lander |
Month |