diff --git a/oracle-docs.perl b/oracle-docs.perl
index f33404c..302ca8d 100755
--- a/oracle-docs.perl
+++ b/oracle-docs.perl
@@ -55,7 +55,7 @@
 	print <<END_OF_HEADER
 <?xml version="1.0"?>
 <!-- Do not edit!  Automatically generated by oracle-docs.perl! -->
-<stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 
 END_OF_HEADER
 ;
@@ -104,7 +104,7 @@
 }
 
 if ($output_type eq "xslt") {
-	print "</stylesheet>\n";
+	print "</xsl:stylesheet>\n";
 }