[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: xalan-j - outputing html and xml from the same tr

Subject: Re: 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
pipe document with xalan
"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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.