abc.cgi my $parser = XML::LibXML->new(); my $xslt = XML::LibXSLT->new(); my $source = $parser->parse_file("abc.xml"); my $style_doc = $parser->parse_file("abc.xsl"); my $stylesheet = $xslt->parse_stylesheet($style_doc); my $results = $stylesheet->transform($source, args => "' '",val => "'2'"); print $stylesheet->output_string($results); #### abc.xml specify machine name #### abc.xsl
Parameter Description Value
##
## print "
"; abc.cgi code print "
";