use base qw/WebPAC::Common Class::Accessor/;
__PACKAGE__->mk_accessors(qw(
database
+ input
type
index_path
my $database = $self->database || $log->logconfess('no database in $self');
- my $uri = $self->database . "/$id";
+ my $uri = $self->database . '/' . $self->input . "/$id";
$log->debug("creating $uri");
# filter all tags which have type defined
my $xml = qq{<xml>};
+ $xml .= "<$_>" . $self->$_ . "</$_>" foreach ( 'database', 'input' );
+
my $data;
foreach my $tag (@tags) {