Title: RE: API to parse dtd

Hi:

I just had a look at the DTDHandler interface.

Here is an excerpt of the documentation
<excerpt>
this interface includes only those DTD events that the XML recommendation
requires processors to report: notation and unparsed entity declarations.
</excerpt>

So, I am not very sure how the parent-child relationship can be deciphered
using this interface!

Somebody can point out here what are the better options!

regards
Saifi.
 

-----Original Message-----
From: DK [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 09, 2001 12:40 PM
To: [EMAIL PROTECTED]
Subject: Re: API to parse dtd


On Mon, 09 Apr 2001 12:36:51 +0530
 S Uma <[EMAIL PROTECTED]> wrote:
Uma,
Thanks.I shall find it.
DK

> DK,
>
> There is a DTDHandler interface that comes along with the SAX parser.
> I do
> not know if that will help you. I am giving this information
> just-in-case if
> you had not come across it already.
>
> Uma
>
> DK wrote:
>
> > On Mon, 09 Apr 2001 12:02:55 +0530
> >  S Uma <[EMAIL PROTECTED]> wrote:
> > Hi,
> > No.
> > When a xml file is validated ,the  parser is going to read the
> > dtd file and it's structure like parent child relationship.The
> parser
> > does this internally.Is this exposed through any API's.
> > DK
> >
> > > DK,
> > >
> > > First of all, were you able to parse the DTD using Xerces parser?
> > >
> > > Uma
> > >
> > > DK wrote:
> > >
> > > > Hi,
> > > > I need to get information from dtd like children of a
> particular
> > > > element,parent of a particular element etc.
> > > > Is it possible using any API of xerces parser?
> > > >
> > > > TIA,
> > > > DK
> > > >

Reply via email to