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
Last revision Both sides next revision
xml_script [2011/04/22 22:31]
hermann [Overview]
xml_script [2012/09/12 20:37]
admin
Line 1: Line 1:
-====== ​XML Script ======+====== ​EGOML Script ======
  
 ===== Overview ===== ===== Overview =====
  
-Any model can be saved as a XML document. The resulting file uses the extension "​.xml"​.+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 XML 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:
  
-<file xml apply-edge-detection-convolution.xml>+<file xml apply-edge-detection-convolution.egoml>
 <?xml version="​1.0"​ standalone="​yes"​ ?>  <?xml version="​1.0"​ standalone="​yes"​ ?> 
 <​script>​ <​script>​
Line 61: Line 61:
  
 <note tip> <note tip>
-Using the XML format, it is possible ​to write incomplete ​script ​having functors whose input and output ports are neither bound nor edited. This allows saving ​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>​
  
 ===== Reference ===== ===== Reference =====
  
-The XML document ​is written according to the following DTD ((A good introduction to the DTD description syntax can be found at http://​skew.org/​xml/​tutorial.)):​+The EGOML file is a XML document written according to the following DTD ((A good introduction to the DTD description syntax can be found at http://​skew.org/​xml/​tutorial.)):​
  
 <code dtd> <code dtd>