Re: xsltApplyStylesheetUser() removes DTD from doc

Nick Wellnhofer <[email protected]> Fri, 12 Jun 2020 13:31:31 +0200
Newsgroups gmane.comp.gnome.lib.xslt
Message-ID <[email protected]>
On 12/06/2020 12:32, Christoph M. Becker wrote:
> Could someone please clarify whether the current behavior is intentional?

It's probably intentional. I agree that the input document should be left 
untouched but in this case, the modification doesn't look too problematic. 
There are other situations [1] where libxslt makes more destructive changes to 
the input document.

Nick

[1] https://gitlab.gnome.org/GNOME/libxslt/-/issues/14