I have a data set of MT940 message
C 180731 LKR 50000,00
I want this to displayed as with a XSD. Can someone help me with XSD.
C180731LKR50000,00
I have a data set of MT940 message
C 180731 LKR 50000,00
I want this to displayed as with a XSD. Can someone help me with XSD.
C180731LKR50000,00
The following is tested with Apache Daffodil 2.3.0:
Parsing your example data results in the following XML:
Note that the amount does not have any decimals because the fraction part was 00 and Daffodil outputs canonicalized numbers. If the amount was something like "50000,99" instead, it would output as
<Amount>50000.99</Amount>.