IN THIS CHAPTER
Advanced array sorting
Chapter 55, "Application: Outline-Style Table of Contents," ends with an example of an interactive outliner whose data arrives from an external XML file, a feature supported by modern browsers. The application described in this chapter picks up from there.
You will see a lot of code in this chapter. The code is presented here as a way to demonstrate the potential for rich data handling. At the same time, the code may provide ideas for server-side processing of XML data being output to the client.
Understanding the data is a good place to start in describing this application. The scenario is a small American company (despite its ...