Location XML

Before we look at how LocationHandler parses through the location-list.xml file, extracting the relevant data and presenting it in a usable format to the calling process, it is important to understand the structure of the XML message. Figure 20-5 shows the data required.

Figure 20-5. location-list.xml file listing.
<?xml version='1.0'?><ENT-CURL.STOCK><LOCATION>
Bournemouth</LOCATION><LOCATION>Newcastle</LOCATION>
<LOCATION>Springfield</LOCATION></ENT-CURL.STOCK>

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

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.