Re: [xml] DTD location help



On Mon, Oct 15, 2001 at 12:01:26AM -0400, tlewis mindspring com wrote:
I am packaging my application up for release & distribution, and I am
struggling with how to handle my DTDs.  Different *nix distributions have
different policies on where DTDs and other system components should go,
and so I am hesitant to specify the location as an absolute "file://"
path.  Rather, I would like to state the DTD and have it be discovered
under to the local file arrangement.

If I am not mistaken, this is the purpose of catalogs.  I've never used
a catalog, I am unclear on the differences between SGML and XML catalogs,
and I am unfamiliar with the libxml interfaces for handling these issues.
Could anyone point me to some documentation or example code, or provide
some tips, that could clarify this issue for me?  I don't need a catalog
primer as much as I need info/examples on the libxml-specific portions,
but anything would be appreciated.


Daniel has written a helpful introduction to libxml's catalog support
here:

http://www.xmlsoft.org/catalog.html

It includes both a discussion of the xmlcatalog tool, and the API to
use libxml's catalog support in your app.

Cheers,
-- 
John Fleck
jfleck inkstain net (h), http://www.inkstain.net/fleck/
"Any man left on the Rio Grande is the King of the World as far as I know."
 - Becker and Fagen, 1973



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]