[EMAIL PROTECTED] wrote: > Hi Josh , > > my $xml_data; > $xsl_data = "Test.xsl"; > $xml_data = "Test.xml"; > my $xslt_data_ref = $Server->XSLT(\$xsl_data, \$xml_data); > print $$xslt_data_ref; >
$xsl_data & $xml_data need to be strings, not filenames, as in: open(XML, 'Test.xml') || die("can't open: $!"); my $xml_data = join('', <XML>); close XML; ... > >######################################################################################################################### > It errors out with the error as though it is implictly using XML::XSLT > >####################################################################################################################### > failed to load XML::XSLT 0.32: Can't locate XML/XSLT.pm in @INC (@INC contains: >/home/nalamara/myapache/htdocs/asp/eg//. >/sbcimp/run/pd/apache_modules/1.3.19/mod_perl/1.25+perl-5.005_03/lib/sun4-solaris >/sbcimp/run/pd/apache_modules/1.3.19/mod_perl/1.25+perl-5.005_03/lib >/Net/stmdvocs/sbcexp/devl/SunOS/sparc-5.6/run/pd/cpan/5.6.1-eval/lib >/sbcimp/run/pd/cpan/5.6.1-2002.06/lib /sbcimp/run/pd/perl/5.005_03/lib/sun4-solaris >/sbcimp/run/pd/perl/5.005_03/lib >/sbcimp/run/pd/perl/5.005_03/lib/site_perl/sun4-solaris >/sbcimp/run/pd/perl/5.005_03/lib/site_perl . /sbcimp/run/pd/apache/1.3.19/ >/sbcimp/run/pd/apache/1.3.19/lib/perl) at (eval 43) line 3. BEGIN failed--compilation >aborted at (eval 43) line 3. , >/Net/stmdvocs/sbcexp/devl/SunOS/sparc-5.6/run/pd/cpan/5.6.1-eval/lib/Apache/ASP.pm >line 1556 > >####################################################################################################################### > You also need to set XSLTParser set to XML::LibXSLT Please see http://www.apache-asp.org/config.html#XSLTParser for more information. Regards, Josh ________________________________________________________________ Josh Chamas, Founder phone:925-552-0128 Chamas Enterprises Inc. http://www.chamas.com NodeWorks Link Checking http://www.nodeworks.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]