|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] If no parameters,then what should be sent
Hi all,
This is my code.What should I pass if I don't have any value to pass?
Should I pass blank value because not including parameter gives me error.
if($in{'flag'} eq "2") {
my $results = $stylesheet->transform($source, args =>
"'$in{'args'}'",val => "'1'",cnt => "' '",idx => "' '",sidx => "' '",
new => "' '");
print $stylesheet->output_string($results);
}else{
my $results = $stylesheet->transform($source, args => "'
'",val => "'2'",cnt => "'$in{'cnt'}'",idx => "'$in{'idx'}'",sidx =>
"'$in{'sidx'}'",new => "'$in{'new'}'");
print $stylesheet->output_string($results);
}
btw,what is the meaning of this error,
Unfinished literal
runtime error
Evaluating user parameter cnt failed
means variable 'cnt' is passed though it is not exising?
----------------------------
Regards,
Himanshu Padmanabhi
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






