<!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.&nbsp;&nbsp;&nbsp; Select 
"View-&gt;Source" and you will see the full XML output.</FONT></SPAN></DIV>
<DIV><SPAN class=883225614-03062002></SPAN>&nbsp;</DIV>
<DIV><FONT face=Tahoma><FONT size=2><SPAN class=883225614-03062002><FONT 
face=Arial color=#0000ff>-Jerome&nbsp;</FONT></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Tahoma><FONT size=2><SPAN 
class=883225614-03062002></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Tahoma><FONT size=2><SPAN 
class=883225614-03062002>&nbsp;</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>&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></BLOCKQUOTE></BODY></HTML>