Help for this page

Select Code to Download


  1. or download this
    MY.cgi
     my $xslt = XML::LibXSLT->new();
    ...
     push @xsltParams, ('val', '1');
     my $result = $stylesheet->transform_file('abc.xml', @xsltParams);
     print $stylesheet->output_string($result);
    
  2. or download this
    MY.xsl
     <xsl:value-of select="$arg"/>