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 Milind Gadre <mi...@ecplatforms.com> on 2001/04/19 05:35:41 UTC

Re: Checking which DTD is being used.

Callista, I just replied to a previous posting with a sample entity
resolver. According to my limited knowledge, an entity resolver is the
only way to trap the dtd information.

Regards...

Milind Gadre
ecPlatforms, Inc
901 Mariner's Island Blvd, Suite 565
San Mateo, CA 94404
C: 510-919-0596
F: 815-352-0779
milind@ecplatforms.com

----- Original Message -----
From: "callista" <ca...@simecity.com>
To: <xe...@xml.apache.org>
Sent: Wednesday, April 18, 2001 8:42 PM
Subject: Checking which DTD is being used.


> Hi,
>
> Is it possible to find out which dtd an xml is using? That is, how can
I
> get "filename.dtd" off the <!DOCTYPE meta SYSTEM "filename.dtd"> line?
Is
> there a class/method to do this?
>
> Basically, I'm writing a parser to parse xml documents that uses
different
> dtds and I'd like to identify which dtd is being used before parsing.
>
> Thanks.
>
> Callista
>
> ---------------------------------------------------------------------
> 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