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
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 11. XML and E4X > Modifying XML

11.3. Modifying XML

Of course, you are not limited to defining XML literals and querying them. E4X also defines operators and methods for modifying existing data by adding, removing, and updating values.

11.3.1. Inserting Nodes

For the following examples, let's update the movie list by adding the data for another movie.


  

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