mapeditor/tiled
Do you want to work on this issue?
You can request for a bounty in order to promote it!
Scripting API for parsing XML documents #2665
bjorn posted onGitHub
ECMAScript 7, the current version of JavaScript supported by Tiled, does not appear to provide an API for parsing XML files. For convenience, a custom API should be added for this.
Potentially we can port over the Xml Service from Qbs, but I'd rather see wrappers around QXmlStreamReader
and QXmlStreamWriter
, which should be generally faster and move convenient and avoids introducing a dependency on QtXml.