Xss:e - xkp/Doc GitHub Wiki

The simplest tag, xss:e evaluates an expression and outputs the string representing the result. Expression can include references to object properties as long as the context can resolve them. The context of course refers to the available symbols, which include parameters, local variables and the global scope.

Parameters:

  • v or value: the expression to evaluate

Sample Usage:

Evaluate property: <xss:e v="prop.prop_name"/>
Evaluate code: <xss:e v="mthd.code.generate()"/>