The business analyst told business rule for this has changed. Now they want me to first check (count) to see if there are more than one NcicCode (in the VehicleMakeMapping looku
If there are more than one NcicCode in the VehicleMakeMapping lookup document, then just use the first NcicCode as the output.
To simplify the question, let us have:
XML
not important not important
VehicleMakeMapping.xml
ABCA ABC abc ABCB ABC abc abc ABCC ABC abc abc abc
XSLT 2.0
Result
ABCA