Using the Article Source Code
I used the Java SAX API for this article. The entire source code consists of just the following three files:
To run the program, copy the three files above and compile the two Java files. Then execute the following command from the source code folder into which you copy the files:
java TransformationApp LegacyNMSData1.txt
I tested the code with JDK 1.4.2_04.