How to save a complex data structure's content to xml

I use RemObject Service Builder to define a complex data structure, with quite a few properties. Is there an existing way to save the value of those properties and load them back later? Or I have to manually add some code?

Thank you.

I’m sorry, but I don’t understand question.
Service Builder (i.e. SB) works with .RODL files that have xml structure so any intermediate state can be saved without any problem.

Note: If you launched SB from IDE, saving of RODL under a new name is disabled and all changes will be saved into project RODL.

Thank you. I meant, I had defined a complex data type, e.g. Class_A using Service
Builder. Class_A has several properties that need to be assigned values during run
time.

Is there any existing method can be used to save these values and load
such values later?

Wuping

This functionality isn’t provided by Service Builder, but you can manually edit .RODL and add default value manually like

<Element Name="z_Currency" DataType="Currency">
  <CustomAttributes>               
    <Default Value="-1.67" /> 
  </CustomAttributes>
</Element>