<!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 5.50.4616.200" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=883225614-03062002><FONT face=Arial color=#0000ff size=2>If you
are using IE to view your XML, you should know that IE will transform your XML
into something a little more human readable. Select
"View->Source" and you will see the full XML output.</FONT></SPAN></DIV>
<DIV><SPAN class=883225614-03062002></SPAN> </DIV>
<DIV><FONT face=Tahoma><FONT size=2><SPAN class=883225614-03062002><FONT
face=Arial color=#0000ff>-Jerome </FONT></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Tahoma><FONT size=2><SPAN
class=883225614-03062002></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Tahoma><FONT size=2><SPAN
class=883225614-03062002> </SPAN>-----Original Message-----<BR><B>From:</B>
dongst [mailto:jdst12@sohu.com]<BR><B>Sent:</B> Monday, June 03, 2002 2:24
AM<BR><B>To:</B> jdom-interest@jdom.org<BR><B>Subject:</B> [jdom-interest]
Question of DTD<BR><BR></DIV></FONT></FONT>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<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></BLOCKQUOTE></BODY></HTML>