Indeed! And I guess it’s always possible to use some external XML (de)serializer to make things that load/saves or look like the native Renoise formats. Still thinking it’s a pity, since doc:load_from(xml) and doc:save_as(xml) is “almost there”! (I think the support for attributes is the only thing missing)
Funny thing regarding this… patterntrack data in .xrns use , while note data in clipboard-buffer (selection) still pads empty lines with . The latter format is thereby more compatible with what the Document API can load and handle.