<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>
<DIV><FONT size=2>hi, all</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>I used jdomb8 to create a xml file,but I got a unnormal 
result.</FONT></DIV>
<DIV><FONT size=2>the code is below:</FONT></DIV>
<DIV><FONT color=#0000ff size=2>DocType type = new 
DocType("Test","test.dtd");</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>the result is:</FONT></DIV>
<DIV>&nbsp;<SPAN class=d><FONT color=#0000ff>&lt;!DOCTYPE&nbsp;Test<I> (View 
Source for full doctype...)</I>&gt;</FONT></SPAN> </DIV>
<DIV><FONT color=#0000ff></FONT>&nbsp;</DIV>
<DIV>I think it would be:</DIV>
<DIV><FONT color=#0000ff>&nbsp;&lt;!DOCTYPE Test SYSTEM 
"fibonacci.dtd"&gt;</FONT></DIV>
<DIV><FONT color=#0000ff></FONT>&nbsp;</DIV>
<DIV>and I put the dtd file to the directory of the class and java file.</DIV>
<DIV>&nbsp;</DIV>
<DIV>why and how can I do?</DIV>
<DIV>&nbsp;</DIV>
<DIV>By the way, how can I change a xml file 's encoding, for default, it is 
UTF-8?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jack Dong</DIV>
<DIV><A 
href="mailto:jdst12@sohu.com">jdst12@sohu.com</A></DIV></FONT></DIV></BODY></HTML>