I am trying to get xml support working in Embperl 2.0b7
I have installed the Xalan-C_1_2-linux.tar.gz into /usr/local/lib
I know xalan works, form testing by using 
testXSLT -in foo.xml -xsl foo.xsl -out foo.html

and getting no errors and a good foo.html

I moved the same files (foo.xml and foo.xsl) into my Embperl web test dir.

Here is the file that I am using that generates the errror:
<h1>Start xml</h1>
    [- Execute ({inputfile => 'foo.xml', recipe => 'EmbperlXalanXSLT', xsltstylesheet 
=> 'foo.xsl'}) ; -]
    <h1>END</h1>

Am I missing something?

Thanks,
Dave

My configuration:
#########
Apache/1.3.14 (Unix) (Red-Hat/Linux) Embperl/2.0b7 mod_ssl/2.7.1 OpenSSL/0.9.5a
DAV/1.0.2 PHP/4.0.3pl1 mod_perl/1.24 
#########

Embperl section from httpd.conf

##########################
PerlModule Embperl
Embperl_UseEnv on
PerlSetEnv EMBPERL_ESCMODE 0
PerlSetEnv EMBPERL_OPTIONS 16
PerlSetEnv EMBPERL_OBJECT_BASE base.epl
PerlSetEnv EMBPERL_OBJECT_FALLBACK notfound.epl
PerlSetEnv EMBPERL_SYNTAX "Embperl"
PerlSetEnv EMBPERL_DEBUG 2285
PerlSetEnv EMBPERL_SESSION_HANDLER_CLASS no
PerlSetEnv EMBPERL_RECIPE EmbperlXalanXSLT
    
    <Files *.epl>
        SetHandler perl-script
        # For Oject oriented
        PerlHandler Embperl::Object
        # for non- object perl use:
        #PerlHandler Embperl
        Options     ExecCGI
    </Files>
    <Files *.htm>
        SetHandler perl-script
        # For Oject oriented
        PerlHandler Embperl::Object
        # for non- object perl use:
        #PerlHandler Embperl
        Options     ExecCGI
    </Files>

<FilesMatch ".*\.epl$">
 Order allow,deny
 Deny From all
</FilesMatch>
AddType text/html .epl
#######################


__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas. Experience the 
convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to