The SelectDistinctValues function offers the possibility to return only one value from duplicate values.
SelectDistinctValues('X-Path to value')
SelectDistinctValues('//SG_9/LIN/DG_C212/@DE_7140')
SelectDistinctValues('//SG_9/LIN/DG_C212/@DE_7140')/Positions/@Value