Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
xml_script [2012/09/06 22:40]
admin
xml_script [2013/07/30 23:59] (current)
admin [Reference]
Line 3: Line 3:
 ===== Overview ===== ===== Overview =====
  
-Any model can be saved as a EGOML document. The resulting file uses the extension "​.egoml"​((The old extension "​.xml"​ still supported for backward compatibility.))+Any model can be saved as a EGOML document. The resulting file uses the extension "​.egoml"​((The old extension "​.xml"​ still supported for backward compatibility.)).
  
 Below, it is an example of a EGOML script used to load a map, calculate an image convolution and save the result: Below, it is an example of a EGOML script used to load a map, calculate an image convolution and save the result:
Line 61: Line 61:
  
 <note tip> <note tip>
-EGOML/XML format used to be the only format that could accept incomplete scripts, scripts having functors whose input and output ports are neither bound nor edited. However, since version ​1.9, it is possible to save and load an incomplete [[EGO Script]] as well. This feature is useful to save models in the first development stages. ​+EGOML/XML format used to be the only format that could accept incomplete scripts, scripts having functors whose input and output ports are neither bound nor edited. However, since version ​2.0, it is possible to save and load an incomplete [[EGO Script]] as well. This feature is useful to save models in the first development stages. ​
 </​note>​ </​note>​
  
Line 104: Line 104:
 ]> ]>
 </​code>​ </​code>​
- 
-The resulting document is not formated using tabs, spaces or newlines. Those characters are written only when they are inside the definition content, not in the content boundaries. 
  
 The property keys are always fully expanded. There is no property alias as in the [[EGO Script]] format. The property keys are always fully expanded. There is no property alias as in the [[EGO Script]] format.