Notes                               for more details  dataset reference
Unless you are dealing with static data, embedding data in the source code of an application is usually not a good idea. Keeping data separate from the source code of the application is generally a better approach. In this example, the src attribute of the <dataset> component is used to obtain data from an external XML document (phonebook.xml).