Subject: [xsl] Xslt transformation of an xslt transform From: Andy Bailey <andy@xxxxxxxxxxxxxxxxx> Date: Thu, 05 Jul 2007 06:49:31 -0500 |
I have a tricky question thats been bugging me for a while. I am using forrest to do transforms for my company's website, but am interested in offloading the xslt processing to the browser (when it is able to do it). However the xslt processing is in a pipeline, so what I am really interested in doing is combining several xslt transforms in one. I havent found any information on Internet. My pipeline are like: Xml (any format) > Docbook xml > i18n transform > xhtml Although it seems to be possible it doesnt look like a trivial task. Has anyone implemented this? Can you modify the DOM of the xslt parse tree of a transformer directly before it does the transformation? (a plugin or callback perhaps) Or I suppose you could do it outside of the transformer, write a stylesheet that transforms the xslt stylesheet for xml into an xslt stylesheet for xslt, repeat for each xslt apart from the first, then chain the results together to get the single xslt stylesheet. Is this feasible? (I can see functions being a problem but if its just standard xslt it just might work) Another idea: is it possible to send a pipeline of xslt transforms for the browser to perform (I imagine not and also it would slow the browser down)? Is there any active development going on in this area? Cocoon goes to great lengths to cache intermediate results of transforms, to speed the pipeline up but my hunch is that this would speed the pipeline up a lot more (if its possible). Thanks in advance, Andy Bailey www.hazlorealidad.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Preserving Spaces and Tab, Florent Georges | Thread | Re: [xsl] Xslt transformation of an, Norman Gray |
[xsl] Preserving Spaces and Tabs, Andy Carr1 | Date | Re: [xsl] Testing implicit XHTML hi, Jesper Tverskov |
Month |