<expression> <script> <language>http://midpoint.evolveum.com/xml/ns/public/expression/language#Groovy</language> <code> 'Mr. ' + user.getFamilyName(); </code> </script> </expression>
Meaning of individual script expression fields is as follows:
Language URL. Specifies the language in which the expression is written. If not specified it defaults to Groovy language.
TODO See below for more details. If not specified and allowed by the expression usage it defaults to relative mode.
Expression code. Depends on the script language used for the expression. This is usually a string, but it also may be an XML. Please note that the code is embedded in the XML therefore proper XML escaping is required
See Expression page for more generic information about the use of variables in expressions.
Absolute and Relative Script Expressions