O'Reilly logo

Foundation XML and E4X for Flash and Flex by Sas Jacobs

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

Chapter 2. GENERATING XML CONTENT

Before you can start working with XML content in Flash and Flex applications, you'll need to create the XML documents that you want to use. These can be stand-alone physical XML files or content from a database. Remember that an XML document may simply be a stream of information generated electronically.

The easiest way to create XML content is to save a text file with an .xml extension. You can also use a web server to create either a physical XML document or a stream of XML information from a database. You can even generate the content from existing data in another software package such as Microsoft Office.

In this chapter, I'll cover all of these possibilities. I'll show you how to write your own XML content ...

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