Re: Ways to implement Dynamic XSLT in Cocoon

2005-01-20 Thread Andrzej Jan Taramina
Matt: Has anyone come across or written an transformer-based way to dynamically modify an XSLT template at processing time? My challenge is this: To facilitate Web Metric analysis, we need to embed vendor-supplied JAVA script in each page. This JAVA script (and/or vendor) may change

Re: Ways to implement Dynamic XSLT in Cocoon

2005-01-20 Thread Matt Robinson
Thanks Marc, Andrzej and Conal. You have solved my problem. Much appreciated! I will implement a separate pipeline and create a generator (rather than a transformer) to extract the relevant JS code from the vendor XML file and aggregate this to the XSL. Fantastic! Kind Regards, Matt

Ways to implement Dynamic XSLT in Cocoon

2005-01-19 Thread Matt Robinson
Hello. Has anyone come across or written an transformer-based way to dynamically modify an XSLT template at processing time? My challenge is this: To facilitate Web Metric analysis, we need to embed vendor-supplied JAVA script in each page. This JAVA script (and/or vendor) may change over

Re: Ways to implement Dynamic XSLT in Cocoon

2005-01-19 Thread Mark Lundquist
On Jan 19, 2005, at 7:48 PM, Matt Robinson wrote: Hello. Has anyone come across or written an transformer-based way to dynamically modify an XSLT template at processing time? The normal way to do that would be to process your first order stylesheet through a second-order stylesheet, and use

RE: Ways to implement Dynamic XSLT in Cocoon

2005-01-19 Thread Conal Tuohy
Matt Robinson wrote: Has anyone come across or written an transformer-based way to dynamically modify an XSLT template at processing time? Yes. See http://wiki.apache.org/cocoon/MetaStylesheets and also http://wiki.apache.org/cocoon/HtmlToXsltExperiments Cheers Con