FlexSim command cmdsavetree(somenode, "path.fsx") saves a tree in XML format. All code is saved as text data on some of the tree nodes. FlexSim uses predefined character entities like <, >, & to escape characters '<', '>', '&' which are very common in Flexscript code. FlexSim doesn't support other human-readable formats to save code.
The code sections written to XML and escaped this way are much less readable than code written verbatim. Also, it is inconvenient to edit XML files by hand or simply searching for some expressions in such files.
An alternative solution is to use XML CDATA sections for longer text and code nodes. In this case only "]]>" sequence has to be escaped, and special characters can be used verbatim.

Above: FSX with CDATA, code is easily readable and can be edited by hand.
Below: FSX as saved by FlexSim.
Currently (FlexSim 2017 LTS and FlexSim 2018 Beta):
The proposal is:
Can't find what you're looking for? Ask the community or share your knowledge.