This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: efficient XML & XSL -> HTML solution
- To: xsl-list-digest at lists dot mulberrytech dot com, skhurshid at tripod dot com
- Subject: Re: [xsl] efficient XML & XSL -> HTML solution
- From: Steven dot C dot Kienle at am dot pnu dot com
- Date: Fri, 16 Mar 2001 15:55:23 -0500
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hi,
If your XML/XSLT does not change much, I would definitely use the
"static" HTML approach.
You should be able to create a trigger on the XML and XSLT files which
would automatically run the XSLT processor when either of these files
has been modified. That would provide you a system which has the
speed of static HTML, but not require you to explicitly recreate the
HTML when the source files change.
Also, if you are creating the XML from another process, such as FTPing
the source file each week; that process should be modified to call the
XSLT processor itself.
Steve
______________________________ Reply Separator _________________________________
Subject: [xsl] efficient XML & XSL -> HTML solution
Author: skhurshid@tripod.com at Internet-America
Date: 16-03-2001 3:39 PM
Hi,
I need an efficient solution for putting together XML & XSL
and serving it out as HTML. It seems like the most efficient
way would be to generate static HTML from the XML & XSL
and then serve it out from my Web Server. Or I could use
mod_xslt for Apache or Cocoon to put these together dynamically
(i.e. just before the page is served out).
Since I don't need to put them together dynamically, I'm reluctant
to do this. On the other hand it would be nice not to have
to generate the html every time the XML or XSL changes.
Has anyone tried mod_xslt ? How efficient is it (compared to
serving straight HTML) ? Does it use caching to speed things up
(perhaps check the timestamp on the XML & XSL files instead of
blindly generating the HTML for every request) ?
Any advice would be greatly appreciated.
Thanks :-)
-Sher
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list