News Feed
Sections
News Archive


Community Events
php|tek 2008 PHP Conference



feed this:

MSBWare.com:
XML to Array
0 comments :: posted Monday April 14, 2008 @ 10:23:11
voice your opinion now!

Michael has posted a simple script today that takes in XML data and spits back out an array on the other side:

The function takes the specified XML data (which must be in valid XML format) and converts into an array. Any attributes in the XML elements are dropped an only the element values are placed in the array.

The code uses a combination of XPath, DOM, and regular expressions to parse the given XML content.

tagged with: xml translate array xpath dom regularexpression data element


Community News:
GotAPI.com - A Gateway to Manuals
0 comments :: posted Wednesday April 05, 2006 @ 15:59:48
voice your opinion now!
When hard a work coding, browser windows with manual entries have a nasty habit of multiplying (at least when I work). So, neededless to say, I was happy to find GotAPI.com, a site that compiles the reference materials for several different web development languages into one handy browser window.

The page, by default, searches HTML resources, including the W3C specs and Microsoft's MSDN materials. Those and the w3schools website show up often in the other languages available - CSS, XSL, XML, and XPath. The PHP manual that's referenced is just pulled from the PHP.net site, but it's still nice to have it all right there.

When searching, a "suggeted terms" box pops up to help you narrow down the search faster. It searches not only the beginnings of the words for your term, but it looks inside them as well, matching anywhere.

It would be nice if the site had some kind of bookmarking system built into it - then you could keep a reference and just flip back and forth between the pages with a single click of the mouse.

tagged with: php manuals compile xsl xpath html css ant java php manuals compile xsl xpath html css ant java


code database releases mysql PHP5 package security book PEAR developer job framework release cakephp zendframework application pecl zend ajax conference

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