<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1255">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>On-Line and Off-Line DTD</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2 FACE="Arial">Hi</FONT>
<BR><FONT SIZE=2 FACE="Arial">I need to use an xml that works both online and offline, i.e. cannot have a reference to a remote dtd, but still has to be able to get updates whenever online. </FONT></P>
<P><FONT SIZE=2 FACE="Arial">The main problem is, I do not want to download the xml and its dtd separately.</FONT>
<BR><FONT SIZE=2 FACE="Arial">For example, I found an xml with the dtd built-in:</FONT>
<BR><FONT SIZE=2 FACE="Arial"><?xml version="1.0" encoding="utf-8"?></FONT>
<BR><FONT SIZE=2 FACE="Arial"><!DOCTYPE First [</FONT>
<BR><FONT SIZE=2 FACE="Arial"><!ELEMENT First (headline)></FONT>
<BR><FONT SIZE=2 FACE="Arial"><!ELEMENT headline (#PCDATA)></FONT>
<BR><FONT SIZE=2 FACE="Arial">]></FONT>
<BR><FONT SIZE=2 FACE="Arial"><First></FONT>
<BR><FONT SIZE=2 FACE="Arial"><headline></FONT>
<BR><FONT SIZE=2 FACE="Arial">12324566</FONT>
<BR><FONT SIZE=2 FACE="Arial"></headline></FONT>
<BR><FONT SIZE=2 FACE="Arial"></First></FONT>
<BR><FONT SIZE=2 FACE="Arial">This would be great, because every time I get an update of the xml I get the dtd as well - however - I don't know how to generate it using JDom tools, and don't know how to parse it to a document either.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">Elite</FONT>
</P>
</BODY>
</HTML>