 |
 |
 |
"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
|
 | 



|  |
These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.
|  |
| |
 |
 |
 |