<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2919.6307" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Is there an XML parser that will allow me to parse
just a DTD.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Suppose the following is my DTD</FONT></DIV>
<DIV><FONT face=Arial size=2><!ELEMENT (name+,lastname+)></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>My application needs to know that it can have a
list of names and a list of lastnames.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Most parsers give me the data inside the
elements/attributes . .. however, do not</FONT></DIV>
<DIV><FONT face=Arial size=2>allow to access the grammar associated with
the elements/attributes in the DTD.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>regards,</FONT></DIV>
<DIV><FONT face=Arial size=2>Abhishek.</FONT></DIV>
<DIV><FONT face=Arial
size=2>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<BR>
_/
Abhishek Srivastava<BR>
_/
Hewlett Packard ISO <BR>
_/_/_/ _/_/_/ -------------------
<BR> _/ / _/
_/ (Work) +91-80-2251554 x1190<BR>_/
_/ _/_/_/ (Ip)
15.10.47.37
<BR>
_/
(Url) <A
href="http://sites.netscape.net/abhishes/index.html">http://sites.netscape.net/abhishes/index.html</A>
<BR>
_/
<BR>
Work like you don't need the
money.<BR>
Dance like no one is
watching.<BR>
And love like you've never been
hurt.<BR>
--Mark
Twain
<BR>
<BR>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<BR></FONT></DIV></BODY></HTML>