News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Builder.au:
Dynamic XML document construction with the PHP DOM
January 24, 2007 @ 18:32:00

On Builder.au, there's a new tutorial talking about the dynamic construction of an XML document using the DOM functionality already built into most PHP installs out there.

They work through the different steps:

  • Creating the Doctype declaration
  • Adding elements and text nodes
  • Adding attributes
  • Adding CDATA blocks and processing instructions
  • Saving the results
For each on the list, there's code and explanation to help you create the document. By the end, you'll have a document that gives you all the information you'd want to know about someone's pizza order.

0 comments voice your opinion now!
dynamic xml construction dom function tutorial dynamic xml construction dom function tutorial


blog comments powered by Disqus

Similar Posts

ParanoidFerret.com: Using Flex, PHP, and JSON to Modify a MySQL Database

The Bakery - Rails-Like Validation, Elistic, Textile, and a CakePHP Release

NetTuts.com: Refactoring Legacy Code: Part 1 - The Golden Master

PHPWomen.org: Add values to a symfony form in between save() and serialization to the database

Markus Wolff's Blog: Extending Zend_Controller_Action


Community Events

Don't see your event here?
Let us know!


example laravel release voicesoftheelephpant framework opinion interview version introduction application community library api performance php7 extension series symfony2 podcast conference

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework