Subject: Re: [xsl] xalan-j - outputing html and xml from the same transform From: "Jaques, Yves (FIDI)" <Yves.Jaques@xxxxxxx> Date: Tue, 01 Feb 2005 12:27:51 +0100 |
"What I'm trying to do is write a transform in a variable and then output it to the console as html, and to a file on the server as XHTML, so that next time, I can just do a copy-of of my XHTML file instead of retransforming the source file." Managed to find the solution using the xalan-j pipe extension: What you do is write a new front-end xsl, whose only business is to see if the cache file needs recaching (using xalan java extensions to get info about files in directories and modified versus server time) If so, you run the pipe document extension to rebuild the xhtml cache file, and then in all cases, you load the xhtml cache file using xpath document function and do a copy-of works great. Yves Jaques Information Officer FIDI FIDI - room F-320 United Nations Food and Agriculture Organisation viale delle Terme di Caracalla - 00100 Roma - ITALIA _________________________________________ yves.jaques@xxxxxxx tel. : (39) 0657056058 fax.: (39) 0657052476 Please visit our web site at: HTTP://WWW.FAO.ORG/FI
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
AW: [xsl] Grouping in XSLT 2.0 with, Huditsch Roman | Thread | [xsl] XSL-List Guidelines, Mulberry Technologie |
Re: [xsl] fo:table display center o, omprakash . v | Date | Re: [xsl] fo:table display center o, Tokushige Kobayashi |
Month |