XSL filter ignores "omit-xml-declaration" setting in stylesheets #403
The problem is the filter invokes Nokogiri in a way that returns an object representing the transformed XML. When the filter requests a string representation from the object a new XML declaration is naturally generated.
The solution is to change the filter so it fetches the raw output of the transformation, which will make omitted elements stay omitted.
This is another small fix I've made locally and I'll submit a pull request in a moment.
The text was updated successfully, but these errors were encountered: