the OP is already solved, but on a related topic: as documented, XML SET OPTIONS only applies to newly created elements. https://doc.4d.com/4Dv17/4D/17.4/XML-SET-OPTIONS.301-4882274.en.html
so you might ask, what about existing XML documents? --- until v12, there was a trick to use the deprecated "indentation" parameter before export: https://doc.4d.com/4Dv17/4D/17.4/DOM-SET-XML-DECLARATION.301-4882217.en.html# today, it's not so easy to "minify" an XML (which is essentially what this amounts to, since whitespaces between tags are considered formatting and not part of data) I could not find a way to do it in native 4D, so here goes: https://github.com/miyako/4d-plugin-xml-minify/releases --- by the way, if you had a document like <a><b>value</b></a> the spaces may seem unimportant. <a>\n \t<b>value</b>\n </a>\n would just be a pretty print version of the same thing. --- but you have a problem once you have something like <a>some <b>values</b> here</a> it might have an impact on the semantics if arbitrary whitespaces between tags were added, removed or replaced. <a> some <b>values</b> here </a> this kind of structure is not so common in regular XML, but very common in SVG or XHTML. ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

