I am working on an API Browser. Rather than transform the whole XML structure on the client-side, I am using PHP to get and return only the parts I need. I am hoping this is a speed improvement.
What I have so far is: http://www.commadot.com/jquery/experiments/api/xmlReader.txt (code) http://www.commadot.com/jquery/experiments/api/xmlReader.php (results) I will have to make more nested foreach loops to get grandchildren and great-grandchildren. This seems like a horrible pattern. Is there a better way on the server-side to do this? Any code samples or demos would be awesome. :) jQuery is so easy. PHP is not. (for me) Glen