I think you're mixing up syntax. From the documentation (modified):
my $results = $stylesheet->transform_file('abc.xml', arg => "$str");
Or more general:
transform_file(filename, %params);The usage of the Xpath syntax is also explained in the documentation:
$stylesheet->transform($doc, param => "'string'");Note the "' and '" !
And where does $str come from and what does it contain? Please put use strict; and use warnings; in your script.
In reply to Re^2: Push + variable argument
by dHarry
in thread Push + variable argument
by himanshu.padmanabhi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |