On Friday 08 February 2002 07:45, Arnold van Kampen wrote:
> Hi
>
> The short question is : is there an EXACT example of an
> xml file and an xsp file and  a perl.conf file that work together
> delivering a html page?
>
> Arnold
>
> This is the elaborate question:
>
> Well, I found the example helpfull concerning XPathScript
> I could play around with that to see what would happen.
> So that is a nice introduction.
> But I am lost with xsp . I cannot seem to get it working so that it
> delivers a html page like it does with xpathscript.
> (At the bottom of this mail there is some text proving that I did some
> thinking of my own.)
>
>
>
> So I tried this piece of code that was reported to work a few days ago on
> this mailinglist.  I tried a couple of myself too with no result.

What do you mean "no result?" Everything I can see from your log file 
indicates that AxKit processed the request perfectly. What WAS the result? 
Did you get a 500 error, a 400 error, a "document contains no data", endless 
hang? Trust me, there are 1000's of ways these things can fail!  Seems to me 
though from what I could see that you have the concept, its probably just 
some tiny little silly glitch.
>
> eureka:/w20/htdocs/xmltestxsp # less test.xml
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <?xml-stylesheet href="." type="application/x-xsp"?>
>
> <xsp:page xmlns:xsp="http://apache.org/xsp/core/v1";
>            xmlns:util="http://apache.org/xsp/util/v1";>
>
> <sequence>
>                          In case you wanted to know the time, it is
>                          <util:time format="%D" />
> </sequence>
> </xsp:page>
>
>
> perl.conf
> <Location /xmltestxsp>
>         SetHandler      perl-script
>         PerlHandler     AxKit
>         AxAddStyleMap   application/x-xsp Apache::AxKit::Language::XSP
>         AxDebugLevel    11
> </Location>
>
>


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

Reply via email to