[EMAIL PROTECTED] wrote: > > The DOM spec currently does not define any API for getting to this > information. This is to be dealt with incrementally in the next two spec > levels, AFAIK. So, for now, you cannot get this information from the DOM. > We'll add that functionality as it becomes defined, first as experimental > level stuff and finally the real thing as these new spec levels become > recommendations.
What Dean's talking about here is the XML declaration. The answer to the orginal question about getDocType() is indeed that it's not currently implemented in Xerces-C. It always returns null. It's on our TODO list. -- Arnaud Le Hors - IBM Cupertino, XML Technology Group