The creation or saving of XML data stored in files on disk is the final topic for this chapter. Using the skills that you have already acquired in this chapter or by consulting other chapters in this book, you know how to process World Wide Web forms or query MySQL databases using PHP. In most cases, the act of creating XML data from variable data that you have already acquired using PHP is as simple as taking one of two steps:
Functions and Properties for Storing XML Objects as FilesIf you have altered data stored in XML objects managed by PHP extensions, such as the DOM or SimpleXML extensions, and want to write these altered XML trees to text-based XML files, you'll need to use one of the functions or properties shown in Table 9.11 to perform the conversion or output.
|