## my ($par1, $par2) = split (/ /,$str); my $results = $stylesheet->transform($source, XML::LibXSLT::xpath_to_string(param_1 => $par1), XML::LibXSLT::xpath_to_string(param_2 => $par2) );