in reply to Re: Push + variable argument
in thread Push + variable argument
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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Push + variable argument
by himanshu.padmanabhi (Acolyte) on Feb 11, 2009 at 06:48 UTC | |
by dHarry (Abbot) on Feb 11, 2009 at 08:25 UTC | |
Re^3: Push + variable argument
by himanshu.padmanabhi (Acolyte) on Feb 11, 2009 at 09:23 UTC |