Re: name of DTD file actually used

Peter Flynn <[email protected]> Thu, 20 May 2004 22:55:42 +0100
Newsgroups gmane.emacs.psgml.user
Organization Silmaril Consultants
Message-ID <[email protected]>
On Thu, 2004-05-20 at 21:31, [email protected] wrote:
> Hi,
> 
> for a long time I've been wanting to write a function that finds the
> DTD file pertaining to the sgml file I am editing. Such as
> "sgml-find-dtd-file". I have, however not been able to find a variable
> that holds the name of the file psgml's entity manager has worked out
> must contain the DTD to use.
> 
> Come to think of it, a DTD is not necessarily contained in one file;
> it might be spread over several ones or even be contained in the
> internal subset. However, it should still be possible to work out the
> name of any file(s) that contain the document type definition or parts
> of it.
> 
> Any suggestions?

Use a catalog?

///Peter



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click