
UltraXML is run completely by macros. These macros can be combined in a script. Scripts can be executed using the script command "trun". Scripts can be nested scripts thereby executing scripts from within another script. Based on this script and macro engine UltraXML is an enormously flexible programm allowing the user to build complex processes.
Variables
Variables can be defined an easy way. Definition:
^variable=Content
Defined variables are kept in memory during an UltraXML session.
Example
Using UltraXML server a seperate XML-file has to be created. Path and file name has to be passed on as values. The following code lines demonstrate how to do it:
^path=c:\temp
^filename=test
txmlx "^path\^filename.xml","elementname",1,0," ",2,0,1^
Based on the variables "path" and "filename" the xml tag is exported to the file in the defined folder:
c:\temp\test.xml
Using the script command txmlx the content of the element "elementname" in UltraXML is exported and written in the external file c:\temp\test.xml. |