====== Max ====== The function Max() takes an X-path expression as value and returns the largest result of the expression as value. \\ The [[en:transformation:mappings:funktionen:numerisch:min|Min function]] serves as a counterpart to this. {{:images:sign_warning.png?nolink|}}**Advice** The transferred values are interpreted and compared as numerical values.\\ If this is not possible, the values are compared as a < z (a < A < z < Z). ===== Syntax ===== Max(XPATH-Query) ===== Sample ===== In this example, we pass all EANs of the Max function within an ORDER. \\ And get the largest EAN back through the function call. Max(//SG_25/LIN/DG_C212/@DE_7140)