Chapter 15. Working with XML

This chapter covers:

  • XML fundamentals

  • XML-related components and ActionScript classes

  • Binding to XML data

  • Using E4X to work with XML

In terms of adoption, XML has achieved a level of success that rivals that of HTML. But HTML’s presence has been primarily on the client side of internet-based applications, whereas XML is now ubiquitous in nearly every aspect of computing.

With its MXML language based on XML, Flex is no stranger to the format. In this chapter, we’ll demonstrate Flex’s robust XML support, from its ability to use XML as a source of data, to how you can use Flex to directly manipulate XML code.

XML primer

If you’re knowledgeable about the workings of XML, you can skip to the next section; but for those of you ...

Get Flex 3 in Action 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.