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 _______________________________________________ xslt mailing list, project page http://xmlsoft.org/XSLT/ xslt@gnome.org https://mail.gnome.org/mailman/listinfo/xslt