try preceding qualify version with the xsl namespace:
xsl:version="1.0"
> -----Original Message-----
> From: Daya Sharma [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 12, 2001 5:24 PM
> To: [EMAIL PROTECTED]
> Subject: javax.xml.transform.TransformerException: stylesheet requires
> attribute: version
>
>
> Hi All
>
> Can somebody please tell why am I getting this error my XSL has
>
> <?xml version='1.0' encoding="UTF-8"?>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> version="1.0">
>
> as the first two lines...
>
> but why does Xalan 2.0 throw this exception:
> javax.xml.transform.TransformerException: stylesheet requires
> attribute:
> version at
> org.apache.xalan.processor.StylesheetHandler.error(StylesheetH
> andler.java:85
> 4)
>
> Any help would be appreciated.
>
> thanx
>
>
> -daya sharma
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Life is not what happens to you,
> But how you react to what happens to you.
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>