Hi All,
I have requirement to retrieve minimum expiry date from configurable XML. below is sample XML.

I wrote below Xpath statements to retrieve minimum LMEXPI value.
1. --> min(//Subdocument/Lines/Line/Custom/LMEXPI[.!='']/number(concat(substring(.,0,5),substring(.,6,2),substring(.,9,2))))

when I apply above xpath, word plug-in gives below error message

Thank you
Priyantha