Page 1 of 1

Need XML DOM

Posted: Thu Mar 16, 2006 4:09 pm
by alex.barylski
Edit: I should note that I need only read only and I want it light light weight :)

A while back I found a very trivial DOM class (actually I think it was a single function) which did nothing but return an multi-dimensional array of all HTML elements and each had child arrays if attributes were supplied, etc...

Anyways, I want that little function back :(

I have searched hi and dry for this, but oculd only find larger PHP implementations...

Like:

http://phpdomxml.webtweakers.com/docs/examples.php
And
http://www.engageinteractive.com/mambo/ ... emid=25279

Both are more than I need I just a simple function which I can pass an XML file to and have it return a simple array...

I don't want to work with any native PHP functions, etc...unless they do exactly as I specified above :)

Anyone know of a function which does this, hopefully the one I refer too???

Thanks :)