>>>>> "david" == david n bertoni <[EMAIL PROTECTED]> writes:
david> Hi Colin,
david> Transforming to a DOM is not really part of the standard,
david> so there are more than a few things that won't work. I
david> don't know how we could implement this, since the DOM APIs
david> don't support adding a DOCTYPE node. I think you would
Hm. I am managing to do this by calling document.insertBefore (dtd,
document.documentElement).
This works witrh xerces-c (whether or not it is a legitimate think, I
don't know).
david> have to do this when you create the document that you pass
david> to the FormatterToXercesDOM instance. For more
david> information, see DOMImplementation::createDocumentType()
david> and DOMImplementation::createDocument()
Well, since the doctype depends upon what is is the transform
(i.e. coded on xsl:output), this is not possible (unless you
specifically know which transform you are using, and I don't).
--
Colin Paul Adams
Preston Lancashire