The correct namespace for your xsl prefix is
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
Gary
> -----Original Message-----
> From: Supreet kaur [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 20, 2001 6:34 AM
> To: [EMAIL PROTECTED]
> Subject: query
>
>
> Hi,
> I am using xalan as an xslt processor.i am facing some
> problems while converting the xsl files to the html file.I
> have added xalan.jar and xerces.jar in the classpath. I have
> attached the xsl and the xml file and the error message
> is------------
>
> C:\>java org.apache.xalan.xslt.Process -in test2.xml -xsl
> test2.xsl file:///C:/test2.xsl; Line 2; Column > 71 Parser
> error: stylesheet requires attribute: version <?xml
> version="1.0" encoding="UTF-8"?> <xsl:stylesheet
> xmlns:xsl="http://xml.apache.org/xslt"
> version="1.0"><xsl:template match="
> PERIODIC_TABLE"><html><xsl:apply-templates/></html></xsl:templ
> ate><xsl:templ
> ate match="ATO
> M"><p><xsl:apply-templates/></p></xsl:template></xsl:stylesheet>
>
> Waiting for an early reply,
> Supreet
>
>