Re: [xsl] Copy results

Subject: Re: [xsl] Copy results
From: Steven Ericsson-Zenith <steven@xxxxxxxxxxxxx>
Date: Tue, 8 Jul 2008 02:30:35 -0700
Dear Michael,

I do have such a framework, but that is not the point. I do also have a pipeline, and that is in fact managed by XSLT. You are saying that I should not use XSLT to tie together an XSLT pipeline?

With respect,
Steven


On Jul 8, 2008, at 2:23 AM, Michael Kay wrote:


Okay, well, these are disappointing responses. Especially
since much of the application in this case is written in XSLT
(and is processing and generating a number of collections). I
think I'll take my own counsel on this one. Thanks anyhow.

If you don't have a point in the calling application where it's easy to copy
a file, then your application architecture may be wrong. I think that in
nearly all production applications there should be some kind of framework
that invokes the XSLT (it might be Java, or XProc, or Ant, or Cocoon, or
something else) that allows you at the very least to fiddle around with
input and output files. Ideally it should allow you to construct a pipeline
of transformations. If you don't have such a framework then you'll find
yourself, as the requirements grow, packing more and more logic into a
single stylesheet until it becomes unmaintainable. You're already proposing
to do something in XSLT that would be much more efficiently done elsewhere.


Michael Kay
http://www.saxonica.com/


-- Dr. Steven Ericsson-Zenith Institute for Advanced Science & Engineering http://iase.info http://senses.info

Current Thread