On Fri Oct 25 21:18:34 2024 +0000, Alexandre Julliard wrote:
The function is marked as deprecated in recent versions, so presumably we are supposed to use something else?
The function sets a global variable, and that has a comment to use `xmlSaveSetIndentString`.
Problem 1: This function doesn't exist in the current version
Problem 2: We need to set in in `domdoc.c:doparse`, it is later used inside `xmlsave.c:xmlNodeDumpOutput`, but this function makes its own save context, and we can't configure that one...
In short, I currently don't see a better way than setting it globally with the deprecated function.