]> git.koha-community.org Git - koha.git/commit
Bug 17807: Add format parameter to XSLT_Handler->transform
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Wed, 21 Dec 2016 14:50:31 +0000 (15:50 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 30 Aug 2017 18:06:40 +0000 (15:06 -0300)
commit60bddbcc96bf92777a5954c2842d36ca55f12d46
tree3431271182f16a38c3d31b97f28022fa885b982e
parent30048f4aabeec27fdf0a4f195f82c822eddab501
Bug 17807: Add format parameter to XSLT_Handler->transform

Format may be chars (default), bytes or xmldoc.
Note: xmldoc is a XML::LibXML document object.
Since the default is chars, this does not affect current use.

Note: The format parameter (xmldoc) will be used later in one of the OAI
modules to prevent duplicated xml parsing.

Test plan:
Run t/db_dependent/XSLT_Handler.t

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/XSLT_Handler.pm
t/db_dependent/XSLT_Handler.t