Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 5. First-class functions in acti... > Representing documents with XML

5.2. Representing documents with XML

XML is a text-based format that uses tags to structure data. XML is certainly no silver bullet when it comes to persisting data; it’s generally verbose and, for complex data structures, inefficient. On the other hand, XML is a text-based format. If something goes wrong with your program, it’s easier to see what’s going wrong than with a binary format.

An XML document will look something like the following segment:


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial