all xml docs should start with somthing that looks like this...

<?xml version="1.0" encoding="UTF-8"?>

you can't start it with a stylesheet command.
also make sure that there are no empty lines at the beginning of the file.

good luck

On 8 Apr 2002, Ray wrote:

> I am trying to get xsp to work but if I use .xsp extension all I get is 
> the code back in the page and in the log file it says it does not appear
> to be an xml file.
> 
> If I use .xml I get a internal server error. I am using the following
> code
> 
> <?xml-stylesheet href="NULL" type="application/x-xsp"?>
> <xsp:page
>     xmlns:xsp="http://www.apache.org/1999/XSP/Core";
>     xmlns:util="http://apache.org/xsp/util/v1";
> >
> <html>
> <body>
> <p>Hi! It's <util:time format="%H:%M:%S"/>.</p>
> </body>
> </html>
> </xsp:page>
> 
> Ray
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


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

Reply via email to