News Feed
Sections




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

DevShed:
Working with Attributes and CDATA Sections with the DOM XML Extension
March 05, 2008 @ 18:29:00

DevShed has posted a new tutorial today that continues their series looking at XML handling with PHP. This time it's a focus on attributes in a CDATA section with DOM.

Since the DOM XML library comes equipped with many other methods that can be useful for adding custom attributes to the existing nodes of a given XML document, and creating new CDATA sections, among other things.

They start with a review of the DOM functionality to get you reacquainted. From there they move off into the createAttribute function and its use in the creation of CDATA elements in your XML.

0 comments voice your opinion now!
dom extension tutorial createelement cdata section


blog comments powered by Disqus

Similar Posts

PHPBuilder.com: Using SPL Iterators in PHP to Interact with Different Data Types

Dan Scott's Blog: Creating a MARC record from scratch in PHP using File_MARC

Kristina Chodorow's Blog: Writing a PHP Extension (Four Part Series)

Daniel Krook's Blog: Migrating PHP applications to DB2

phpRiot.com: Implementing a WebDAV filesystem with PHP and SabreDAV


Community Events

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


laravel5 list opinion extension voicesoftheelephpant php7 library example podcast introduction laravel release series version security interview framework community language api

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