<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2652.35">
<TITLE>creating XSL with jdom</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2 FACE="Arial">when i try to creat a new document with jdom and use "xsl:stylesheet" as the root element i get the following error code:</FONT></P>
<P><FONT FACE="Times New Roman">The name "xsl:stylesheet" is not legal for JDOM/XML elements: : is not allowed in XML names.. org.jdom.IllegalNameException: The name "xsl:stylesheet" is not legal for JDOM/XML elements: : is not allowed in XML names.. </FONT></P>
</BODY>
</HTML>