himanshu.padmanabhi has asked for the wisdom of the Perl Monks concerning the following question:
I getting error at line $stylesheet->transform thatmy $parser = XML::LibXML->new(); my $xslt = XML::LibXSLT->new(); my $source = $parser->parse_file($xmlfile); my $style_doc = $parser->parse_file($xslfile); my $stylesheet = $xslt->parse_stylesheet($style_doc); my $results = $stylesheet->transform($source, args => "' '",val => "' +2'",myname => "'$in{'myname'}'",idx => "'$in{'idx'}'"); print $stylesheet->output_string($results);
what can be the reason? This is $in DumperUnfinished literal runtime error Evaluating user parameter myname failed
is that because of two values of 'myname' in $in?Dumper(idx=8&args=&myname=ABCD.txt&idx=+&myname=+)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Evaluating user parameter ... failed.
by Bloodnok (Vicar) on Mar 03, 2009 at 10:18 UTC |