O'Reilly logo

Enterprise Curl by Paul Sheehan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

MakeHandler

Earlier in Chapter 4, we discussed the SAX parsing process and saw how a specific implementation of the DefaultHandler was required for each XML message being processed by the VMS Motors application. The MakeHandler class provides this functionality for the makelist.xml message.

Before we see how to implement the XML parsing methods within MakeHandler, we need to consider the XML format that is being returned from the server-side process. This is because the code developed has a direct correlation to the XML file, specifically the tag names that the data is captured for. For the VMS Motors application, the server-side component returns an XML document, as shown in Figure 14-10.

If you followed the installation instructions described ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required