EmployeeHandler

Before we see how to implement the specific XML parsing methods in the EmployeeHandler class, we need to understand the format of the employee list XML message it supports. This is because, as we have seen elsewhere, each XML message requires a corresponding SAXHandler sub-class to handle the message's unique elements.

In the VMS Motors application, the employee list.xml process returns an XML document that is partially shown in Figure 12-7.

If you followed the installation instructions described in Chapter 2, this file should have been created and saved as c:\enterprise curl\xml\employee list.xml. If you chose instead to store XML documents on your Web server, then this file should have been saved in a directory called XML off ...

Get Enterprise Curl now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.