DOMi is a PHP library that uses the facade pattern to blend the DOMDocument, DOMXPath, and XSLTProcessor into a single object. It also adds additional functionality for converting PHP data types of any complexity into an XML tree and for rendering this XML tree with an XSL stylesheet.

The project was started due to a lack of a good library for working with XML within PHP. At the time, my company was using XML and XSL for our intranet system. In order to more easily work with XML, DOMi was created to simplify the process of converting an object to an array.

DOMi has been indefinitely shelved since my company has shifted away from XML and there was no longer a need to maintain the library. It also fulfilled its objectives sufficiently and there was no desire to widen the scope of the project.



<p>Trackback from <a href=""></a>.</p><p>DOMi | Steve Phillips</p>