cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <je...@apache.org>
Subject Re: DO NOT REPLY [Bug 12235] New: - [PATCH] XPathTransformer
Date Mon, 02 Sep 2002 23:57:16 GMT
On Mon, Sep 02, 2002 at 07:30:21PM +0200, Joerg Heinicke wrote:
> > While this sort of filtering can be done with XSLT, it can't be done
> > dynamically, based on an input parameter, because XSLT template patterns 
> must
> > be known at 'compile' time, not runtime, much like the sitemap's 
> matchers. See
> > cocoon-users discussion:
> > http://marc.theaimsgroup.com/?t=103069471700001&r=1&w=2
> 
> Hmm, I think it can be done with XSLT, but you have to write XSLT by XSLT 
> or a XML file with some xinclude statements and use xinclude transformer.

Given that XSLT is Turing complete [1], one can do *anything* with a
dynamically generated XSLT ;) The issue is ease of use and efficiency,
for which I think XPathTransformer easily beats dynamically generated
XSLT or xinclude-including XSP pages.


--Jeff

[1] http://www.unidex.com/turing/utm.htm

> 
> Joerg
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message