<!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> </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> </DIV>
<DIV><FONT size=2>the result is:</FONT></DIV>
<DIV> <SPAN class=d><FONT color=#0000ff><!DOCTYPE Test<I> (View
Source for full doctype...)</I>></FONT></SPAN> </DIV>
<DIV><FONT color=#0000ff></FONT> </DIV>
<DIV>I think it would be:</DIV>
<DIV><FONT color=#0000ff> <!DOCTYPE Test SYSTEM
"fibonacci.dtd"></FONT></DIV>
<DIV><FONT color=#0000ff></FONT> </DIV>
<DIV>and I put the dtd file to the directory of the class and java file.</DIV>
<DIV> </DIV>
<DIV>why and how can I do?</DIV>
<DIV> </DIV>
<DIV>By the way, how can I change a xml file 's encoding, for default, it is
UTF-8?</DIV>
<DIV> </DIV>
<DIV>Jack Dong</DIV>
<DIV><A
href="mailto:jdst12@sohu.com">jdst12@sohu.com</A></DIV></FONT></DIV></BODY></HTML>