XML ENHANCED SUPPORT FOR PHP
PHP as XML support inbuilt, SimpleXML. All XML functions are now standardized on the libxml2 library and are fully implemented W3C standards compliant. SimpleXML is quite possibly the most valuable addition to PHP in recent years, providing a traversable and better structure to work on XML documents and xml functions,Xml allowing you to simply change values in the structure and write the file a few lines of code. The XML functionality that has been available through PHP in the past has been quite rudimentary and required a fair amount of programming work to do, so it is not uncommon to see PHP 4 applications using XML without ever touching the xml functions.
PHP earlier versions also offers a replacement extension for DOMXL with the DOM extension. This extension allows you to work on your XML files using the DOM object model and is superior to SimpleXML particularly when you are not certain what document format to expect with your application. While DOM is more powerful, SimpleXML is much quicker to implement and easier to get a handle on for beginner programmers. Both of the extensions are robust and well thought out, So you will be using a powerful extension that is light years beyond what was available in PHP 4 extension.
DOM
DOM (Document Object Model) is for accessing XML document trees, implemented W3C standards compliant In PHP 4, the domxml extension was used for doing just that. The disadvantage with the domxml extension was that it didn't follow the standard method names. It also had memory leak problem form a long time.
The new DOM extension is completely based on the W3C standard, including method and property names. If you're good at DOM from other languages, for example in language like JavaScript, it will be much easier for you to code similar functionality in PHP.
Domxml-based scripts won't work anymore. The API is quite different in PHP 5. But if you used the "almost W3C compatible" method names available in PHP 4.3, porting isn't such a big deal. You only need to change the loading and saving methods, and remove the underscore in the method names (the DOM standard uses studlyCaps). Other adjustments here and there may be necessary, but the main logic can stay the same.
CATT Ltd has very successful in working with XML with PHP using DOM Objects, CAT Technologies Ltd development unit works on enhanced concept of xml document, xml function with support of Php , CATT Ltd as posted article for provides brief description of PHP with xml for developer working on php & xml. CATT Ltd implementing this concept in our development process for providing best performance of software application/web application to satisfy end user needs and make end user use the application in more effective way than Never before.
Posted By: D.Kishore Kumar