Home > Articles > Web Services > XML

Like this article? We recommend

Like this article? We recommend

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:

  • TransformationApp.java
  • NodeDataReader.java
  • LegacyNMSData1.txt

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.

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.