[Koha-bugs] [Bug 11826] Improving code for XSLT handling

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 11 01:20:11 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11826

--- Comment #28 from David Cook <dcook at prosentient.com.au> ---
(In reply to M. de Rooy from comment #27)
> (In reply to David Cook from comment #26)
> > I wonder if it would be useful to add a method for registering Perl
> > functions with the XML::LibXSLT object.
> > 
> > I suppose we wouldn't want staff clients users to inject Perl code, so it
> > would only be useful if we wanted to provide certain functions. I've used
> > this before in the XSLTs to encode URIs and stuff like that. 
> > 
> > I suppose if we need to register functions, we can just do it on a case by
> > case basis with whatever xslt handle is returned.
> 
> Interesting idea. I did not use these extensions functions, but I can
> imagine that some things are better done in Perl.
> Why not open a new report Register functions in XSLT_Handler? You can do it
> :)

I might hold off for the moment, but if/when I get to pushing more code
upstream, I might start with that first. I wouldn't want to add it as an
enhancement without having a good use for it too.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list