| 1 |
|
| 2 |
################################################################################### |
| 3 |
# |
| 4 |
# Embperl - Copyright (c) 1997-2008 Gerald Richter / ecos gmbh www.ecos.de |
| 5 |
# Embperl - Copyright (c) 2008-2014 Gerald Richter |
| 6 |
# |
| 7 |
# You may distribute under the terms of either the GNU General Public |
| 8 |
# License or the Artistic License, as specified in the Perl README file. |
| 9 |
# |
| 10 |
# THIS PACKAGE IS PROVIDED 'AS IS' AND WITHOUT ANY EXPRESS OR |
| 11 |
# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED |
| 12 |
# WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
| 13 |
# |
| 14 |
# $Id: EmbperlLibXSLT.pm 1578075 2014-03-16 14:01:14Z richter $ |
| 15 |
# |
| 16 |
################################################################################### |
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
package Embperl::Recipe::EmbperlLibXSLT ; |
| 21 |
|
| 22 |
use strict ; |
| 23 |
use vars qw{@ISA} ; |
| 24 |
|
| 25 |
use Embperl::Recipe::EmbperlXSLT ; |
| 26 |
|
| 27 |
@ISA = ('Embperl::Recipe::EmbperlXSLT') ; |
| 28 |
|
| 29 |
# --------------------------------------------------------------------------------- |
| 30 |
# |
| 31 |
# Create a new recipe by converting request parameter |
| 32 |
# |
| 33 |
# --------------------------------------------------------------------------------- |
| 34 |
|
| 35 |
|
| 36 |
sub get_recipe |
| 37 |
|
| 38 |
{ |
| 39 |
my ($class, $r, $recipe) = @_ ; |
| 40 |
|
| 41 |
$r -> component -> config -> xsltproc ('libxslt') ; |
| 42 |
return Embperl::Recipe::EmbperlXSLT -> get_recipe ($r, $recipe) ; |
| 43 |
} |
| 44 |
|
| 45 |
|
| 46 |
1 ; |