Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Often when you work with XML, you’re using data that’s being retrieved from an external source. Even when you need only a local data source, however, it’s almost always easier to work with an external XML document because it’s easier to edit the XML as you project evolves.
We’ll use the LoadURL class developed in Chapter 13 to load data for our XML navigation system at the end of this chapter, but right now we’d like to stress the basic syntax of loading XML. The code in this section can be found in the load_xml.fla source file.