This question has been asked and answered many times. A quick search of the archives gives many hits:
http://marc.theaimsgroup.com/?l=xalan-dev&m=100016420927237&w=2 Dave Tobias McNulty <[EMAIL PROTECTED] To: [EMAIL PROTECTED] sk.com> cc: [EMAIL PROTECTED], (bcc: David N Bertoni/CAM/Lotus) 12/10/2001 10:55 Subject: Re: "version" attribute? AM Here is the XSL that is generating the error: <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:dd="dd.xsd"> <xsl:output method="html"/> I have also tried it without the "xmlns:dd='dd.vxd'" -- same error. Thanks! Toby > >...I am getting a TransformerConfigurationException with the error >>"stylesheet requires attribute: version". I have both > >an <?xml version="1.0"?> tag and >>an <xsl:stylesheet .. version="1.0"> tag in my document. > >Any idea what else this 'version' might be referring to? > >I think others have observed a situation where an inappropriate >error message comes out when there is a problem with xsl:stylesheet. >I suggest that you write to the list again, including the first few >lines of your stylesheet (the xml-decl, start tag for xsl:stylesheet, >and any other comments or top matter). >.................David Marston -- Tobias McNulty Data Description, Inc. 840 Hanshaw Road, Suite 9 Ithaca, NY 14850 Phone: (607) 257-1000 E-mail: [EMAIL PROTECTED] Web: www.datadesk.com
