You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by S Uma <su...@india.hp.com> on 2001/04/09 08:32:55 UTC

Re: API to parse dtd

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
>
> Never forget your past ,for you should
> Never repeat your mistakes .
> ----------------------------------------
> http://mail.indiainfo.com
> First you had 10MB of free mail space.
> Now you can send mails in your own language !!!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-j-user-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org


Re: API to parse dtd

Posted by DK <dk...@indiainfo.com>.
On Mon, 09 Apr 2001 12:36:51 +0530
 S Uma <su...@india.hp.com> 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 <su...@india.hp.com> 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
> > > >
> > > > Never forget your past ,for you should
> > > > Never repeat your mistakes .
> > > > ----------------------------------------
> > > > http://mail.indiainfo.com
> > > > First you had 10MB of free mail space.
> > > > Now you can send mails in your own language !!!
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
> > > > For additional commands, e-mail:
> xerces-j-user-help@xml.apache.org
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
> > > For additional commands, e-mail:
> xerces-j-user-help@xml.apache.org
> > >
> >
> > Never forget your past ,for you should
> > Never repeat your mistakes .
> > ----------------------------------------
> > http://mail.indiainfo.com
> > First you had 10MB of free mail space.
> > Now you can send mails in your own language !!!
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
> > For additional commands, e-mail: xerces-j-user-help@xml.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-j-user-help@xml.apache.org
> 



Never forget your past ,for you should
Never repeat your mistakes .
----------------------------------------
http://mail.indiainfo.com
First you had 10MB of free mail space.
Now you can send mails in your own language !!!

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org


Re: API to parse dtd

Posted by S Uma <su...@india.hp.com>.
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 <su...@india.hp.com> 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
> > >
> > > Never forget your past ,for you should
> > > Never repeat your mistakes .
> > > ----------------------------------------
> > > http://mail.indiainfo.com
> > > First you had 10MB of free mail space.
> > > Now you can send mails in your own language !!!
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
> > > For additional commands, e-mail: xerces-j-user-help@xml.apache.org
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
> > For additional commands, e-mail: xerces-j-user-help@xml.apache.org
> >
>
> Never forget your past ,for you should
> Never repeat your mistakes .
> ----------------------------------------
> http://mail.indiainfo.com
> First you had 10MB of free mail space.
> Now you can send mails in your own language !!!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-j-user-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org


Re: API to parse dtd

Posted by DK <dk...@indiainfo.com>.
On Mon, 09 Apr 2001 12:02:55 +0530
 S Uma <su...@india.hp.com> 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
> >
> > Never forget your past ,for you should
> > Never repeat your mistakes .
> > ----------------------------------------
> > http://mail.indiainfo.com
> > First you had 10MB of free mail space.
> > Now you can send mails in your own language !!!
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
> > For additional commands, e-mail: xerces-j-user-help@xml.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-j-user-help@xml.apache.org
> 



Never forget your past ,for you should
Never repeat your mistakes .
----------------------------------------
http://mail.indiainfo.com
First you had 10MB of free mail space.
Now you can send mails in your own language !!!

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org