ex-code.io language reference
xcode scripting language is an extension of html. xcode constructs are defined as html comment tags.
Also refer to xcode expressions reference
sql
executes an SQL query and iterates through the rows populating the results as variables
<!--SQL:sql_query-->
xcode
<!--/SQL-->
alternative
<!--?sql_query-->
xcode
<!--/?-->
if
evaluates expression and executes xcode if true, else executes else xcode (optional)
<!--IF:expression-->
xcode
[<!--ELSE-->
xcode]
<!--ENDIF-->
alternative
<!--IF:expression-->
xcode
[<!--ELSE-->
xcode]
<!--/IF-->
while
while expression evaluates to true executes xcode and repeats
<!--WHILE:expression-->
xcode
<!--ENDWHILE-->
alternative
<!--WHILE:expression-->
xcode
<!--/WHILE-->
value
outputs the result of expression converting applicable characters to html entities
<!--VALUE:expression-->
alternative
<!--#expression-->
html
outputs the result of expression directly as html
<!--HTML:expression-->
alternative
<!--~expression-->
call
calls url and executes the result as xcode and outputs it
<!--CALL:url-->
alternative
<!--+url-->
page
executes page specified in query and outputs the result
<!--PAGE:query-->
alternative
<!--@query-->
let
evaluates expression and stores the result in variable
<!--LET:variable:expression-->
error
stops execution of xcode script with error
<!--ERROR:error-->
return
stops execution of xcode script without error
<!--RETURN-->
Matthew