Save tree xml to string or to file

Is there a way to store the tree data to a string or to a file in the xml format in the standard version?

the _xw.js file isn’t in the standard version.

XML serialization is available in PRO version only.