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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 10 13:27:27 CEST 2014


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

--- Comment #27 from M. de Rooy <m.de.rooy at rijksmuseum.nl> ---
(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 :)

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


More information about the Koha-bugs mailing list